[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#879270: thunderbird: FTBFS on ppc64 due to incorrect endianness selection



Source: icedove
Version: 1:52.4.0-1
Severity: important
User: debian-powerpc@lists.debian.org
Usertags: ppc64

Hello!

thunderbird fails to build from source on ppc64 [1]:

js/src> Creating config.status

Creating config.status
Reticulating splines...
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/configure.py", line 32, in <module>
    sys.exit(main(sys.argv))
  File "/<<PKGBUILDDIR>>/configure.py", line 29, in main
    return config_status(config)
  File "/<<PKGBUILDDIR>>/mozilla/configure.py", line 102, in config_status
    return config_status(args=[], **encode(sanitized_config, encoding))
  File "/<<PKGBUILDDIR>>/mozilla/python/mozbuild/mozbuild/config_status.py", line 147, in config_status
    definitions = list(definitions)
  File "/<<PKGBUILDDIR>>/mozilla/python/mozbuild/mozbuild/frontend/emitter.py", line 182, in emit
    objs = list(self.emit_from_context(out))
  File "/<<PKGBUILDDIR>>/mozilla/python/mozbuild/mozbuild/frontend/emitter.py", line 1006, in emit_from_context
    % (var, path), context)
mozbuild.frontend.reader.SandboxValidationError: 
==============================
ERROR PROCESSING MOZBUILD FILE
==============================

The error occurred while processing the following file or one of the files it includes:

    /<<PKGBUILDDIR>>/mozilla/config/external/icu/data/moz.build

The error occurred when validating the result of the execution. The reported error is:

    File listed in FINAL_TARGET_FILES does not exist: /<<PKGBUILDDIR>>/mozilla/config/external/icu/data/icudt58l.dat


*** Fix above errors and then restart with\
               "make -f client.mk build"
client.mk:360: recipe for target 'configure' failed
make[2]: *** [configure] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:82: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 2

This is because the change in [2] to simplify the endianness selection
assumes that all powerpc64 are little-endian which is not the case.

powerpc64le-*-* is little-endian, powerc64-*-*, however, is still big-endian.

Thus, to fix this issue, you will need to re-add:

+            powerpc64-unknown-linux-gnu)
+                dnl ppc64
+                ICU_DATA_FILE="icudt${version}b.dat"
+                ;;

Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=thunderbird&arch=ppc64&ver=1%3A52.4.0-1&stamp=1508528099&raw=0
> [2] https://anonscm.debian.org/cgit/pkg-mozilla/thunderbird.git/commit/?id=da3c5cc07fe96546b9b24e0511aa1fecc860954f

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: