pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52594: firefox 55.0.3 fails to build on i386



>Number:         52594
>Category:       pkg
>Synopsis:       firefox 55.0.3 fails to build on i386
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 04 18:35:00 +0000 2017
>Originator:     scole_mail
>Release:        pkgsrc-2017Q3
>Organization:
none
>Environment:
NetBSD dstar 7.1.0_PATCH NetBSD 7.1.0_PATCH (GENERIC) #0: Fri Sep  8 20:45:12 PDT 2017  scole@dstar:/home/scole/nbsd/cvs/7_0/obj/sys/arch/i386/compile/GENERIC i386
>Description:
firefox from pkgsrc-2017Q3 55.0.3 is failing to build for me with an undefined reference to __stack_chk_fail_local


[snipped ...]
rm -f libmozsqlite3.so
/usr/pkgsrc/www/firefox/work/build/_virtualenv/bin/python /usr/pkgsrc/www/firefox/work/firefox-55.0.3/config/expandlibs_exec.py --uselist --  /usr/pkgsrc/www/firefox/work/.cwrapper/bin/c++ -std=gnu++11 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -march=i586 -mstackrealign -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtt
 i -fno-exceptions -fno-math-errno -pthread -pipe -I/usr/pkg/include  -O2 -fomit-frame-pointer  -fPIC -DPIC -shared -Wl,-soname,libmozsqlite3.so -o libmozsqlite3.so     -lpthread -Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/lib -L/usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.4 -Wl,-R/usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.4 -L/usr/pkg/gcc49/lib -Wl,-R/usr/pkg/gcc49/lib -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib/ffmpeg3 -Wl,-R/usr/pkg/lib/ffmpeg3 -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id   -Wl,-rpath-link,/usr/pkgsrc/www/firefox/work/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib   ../../../db/sqlite3/src/libdb_sqlite3_src.a   -Wl,--version-script,libmozsqlite3.so.symbols    
Executing: ../../../../.cwrapper/bin/c++ -std=gnu++11 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -march=i586 -mstackrealign -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -I/usr/pkg/include -O2 -fomit-frame-pointer -fPIC -DPIC -shared -Wl,-soname,libmozsqlite3.so -o libm
 ozsqlite3.so -lpthread -Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/lib -L/usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.4 -Wl,-R/usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.4 -L/usr/pkg/gcc49/lib -Wl,-R/usr/pkg/gcc49/lib -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib/ffmpeg3 -Wl,-R/usr/pkg/lib/ffmpeg3 -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -Wl,-rpath-link,/usr/pkgsrc/www/firefox/work/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib /usr/pkgsrc/www/firefox/work/build/config/external/sqlite/tmpwWcwaj.list -Wl,--version-script,libmozsqlite3.so.symbols
/usr/pkgsrc/www/firefox/work/build/config/external/sqlite/tmpwWcwaj.list:
    INPUT("../../../db/sqlite3/src/sqlite3.o")

../../../db/sqlite3/src/sqlite3.o: In function `putVarint64':
sqlite3.c:(.text+0x140f): undefined reference to `__stack_chk_fail_local'
../../../db/sqlite3/src/sqlite3.o: In function `remove_diacritic':
sqlite3.c:(.text+0x7a67): undefined reference to `__stack_chk_fail_local'
../../../db/sqlite3/src/sqlite3.o: In function `readMasterJournal':
sqlite3.c:(.text+0xad0d): undefined reference to `__stack_chk_fail_local'
../../../db/sqlite3/src/sqlite3.o: In function `vdbePmaWriteVarint':
sqlite3.c:(.text+0xe5c5): undefined reference to `__stack_chk_fail_local'
../../../db/sqlite3/src/sqlite3.o: In function `readJournalHdr':
sqlite3.c:(.text+0xfcd1): undefined reference to `__stack_chk_fail_local'
../../../db/sqlite3/src/sqlite3.o:sqlite3.c:(.text+0x1777d): more undefined references to `__stack_chk_fail_local' follow
/usr/bin/ld: libmozsqlite3.so: hidden symbol `__stack_chk_fail_local' isn't defined
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/usr/pkgsrc/www/firefox/work/firefox-55.0.3/config/rules.mk:783: recipe for target 'libmozsqlite3.so' failed
gmake[3]: *** [libmozsqlite3.so] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/www/firefox/work/build/config/external/sqlite'
/usr/pkgsrc/www/firefox/work/firefox-55.0.3/config/recurse.mk:73: recipe for target 'config/external/sqlite/target' failed
gmake[2]: *** [config/external/sqlite/target] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
/usr/pkgsrc/www/firefox/work/firefox-55.0.3/config/recurse.mk:32: recipe for target 'compile' failed
gmake[1]: *** [compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
/usr/pkgsrc/www/firefox/work/firefox-55.0.3/config/rules.mk:519: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /usr/pkgsrc/www/firefox
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/www/firefox




>How-To-Repeat:
cd pkgsrc/www/firefox && bmake install
>Fix:



Home | Main Index | Thread Index | Old Index