pkgsrc-Users archive

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

Firefox76 build problem on 9.0 stable (was Re: Problem building firefox 75 on 9-stable (i386 and amd64))



On 06/05/2020 09:05, Patrick Welche wrote:
On Wed, May 06, 2020 at 07:54:42AM +0200, oskar%fessel.org@localhost wrote:
Hej,

Am 03.05.2020 um 15:07 schrieb Mike Pumford <mpumford%mudcovered.org.uk@localhost>:


Getting the following build error building firefox on 9-stable. No package options set for anything and its a totally clean chroot build environment.

This exact same thing happens also on 9.99.59 from 3 days ago whith pkgsrc from star wars day.

FWIW I had a successful build with yesterday's -current/amd64 & pkgsrc.
Working webgl!!
(Probably since maya's 3rd May commit - first time webgl works for me...)

Now getting similar issue building firefox76. C++ code is failing to find standard c++ headers. As with previous build this is in a clean and up to date 9.0-stable chroot environment. So all package dependencies are fully up to date. I trust the chroot as it build firefox75 fine 2 weeks ago so something in pkgsrc has changed to break it.

Here's an example error from firefox:

/comp/obj/pkgsrc/www/firefox/work/.cwrapper/bin/c++ -std=gnu++17 -o Unified_cpp_js_src_jit13.o -c -I/comp/obj/pkgsrc/www/firefox/work/build/dist/system_wrappers -include /comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DWASM_SUPPORTS_HUGE_MEMORY -DJS_HAS_CTYPES -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/js/src/jit -I/comp/obj/pkgsrc/www/firefox/work/build/js/src/jit -I/comp/obj/pkgsrc/www/firefox/work/build/js/src -I/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/js/src -I/comp/obj/pkgsrc/www/firefox/work/build/dist/include -I/usr/pkg/include/nspr -fPIC -DPIC -DMOZILLA_CLIENT -include /comp/obj/pkgsrc/www/firefox/work/build/js/src/js-confdefs.h -Qunused-arguments -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/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4 -I/usr/X11R7/include/freetype2 -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-noexcept-type -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -O2 -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -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/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4 -I/usr/X11R7/include/freetype2 -Dunix -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/usr/pkg/include -O2 -fomit-frame-pointer -funwind-tables -I/usr/pkg/include -fno-strict-aliasing -Werror=format -Wno-shadow -fexperimental-new-pass-manager -MD -MP -MF .deps/Unified_cpp_js_src_jit13.o.pp Unified_cpp_js_src_jit13.cpp
js/src/jit/Unified_cpp_js_src_jit14.o
 error generated.
gmake[3]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/rules.mk:752: Unified_cpp_js_src_jit0.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
In file included from Unified_cpp_js_src_jit13.cpp:2:
In file included from /comp/obj/pkgsrc/www/firefox/work/firefox-76.0/js/src/jit/x86-shared/Architecture-x86-shared.cpp:7: In file included from /comp/obj/pkgsrc/www/firefox/work/firefox-76.0/js/src/jit/x86-shared/Architecture-x86-shared.h:14: In file included from /comp/obj/pkgsrc/www/firefox/work/build/dist/include/mozilla/MathAlgorithms.h:12: In file included from /comp/obj/pkgsrc/www/firefox/work/build/dist/include/mozilla/Assertions.h:418: /comp/obj/pkgsrc/www/firefox/work/build/dist/system_wrappers/type_traits:3:15: fatal error: 'type_traits' file not found
#include_next <type_traits>
              ^~~~~~~~~~~~~
1 error generated.
gmake[3]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/rules.mk:752: Unified_cpp_js_src_jit1.o] Error 1
1 error generated.
gmake[3]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/rules.mk:752: Unified_cpp_js_src_wasm1.o] Error 1
1 error generated.
gmake[3]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/rules.mk:752: Unified_cpp_js_src_jit12.o] Error 1
1 error generated.
gmake[3]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/rules.mk:752: Unified_cpp_js_src_jit10.o] Error 1
1 error generated.
gmake[3]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/rules.mk:752: Unified_cpp_js_src_jit11.o] Error 1
1 error generated.
gmake[3]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/rules.mk:752: Unified_cpp_js_src_wasm2.o] Error 1 gmake[3]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build/js/src/wasm' gmake[2]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/recurse.mk:74: js/src/wasm/target-objects] Error 2
1 error generated.
gmake[3]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/rules.mk:752: Unified_cpp_js_src_jit13.o] Error 1 gmake[3]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build/js/src/jit' gmake[2]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/recurse.mk:74: js/src/jit/target-objects] Error 2
gmake[2]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build'
gmake[1]: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/recurse.mk:34: compile] Error 2
gmake[1]: Leaving directory '/comp/obj/pkgsrc/www/firefox/work/build'
gmake: *** [/comp/obj/pkgsrc/www/firefox/work/firefox-76.0/config/rules.mk:394: all] Error 2
*** Error code 2


Home | Main Index | Thread Index | Old Index