Bug#653051: FTBFS with libmozjs 9.0

Michael Biebl biebl at debian.org
Fri Dec 23 05:44:59 UTC 2011


Source: gjs
Version: 1.30.0-2
Severity: serious

gjs fails to build after the latest update of iceweasel from 8.0 → 9.0.
I tried updating gjs (patch attached) but I don't know enough of mozjs
and gjs to fix the remaining failure:

# make -k
make  all-am
make[1]: Entering directory `/home/michael/debian/build-area/gjs-1.30.0'
\
#	source='gi/boxed.c' object='libgjs_la-boxed.lo' libtool=yes 
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -pthread -DXP_UNIX -DJS_THREADSAFE -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nspr -I/usr/include/gobject-introspection-1.0 -I/usr/include/mozjs   -DGJS_TOP_SRCDIR=\".\" -DGJS_JS_DIR=\"/usr/share/gjs-1.0\" -DGJS_NATIVE_DIR=\"/usr/lib/gjs-1.0\" -DPKGLIBDIR=\"/usr/lib/gjs\" -I./gi -DGJS_COMPILATION   -Wnested-externs -Wmissing-prototypes -Wsign-compare -Wcast-align -Wpointer-arith -Wmissing-declarations -Wchar-subscripts -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c -o libgjs_la-boxed.lo `test -f 'gi/boxed.c' || echo './'`gi/boxed.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -pthread -DXP_UNIX -DJS_THREADSAFE -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nspr -I/usr/include/gobject-introspection-1.0 -I/usr/include/mozjs -DGJS_TOP_SRCDIR=\".\" -DGJS_JS_DIR=\"/usr/share/gjs-1.0\" -DGJS_NATIVE_DIR=\"/usr/lib/gjs-1.0\" -DPKGLIBDIR=\"/usr/lib/gjs\" -I./gi -DGJS_COMPILATION -Wnested-externs -Wmissing-prototypes -Wsign-compare -Wcast-align -Wpointer-arith -Wmissing-declarations -Wchar-subscripts -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c gi/boxed.c  -fPIC -DPIC -o .libs/libgjs_la-boxed.o
gi/boxed.c:65:1: error: initializer element is not constant
gi/boxed.c:65:1: error: (near initialization for 'unthreadsafe_template_for_constructor.parent_jsval')
gi/boxed.c: In function 'type_can_be_allocated_directly':
gi/boxed.c:1111:17: warning: enumeration value 'GI_INFO_TYPE_INVALID_0' not handled in switch [-Wswitch]
make[1]: *** [libgjs_la-boxed.lo] Error 1
make[1]: Target `all-am' not remade because of errors.
make[1]: Leaving directory `/home/michael/debian/build-area/gjs-1.30.0'
make: *** [all] Error 2


Mike, do you maybe have an idea how to fix this build failure?

Cheers,
Michael


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-mozjs-9.0-compat.patch
Type: text/x-diff
Size: 17845 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20111223/6ca27594/attachment-0001.patch>


More information about the pkg-gnome-maintainers mailing list