pkgsrc-Bugs archive

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

pkg/51401: pkgsrc-2016Q2/www/firefox does not build on NetBSD7.0.1/arm7hf (raspberrypi2)



>Number:         51401
>Category:       pkg
>Synopsis:       pkgsrc-2016Q2/www/firefox does not build on NetBSD7.0.1/arm7hf (raspberrypi2)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 09 10:40:00 +0000 2016
>Originator:     Raphael Langerhorst
>Release:        NetBSD7.0.1/arm7hf, pkgsrc-2016Q2 (
>Organization:
GRACETECH
>Environment:
NetBSD namuna 7.0.1 NetBSD 7.0.1 (RPI2.201605221355Z) evbarm
>Description:
I have bootstrapped the raspberrypi with the arm7hf image of NetBSD7.0.1,
downloaded pkgsrc-2016Q2 and built www/firefox (47) from source with default options.

Note that when building with MAKE_JOBS=4 (raspberrypi2 has 4 cores) the build is likely to break (gcc gets killed) due to insufficient memory(!), these huge files may take up to 400/500 MB of RAM during compilation (and rpi2 has 1GB "only"). I have not looked into the problem as I am not familiar with this package. The following output is with MAKE_JOBS= 1 and started from clean source.

If you need me to cooperate with test environment or to try something on this architecture, please feel free to contact me, in case you do not have this type of hardware available.

This build was running for something close to 20h before breaking,
and it was JUST the firefox package (dependencies were already installed).

The following output occurs:

/usr/pkgsrc/www/firefox/work/build/_virtualenv/bin/python /usr/pkgsrc/www/firefox/work/firefox-47.0/config/expandlibs_exec.py --uselist --  c++ -o plugin-container -DPNG_NO_ASSEMBLER_CODE -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 -Wwrite-strings -Wunreachable-code -Wno-invalid-offsetof -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -O2 -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 -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -O2 -fomit-frame-pointer  GMPLoader.o M
 ozillaRuntimeMain.o   -lpthread -Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/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 -L/usr/pkg/lib/pulseaudio -Wl,-R/usr/pkg/lib/pulseaudio -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id  -rdynamic -Wl,-rpath-link,/usr/pkgsrc/www/firefox/work/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib   ../../mozglue/build/libmozglue.a ../../memory/fallible/libfallible.a ../../config/external/nspr/libnspr.a -pie ../../toolkit/library/libxul.so   -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -pthread -Wl,--export-dynamic
Executing: c++ -o plugin-container -DPNG_NO_ASSEMBLER_CODE -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 -Wwrite-strings -Wunreachable-code -Wno-invalid-offsetof -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -O2 -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 -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -O2 -fomit-frame-pointer /usr/pkgsrc/www/firefox/work/build/ipc/app/tmpYCnaWW.list -lpthread -Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/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 -L/usr/pkg/lib/pulseaudio -Wl,-R/usr/pkg/lib/pulseaudio -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -rdynamic -Wl,-rpath-link,/usr/pkgsrc/www/firefox/work/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib -pie ../../toolkit/library/libxul.so -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -pthread -Wl,--export-dynamic
/usr/pkgsrc/www/firefox/work/build/ipc/app/tmpYCnaWW.list:
    INPUT("GMPLoader.o")
    INPUT("MozillaRuntimeMain.o")
    INPUT("../../mozglue/build/arm.o")
    INPUT("../../mozglue/build/dummy.o")
    INPUT("../../memory/mozalloc/Unified_cpp_memory_mozalloc0.o")
    INPUT("../../mozglue/misc/StackWalk.o")
    INPUT("../../mozglue/misc/TimeStamp.o")
    INPUT("../../mozglue/misc/TimeStamp_posix.o")
    INPUT("../../mfbt/Compression.o")
    INPUT("../../mfbt/Decimal.o")
    INPUT("../../mfbt/Unified_cpp_mfbt0.o")
    INPUT("../../memory/fallible/fallible.o")

../../toolkit/library/libxul.so: undefined reference to `nexttowardf'
gmake[3]: *** [/usr/pkgsrc/www/firefox/work/firefox-47.0/config/rules.mk:676: plugin-container] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/www/firefox/work/build/ipc/app'
gmake[2]: *** [/usr/pkgsrc/www/firefox/work/firefox-47.0/config/recurse.mk:71: ipc/app/target] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
gmake[1]: *** [/usr/pkgsrc/www/firefox/work/firefox-47.0/config/recurse.mk:33: compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
gmake: *** [/usr/pkgsrc/www/firefox/work/firefox-47.0/config/rules.mk:557: all] Error 2
*** Error code 2

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

Stop.
make: stopped in /usr/pkgsrc/www/firefox
    65330.33 real     56795.83 user      5697.29 sys
namuna# 

>How-To-Repeat:
cd /usr/pkgsrc/www/firefox && make package install clean
>Fix:


Home | Main Index | Thread Index | Old Index