Have a CI debug build of SpiderMonkey
As seen in #6 (closed)
It seems like it should have a debug build of SpiderMonkey
I created a docker image containing a debug build of SpiderMonkey.
- Built as usual with a
--enable-debug
. - Everything seems ok and I can see a:
checking whether SpiderMonkey was configured with --enable-debug... yes
But GJS build fails:
./.libs/libgjs.so: undefined reference to `JS::ConstUTF8CharsZ::validate(unsigned long)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1876: minijasmine] Error 1
make[1]: *** Waiting for unfinished jobs....
./.libs/libgjs.so: undefined reference to `JS::ConstUTF8CharsZ::validate(unsigned long)'
collect2: error: ld returned 1 exit status
g-ir-scanner: WarnLib: warning: 9 warnings suppressed (use --warn-all to see them)
make[1]: *** [Makefile:1849: gjs-console] Error 1
./.libs/libgjs.so: undefined reference to `JS::ConstUTF8CharsZ::validate(unsigned long)'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '[u'/bin/sh', u'./libtool', u'--mode=link', u'--tag=CC', u'--silent', 'gcc', u'-o', u'/builds/claudioandre/gjs/.cache/jhbuild/build/gjs/tmp-introspectRrFls9/GjsPrivate-1.0', u'-export-dynamic', '-g', '-O2', '-fPIC', '-DPIC', u'/builds/claudioandre/gjs/.cache/jhbuild/build/gjs/tmp-introspectRrFls9/GjsPrivate-1.0.o', '-L.', 'libgjs.la', u'-lgio-2.0', u'-lgobject-2.0', u'-Wl,--export-dynamic', u'-lgmodule-2.0', u'-pthread', u'-lglib-2.0', '-L/root/jhbuild/install/lib', '-Bsymbolic-functions', '-fPIC', '-DPIC']' returned non-zero exit status 1
make[1]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:160: GjsPrivate-1.0.gir] Error 1
make: *** [Makefile:1407: all] Error 2
*** Configuring gjs *** [1/1]
/root/jhbuild/checkout/gjs/autogen.sh --prefix /root/jhbuild/install --disable-Werror --enable-installed-tests --enable-compile-warnings=error --with-xvfb-tests
*** Building gjs *** [1/1]
make -s -j 5
*** Error during phase build of gjs: ########## Error running make -s -j 5 *** [1/1]
Edited by Ghost User