Source: mozjs60
Source-Version: 60.2.3-3
Severity: important
User: [email protected]
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

Reply via email to