Bug#888638: firefox: FTBFS on powerpc and ppc64: Error updating ICU data file
Mike Hommey
mh at glandium.org
Sun Jan 28 22:24:51 UTC 2018
On Sat, Jan 27, 2018 at 11:31:10PM -0500, Aaron M. Ucko wrote:
> Source: firefox
> Version: 58.0-1
> Severity: normal
> Tags: upstream
> User: debian-powerpc at lists.debian.org
> Usertags: powerpc ppc64
>
> Builds of firefox for powerpc and ppc64 (the only big-endian
> architectures rustc supports at present, and admittedly not release
> architectures) have been failing lately. As of 58.0-1, the
> (immediate) errors take the form
>
> cd build-browser && MOZCONFIG=mozconfig.icu ../mach python ../intl/icu_sources_data.py "/«PKGBUILDDIR»"
> New python executable in /«PKGBUILDDIR»/build-browser/_virtualenv/bin/python2.7
> Also creating executable in /«PKGBUILDDIR»/build-browser/_virtualenv/bin/python
> Installing setuptools, pip, wheel...done.
> WARNING: Python.h not found. Install Python development headers.
> Error processing command. Ignoring because optional. (optional:setup.py:third_party/python/psutil:build_ext:--inplace)
> Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
> Error running "make" in directory /tmp/icu-obj-aDwfA5
> See output in /tmp/icu-make84ZXyL
> Error updating ICU data file
> Updating ICU sources lists...
> Running ICU configure...
> Running ICU make...
> debian/rules:205: recipe for target 'stamps/configure-browser' failed
> make[1]: *** [stamps/configure-browser] Error 1
That's https://anonscm.debian.org/cgit/pkg-mozilla/iceweasel.git/commit/?id=59b10a894609e47228d8548a0265c1a9fd64f57e
Fixed in firefox-esr and in upstream firefox in version 59.
> When I tried to reproduce these errors on porter boxes for both
> architectures to see what they actually were, I ran into *different*
> errors:
>
> cd build-browser && MOZCONFIG=mozconfig.icu ../mach python ../intl/icu_sources_data.py "/home/ucko/firefox"
> Traceback (most recent call last):
> File "../mach", line 86, in <module>
> main(sys.argv[1:])
> File "../mach", line 78, in main
> mach = get_mach()
> File "../mach", line 68, in get_mach
> mach = check_and_get_mach(dir_path)
> File "../mach", line 42, in check_and_get_mach
> return load_mach(dir_path, mach_path)
> File "../mach", line 30, in load_mach
> return mach_bootstrap.bootstrap(dir_path)
> File "/home/ucko/firefox/build/mach_bootstrap.py", line 335, in bootstrap
> driver.load_commands_from_file(os.path.join(mozilla_dir, path))
> File "/home/ucko/firefox/python/mach/mach/main.py", line 267, in load_commands_from_file
> imp.load_source(module_name, path)
> File "/home/ucko/firefox/build/valgrind/mach_commands.py", line 16, in <module>
> from mozbuild.base import (
> File "/home/ucko/firefox/build/mach_bootstrap.py", line 364, in __call__
> module = self._original_import(name, globals, locals, fromlist, level)
> File "/home/ucko/firefox/python/mozbuild/mozbuild/base.py", line 16, in <module>
> from mach.mixin.process import ProcessExecutionMixin
> File "/home/ucko/firefox/build/mach_bootstrap.py", line 364, in __call__
> module = self._original_import(name, globals, locals, fromlist, level)
> File "/home/ucko/firefox/python/mach/mach/mixin/process.py", line 29, in <module>
> raise Exception('Could not detect environment shell!')
> Exception: Could not detect environment shell!
> debian/rules:205: recipe for target 'stamps/configure-browser' failed
This one is kind of a bummer, but is only because you don't have the
SHELL environment variable set.
Mike
More information about the pkg-mozilla-maintainers
mailing list