Bug#903483: mozjs52: FTBFS on m68k: not supported by build/moz.configure/init.configure

Simon McVittie smcv at debian.org
Tue Jul 10 15:50:48 BST 2018


Source: mozjs52
Version: 52.3.1-9
Severity: normal
Tags: ftbfs help
X-Debbugs-Cc: glaubitz at physik.fu-berlin.de

The merge request applied for #880693 doesn't seem to have covered
everything needed to build mozjs52 on m68k:

checking for a shell... /bin/sh
checking for host system type...
ERROR: Unknown CPU type: m68k

git grep suggests that this is coming from
build/moz.configure/init.configure, which presumably needs a change
similar to the one in debian/patches/sh4-support.patch.

The m68k buildd where that log came from seems to be using qemu or
something (or at least I assume that's how it can be running on an
amd64 kernel) so I'd prefer not to patch this without confirmation that
the resulting mozjs52 is at least minimally functional on a real m68k.

The main users of mozjs52 (other than the bundled copies in other Mozilla
projects) are gnome-shell and JS-based GNOME apps, but I can see that
running those on an m68k might not be feasible. Are you porting mozjs52
because a m68k user has a use for it, or just for the sake of having
it be ported? If you don't have a specific use of mozjs52 in mind,
installing libmozjs52-dev or gjs on m68k hardware and running
`js52 -e 'print("hello, world")'` or
`gjs-console -c 'print("hello, world")'`
are some examples of simple smoke-tests that would demonstrate it working.

Thanks,
    smcv



More information about the pkg-gnome-maintainers mailing list