[blfs-support] Building Firefox-38esr JS error

Paul Rogers paulgrogers at fastmail.fm
Sat Mar 12 21:28:20 PST 2016


This has been stopping me all day.  I've given it the old college try,
but I can't find signs it's anything I've done wrong in setting up the
environment.  Is this fixable, or do I just have to toss this and go
for a different version?  From the end of my log.make:


/usr/local/src/build/_virtualenv/bin/python
/usr/local/src/mozilla-esr38/config/expandlibs_exec.py --uselist --  c++
-o js  -Wall -Wsign-compare -Wtype-limits -Wno-invalid-offsetof
-Wcast-align -march=x86-64 -fno-rtti -fno-exceptions -fno-math-errno
-std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -g -freorder-blocks -O3
-fomit-frame-pointer  Unified_cpp_js_src_shell0.o   -lpthread 
-Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id   -rdynamic
-Wl,-rpath-link,../../../dist/bin
-Wl,-rpath-link,/usr/local/src/build/dist/lib  
../../../mozglue/build/libmozglue.a ../../../memory/build/libmemory.a
../../../memory/fallible/libfallible.a
../../../js/src/editline/libeditline.a ../../../js/src/libjs_static.a
-pie ../../../intl/icu/target/lib/libicui18n.so
../../../intl/icu/target/lib/libicuuc.so
../../../intl/icu/target/lib/libicudata.so  -lm -ldl 
-L/usr/local/lib/../lib64 -lffi -L/usr/local/lib -lplds4 -lplc4 -lnspr4
-lpthread -ldl -lz -lm  ink,/usr/local/lib ../../js/src/libmozjs.so
../../memory/mozalloc/libmozalloc.so
../../intl/icu/target/lib/libicui18n.so
../../intl/icu/target/lib/libicuuc.so
../../intl/icu/target/lib/libicudata.so -ldl -L/usr/local/lib -lcrmf
-lplds4 -lplc4 -lnspr4 -lpthread -ldl -lnss3 -lnssutil3 -lsmime3 -lssl3
-lsoftokn3 -lsqlite3 -lz -lfreetype -lfontconfig -lrt -lcairo -lXext
-lXrender -lX11 -lXdamage -lXfixes -lXcomposite -lpng -levent -lvpx -lm
-lpixman-1 -lasound -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
-L/usr/local/lib -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0
-lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lpangoft2-1.0
-lpangocairo-1.0 -lpango-1.0 -lXt
-lgthread-2.0security/sandbox/linux/glue/SandboxCrash.o")
    INPUT("../../security/certverifier/Unified_cpp_certverifier0.o")
    INPUT("../../security/pkix/pkixbuild.o")
    INPUT("../../security/pkix/pkixcert.o")

<pages of more INPUT files deleted>

    INPUT("../../gfx/skia/Unified_cpp_gfx_skia8.o")
    INPUT("../../gfx/skia/Unified_cpp_gfx_skia9.o")
    INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

../../netwerk/base/Unified_cpp_netwerk_base0.o: In function
`PACProxyAlert':
/usr/local/src/mozilla-esr38/netwerk/base/ProxyAutoConfig.cpp:471:
undefined reference to `JS::CallArgs::requireAtLeast(JSContext*, char
const*, unsigned int)'
../../netwerk/base/Unified_cpp_netwerk_base0.o: In function
`PACDnsResolve':
/usr/local/src/mozilla-esr38/netwerk/base/ProxyAutoConfig.cpp:419:
undefined reference to `JS::CallArgs::requireAtLeast(JSContext*, char
const*, unsigned int)'
/usr/bin/ld: libxul.so: hidden symbol
`_ZN2JS8CallArgs14requireAtLeastEP9JSContextPKcj' isn't defined
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/usr/local/src/mozilla-esr38/config/rules.mk:812: recipe for target
'libxul.so' failed
make[3]: *** [libxul.so] Error 1
make[3]: Leaving directory '/usr/local/src/build/toolkit/library'
/usr/local/src/mozilla-esr38/config/recurse.mk:74: recipe for target
'toolkit/library/target' failed
make[2]: *** [toolkit/library/target] Error 2
make[2]: Leaving directory '/usr/local/src/build'
/usr/local/src/mozilla-esr38/config/recurse.mk:36: recipe for target
'compile' failed
make[1]: *** [compile] Error 2
make[1]: Leaving directory '/usr/local/src/build'
/usr/local/src/mozilla-esr38/config/rules.mk:541: recipe for target
'default' failed
make: *** [default] Error 2


p.s. grepping for that undefined symbol finds lots of matches in
binary files.  It's gotta be getting used elsewhere.
-- 
Paul Rogers
paulgrogers at fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL
:-)

-- 
http://www.fastmail.com - Access your email from home and the web



More information about the blfs-support mailing list