Bug#929671: mozjs60: Broken (cross-)building support

Guillem Jover guillem at debian.org
Tue May 28 11:56:52 BST 2019


Source: mozjs60
Source-Version: 60.2.3-3
Severity: important
User: debian-cross at lists.debian.org
Usertags: ftcbfs

Hi!

The cross-compilation support in this package seems to be broken. The
debian/rules file contains some confused logic:

  * DEB_BUILD_ARCH is not defined, so it will not build properly when
    using debian/rules directly, but see next point…
  * All DEB_BUILD_ARCH checks should be on DEB_HOST_ARCH or perhaps
    even DEB_HOST_ARCH_CPU.
  * All findstring:s should be using filter instead.
  * According to js/src/configure.in:96 the arguments to configure
    should be --target=$(DEB_HOST_GNU_TYPE) and
    --host=$(DEB_BUILD_GNU_TYPE).

I've not actually cross-built the package, just noticed these from
code-staring.

Thanks,
Guillem



More information about the pkg-gnome-maintainers mailing list