Firefox 68.1.0 does not compile, because an warning/info output is put into autoconf.mk at line 288. emerge -pqv '=www-client/firefox-68.1.0::gentoo' [ebuild U ] www-client/firefox-68.1.0 [60.8.0] USE="custom-cflags custom-optimization dbus gmp-autoupdate screenshot startup-notification system-av1%* system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite system-webp%* wayland%* -bindist -clang -debug -eme-free -geckodriver -hardened -hwaccel -jack -lto% (-neon) -pgo% -pulseaudio (-selinux) -test -wifi" CPU_FLAGS_X86="avx2%*" L10N="de -ach -af -an -ar -ast -az -be% -bg -bn% -br -bs -ca -cak -cs -cy -da -dsb -el -en-CA% -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia% -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my% -nb -nl -nn -oc% -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur% -uz -vi -xh -zh-CN -zh-TW (-as%) (-bn-BD%) (-bn-IN%) (-en-ZA%) (-mai%) (-ml%) (-or%)"
Created attachment 591112 [details] emerge --info
Created attachment 591114 [details] Autoconf
For some reason I can not upload my build.log. Neither as uncompressed build.log nor as compressed build.log.gz nor as build.txt... It is only 72 KiB big (12 KiB compressed), but apache always says that the request timed out... But here are the last lines: 0:28.72 js/src> updating cache /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/./config.cache 0:28.72 js/src> creating ./config.data 0:28.76 js/src> Creating config.status 0:28.86 Creating config.status 0:29.22 Reticulating splines... 0:31.17 0:01.99 File already read. Skipping: /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/gfx/angle/targets/angle_common/moz.build 0:43.14 Finished reading 1766 moz.build files in 3.81s 0:43.14 Read 14 gyp files in parallel contributing 0.00s to total wall time 0:43.14 Processed into 8502 build config descriptors in 3.64s 0:43.14 RecursiveMake backend executed in 5.40s 0:43.14 2959 total backend files; 2959 created; 0 updated; 0 unchanged; 0 deleted; 23 -> 1096 Makefile 0:43.14 FasterMake backend executed in 0.46s 0:43.14 13 total backend files; 13 created; 0 updated; 0 unchanged; 0 deleted 0:43.14 Total wall time: 13.95s; CPU time: 13.79s; Efficiency: 99%; Untracked: 0.64s Configure complete! Be sure to run |mach build| to pick up any changes >>> Source configured. >>> Compiling source in /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0 ... /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py:266: UserWarning: psutil failed to run: not sure how to interpret line ' 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n' warnings.warn('psutil failed to run: %s' % e) 0:00.93 Clobber not needed. 0:00.93 Adding make options from /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/.mozconfig XARGS=/usr/bin/xargs MOZ_OBJDIR=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff OBJDIR=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff FOUND_MOZCONFIG=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/.mozconfig export FOUND_MOZCONFIG 0:00.94 /usr/bin/gmake -f client.mk 0:00.95 /usr/bin/gmake -j8 -O -C /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff 0:00.95 gmake[1]: Entering directory '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff' 0:00.95 config/autoconf.mk:288: *** missing separator. Stop. 0:00.95 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff' 0:00.96 gmake: *** [client.mk:125: build] Error 2 0:00.96 0 compiler warnings present. * ERROR: www-client/firefox-68.1.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 5298: Called die * The specific snippet of code: * GDK_BACKEND=x11 MOZ_MAKE_FLAGS="${MAKEOPTS} -O" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ${_virtx} ./mach build --verbose || die * * If you need support, post the output of `emerge --info '=www-client/firefox-68.1.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/firefox-68.1.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-client/firefox-68.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-68.1.0/temp/environment'. * Working directory: '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0' * S: '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0'
You somehow managed to destroy your PATH value, > OTOOL = : > PATH = [33;01m*[0m sys-devel/clang:9 is missing! Cannot use LLVM slot 9 ... > [32;01m*[0m Will use LLVM slot 8! > /usr/lib/llvm/8/bin:/var/tmp/portage/www-client/firefox-68.1.0/temp/python3.6/bin:/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/lib/llvm/8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/cuda/bin:/var/tmp/portage/www-client/firefox-68.1.0/homedir/.mozbuild/clang/bin:/var/tmp/portage/www-client/firefox-68.1.0/homedir/.mozbuild/cbindgen:/var/tmp/portage/www-client/firefox-68.1.0/homedir/.mozbuild/nasm:/var/tmp/portage/www-client/firefox-68.1.0/homedir/.cargo/bin > PDF_SURFACE_FEATURE = #define CAIRO_HAS_PDF_SURFACE 1 > PERL = /usr/bin/perl
That's what's in the autoconf.mk The PATH variable itself is OK: # echo $PATH /usr/lib/llvm/8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/games/bin:/opt/cuda/bin
Yeah, but I don't know how you managed to end up in this situation. I just tried to reproduce: I mask clang/llvm >=9. > * You are enabling official branding. You may not redistribute this build > * to any users on your network or the internet. Doing so puts yourself into > * a legal problem with Mozilla Foundation. > * You can disable it by emerging firefox _with_ the bindist USE-flag. > * sys-devel/clang:9 is missing! Cannot use LLVM slot 9 ... > * Will use LLVM slot 8! > >>> Unpacking source... > >>> Unpacking firefox-68.1.0esr.source.tar.xz to /var/tmp/portage/www-client/firefox-68.1.0/work > >>> Unpacking firefox-68.0-patches-11.tar.xz to /var/tmp/portage/www-client/firefox-68.1.0/work > >>> Source unpacked in /var/tmp/portage/www-client/firefox-68.1.0/work > [...] but everything is working for me.
I've had the same issue, while masking llvm-9. After unmasking llvm-9, firefox doesn't compile still, albeit with different messages.
(In reply to Amel Hodzic from comment #7) > I've had the same issue, while masking llvm-9. After unmasking llvm-9, > firefox doesn't compile still, albeit with different messages. I just found the same thing. After unmasking llvm-9 and clang-9, mail-client/thunderbird-60.8.0 and www-client/firefox-68.1.0 still both fail here: * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 5338: Called die * The specific snippet of code: * MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ./mach build --verbose || die Firefox failed here: 12:59.69 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/js/src/frontend' 13:00.27 gmake[4]: Entering directory '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/js/src/frontend' 13:00.27 js/src/frontend/Unified_cpp_js_src_frontend5.o 13:00.27 /usr/bin/x86_64-pc-linux-gnu-g++ -o Unified_cpp_js_src_frontend5.o -c -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DWASM_HUGE_MEMORY -DJS_HAS_CTYPES -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/js/src/frontend -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/js/src/frontend -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/js/src -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/js/src -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/js/src/js-confdefs.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-error=multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-security -Wformat-overflow=2 -Wno-noexcept-type -fno-sized-deallocation -march=amdfam10 -pipe -flifetime-dse=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -freorder-blocks -O3 -fomit-frame-pointer -funwind-tables -fno-strict-aliasing -Werror=format -Wno-shadow -MD -MP -MF .deps/Unified_cpp_js_src_frontend5.o.pp -fdiagnostics-color /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/js/src/frontend/Unified_cpp_js_src_frontend5.cpp 13:00.27 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/js/src/frontend' 13:00.28 gmake[2]: *** [/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/config/recurse.mk:34: compile] Error 2 13:00.28 gmake[1]: *** [/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/config/rules.mk:413: default] Error 2 13:00.28 gmake: *** [client.mk:125: build] Error 2 13:00.28 0 compiler warnings present. * ERROR: www-client/firefox-68.1.0::gentoo failed (compile phase): Thunderbird failed here: 21:40.85 gmake[4]: Entering directory '/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/tbird/security/certverifier' 21:40.85 mkdir -p '.deps/' 21:40.86 /usr/bin/x86_64-pc-linux-gnu-g++ -o Unified_cpp_certverifier0.o -c -I/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/tbird/dist/stl_wrappers -I/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/tbird/dist/system_wrappers -include /var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 '-DDLL_PREFIX="lib"' '-DDLL_SUFFIX=".so"' -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/security/certverifier -I/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/tbird/security/certverifier -I/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/security/manager/ssl -I/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/security/pkix/include -I/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/security/pkix/lib -I/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/tbird/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/tbird/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -march=amdfam10 -pipe -flifetime-dse=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -freorder-blocks -O2 -fomit-frame-pointer -Wall -Wextra -Wunreachable-code -Wno-unused-parameter -MD -MP -MF .deps/Unified_cpp_certverifier0.o.pp -fdiagnostics-color /var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/tbird/security/certverifier/Unified_cpp_certverifier0.cpp 21:42.03 error: build failed 21:42.03 gmake[4]: *** [/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/config/rules.mk:979: force-cargo-library-build] Error 101 21:42.03 gmake[4]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/tbird/toolkit/library/rust' 21:42.03 gmake[3]: *** [/var/tmp/portage/mail-client/thunderbird-60.8.0/work/thunderbird-60.8.0/config/recurse.mk:73: toolkit/library/rust/target] Error 2 21:42.03 gmake[3]: *** Waiting for unfinished jobs....
(In reply to Gernot Kohlhaas from comment #0) > Firefox 68.1.0 does not compile, because an warning/info output is put into > autoconf.mk at line 288. > > emerge -pqv '=www-client/firefox-68.1.0::gentoo' > [ebuild U ] www-client/firefox-68.1.0 [60.8.0] USE="custom-cflags > custom-optimization dbus gmp-autoupdate screenshot startup-notification > system-av1%* system-harfbuzz system-icu system-jpeg system-libevent > system-libvpx system-sqlite system-webp%* wayland%* -bindist -clang -debug > -eme-free -geckodriver -hardened -hwaccel -jack -lto% (-neon) -pgo% > -pulseaudio (-selinux) -test -wifi" CPU_FLAGS_X86="avx2%*" L10N="de -ach -af > -an -ar -ast -az -be% -bg -bn% -br -bs -ca -cak -cs -cy -da -dsb -el -en-CA% > -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd > -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia% -id -is -it -ja -ka -kab -kk -km > -kn -ko -lij -lt -lv -mk -mr -ms -my% -nb -nl -nn -oc% -pa -pl -pt-BR -pt-PT > -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur% -uz -vi > -xh -zh-CN -zh-TW (-as%) (-bn-BD%) (-bn-IN%) (-en-ZA%) (-mai%) (-ml%) (-or%)" Drop the wayland useflag and test please, that is only flag you have set that I currently do not test with. If we do narrow it down to wayland I know where to start working.
# emerge -pqv '=www-client/firefox-68.1.0::gentoo' [ebuild U ] www-client/firefox-68.1.0 [60.8.0] USE="custom-cflags custom-optimization dbus gmp-autoupdate screenshot startup-notification system-av1%* system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite system-webp%* -bindist -clang -debug -eme-free -geckodriver -hardened -hwaccel -jack -lto% (-neon) -pgo% -pulseaudio (-selinux) -test -wayland% -wifi" CPU_FLAGS_X86="avx2%*" L10N="de -ach -af -an -ar -ast -az -be% -bg -bn% -br -bs -ca -cak -cs -cy -da -dsb -el -en-CA% -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia% -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my% -nb -nl -nn -oc% -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur% -uz -vi -xh -zh-CN -zh-TW (-as%) (-bn-BD%) (-bn-IN%) (-en-ZA%) (-mai%) (-ml%) (-or%)" [...] 0:18.22 js/src> updating cache /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/./config.cache 0:18.22 js/src> creating ./config.data 0:18.25 js/src> Creating config.status 0:18.30 Creating config.status 0:18.52 Reticulating splines... 0:19.52 0:01.04 File already read. Skipping: /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/gfx/angle/targets/angle_common/moz.build 0:25.80 Finished reading 1766 moz.build files in 1.90s 0:25.80 Read 14 gyp files in parallel contributing 0.00s to total wall time 0:25.80 Processed into 8502 build config descriptors in 1.98s 0:25.80 RecursiveMake backend executed in 2.83s 0:25.80 2959 total backend files; 2959 created; 0 updated; 0 unchanged; 0 deleted; 23 -> 1096 Makefile 0:25.80 FasterMake backend executed in 0.26s 0:25.80 13 total backend files; 13 created; 0 updated; 0 unchanged; 0 deleted 0:25.80 Total wall time: 7.30s; CPU time: 7.29s; Efficiency: 100%; Untracked: 0.33s Configure complete! Be sure to run |mach build| to pick up any changes >>> Source configured. >>> Compiling source in /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0 ... /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py:266: UserWarning: psutil failed to run: not sure how to interpret line ' 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n' warnings.warn('psutil failed to run: %s' % e) 0:00.46 Clobber not needed. 0:00.46 Adding make options from /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/.mozconfig XARGS=/usr/bin/xargs MOZ_OBJDIR=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff OBJDIR=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff FOUND_MOZCONFIG=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/.mozconfig export FOUND_MOZCONFIG 0:00.46 /usr/bin/gmake -f client.mk 0:00.47 /usr/bin/gmake -j8 -O -C /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff 0:00.47 gmake[1]: Entering directory '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff' 0:00.47 config/autoconf.mk:288: *** missing separator. Stop. 0:00.47 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff' 0:00.47 gmake: *** [client.mk:125: build] Error 2 0:00.48 0 compiler warnings present. * ERROR: www-client/firefox-68.1.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 5298: Called die * The specific snippet of code: * GDK_BACKEND=x11 MOZ_MAKE_FLAGS="${MAKEOPTS} -O" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ${_virtx} ./mach build --verbose || die * * If you need support, post the output of `emerge --info '=www-client/firefox-68.1.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/firefox-68.1.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-client/firefox-68.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-68.1.0/temp/environment'. * Working directory: '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0' * S: '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0' >>> Failed to emerge www-client/firefox-68.1.0, Log file: >>> '/var/tmp/portage/www-client/firefox-68.1.0/temp/build.log' * Messages for package www-client/firefox-68.1.0: * You are enabling official branding. You may not redistribute this build * to any users on your network or the internet. Doing so puts yourself into * a legal problem with Mozilla Foundation. * You can disable it by emerging firefox _with_ the bindist USE-flag. [...] I once dropped ALL USE flags, but it didn't help, either.
I wonder if this is specific to AMD users somehow or if/when the AVX2 cpu flag is set.
Actually, it might be related to the versions of dev-lang/rust. As far as I can tell, I was able to build =www-client/firefox-68.1.0 while using =dev-lang/rust-1.36.0. Here's the error I get after upgrading to =dev-lang/rust-1.38.0: warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!^O 18213 8 3:24.76^O = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868>^O 18214 8 3:25.66^O gmake[4]: Entering directory '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/ipc/ipdl'^O 18215 8 3:25.66^O ipc/ipdl/UnifiedProtocols10.o^O 18216 8 3:25.66^O /usr/bin/x86_64-pc-linux-gnu-g++ -o UnifiedProtocols10.o -c -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/dist 18216 /system_wrappers -include /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMP 18216 L_LIBXUL -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ipc/ipdl -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/ipc/ipdl -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/ipc 18216 /ipdl/_ipdlheaders -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ipc/glue -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefo 18216 x-68.1.0/ff/dist/include -I/usr/include/nspr -I/usr/include/nss -I/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/dist/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/www-clien 18216 t/firefox-68.1.0/work/firefox-68.1.0/ff/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunr 18216 eachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno 18216 -error=free-nonheap-object -Wno-error=multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -march=native -pipe -flifetime-dse=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE= 18216 2 -fstack-protector-strong -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -freorder-blocks -O2 -fomit-frame-pointer -funwind-tables -I/var/tmp/porta 18216 ge/www-client/firefox-68.1.0/work/firefox-68.1.0/widget/gtk/compat-gtk3 -pthread -I/usr/include/gtk-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64 18216 /dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/u 18216 sr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/lib64/libffi-3.3_rc0/include -I/us 18216 r/include/glib-2.0 -I/usr/lib64/glib-2.0/include -MD -MP -MF .deps/UnifiedProtocols10.o.pp -fdiagnostics-color /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/ipc/ipdl/UnifiedProtocols10.cpp^O 18217 8 3:25.66^O In file included from /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/ipc/ipdl/_ipdlheaders/mozilla/dom/PContentParent.h:26,^O 18218 8 3:25.66^O from /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/ipc/ipdl/PClientOpenWindowOp.cpp:7,^O 18219 8 3:25.66^O from /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/ipc/ipdl/UnifiedProtocols10.cpp:38:^O 18220 8 3:25.66^O /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/dist/include/gfxFontUtils.h: In constructor 'SharedBitSet::SharedBitSet(const gfxSparseBitSet&)':^O 18221 8 3:25.66^O /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/dist/include/gfxFontUtils.h:463:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'SharedBitSet 18221 ::Block' {aka 'struct gfxSparseBitSet::Block'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess]^O 18222 8 3:25.66^O std::memcpy(&blocks[mBlockCount], &srcBlock, sizeof(Block));^O 18223 8 3:25.67^O ^^O 18224 8 3:25.67^O /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/dist/include/gfxFontUtils.h:46:10: note: 'SharedBitSet::Block' {aka 'struct gfxSparseBitSet::Block'} declared here^O 18225 8 3:25.67^O struct Block {^O 18226 8 3:25.67^O ^~~~~^O 18227 8 3:25.67^O gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/ipc/ipdl'^O 18228 8 3:25.68^O error[E0506]: cannot assign to `self.input.cached_token` because it is borrowed^O 18229 8 3:25.68^O --> /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/third_party/rust/cssparser/src/parser.rs:584:17^O 18230 8 3:25.68^O |^O 18231 8 3:25.68^O 559 | pub fn next_including_whitespace_and_comments(&mut self) -> Result<&Token<'i>, BasicParseError<'i>> {^O 18232 8 3:25.68^O | - let's call the lifetime of this reference `'1`^O 18233 8 3:25.68^O ...^O 18234 8 3:25.69^O 572 | Some(ref cached_token)^O 18235 8 3:25.69^O | ---------------- borrow of `self.input.cached_token` occurs here^O 18236 8 3:25.69^O ...^O 18237 8 3:25.69^O 584 | self.input.cached_token = Some(CachedToken {^O 18238 8 3:25.69^O | ^^^^^^^^^^^^^^^^^^^^^^^ assignment to borrowed `self.input.cached_token` occurs here^O 18239 8 3:25.69^O ...^O 18240 8 3:25.69^O 596 | Ok(token)^O 18241 8 3:25.69^O | --------- returning this value requires that `self.input.cached_token.0` is borrowed for `'1` 8 3:26.05^O Compiling plane-split v0.13.8^O 8 3:26.05^O Running `CARGO_PKG_REPOSITORY='https://github.com/servo/plane-split' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_AUTHORS='Dzmitry Malyshau <kvark@mozilla.com>' CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_HOMEPAGE= LD_LIBRARY_PATH='/var/tm p/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/release/deps:/usr/lib' CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/third_party/rust/plane-split CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=0.13. 8 CARGO_PKG_VERSION_MINOR=13 CARGO_PKG_DESCRIPTION='Plane splitting' CARGO=/usr/bin/cargo-1.38.0 CARGO_PKG_NAME=plane-split /usr/bin/rustc --crate-name plane_split /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/third_party/ rust/plane-split/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C codegen-units=1 -C metadata=a819f664de0f1390 -C extra-filename=-a819f 664de0f1390 --out-dir /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/build/ cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/release/deps --extern binary _space_partition=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps/libbinary_space_partition-60f06e2747f1e88d.rmeta --extern euclid=/var/tmp/portage/www-client/firefox-68.1.0/work/firef ox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps/libeuclid-50120df9c909e712.rmeta --extern log=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps/liblog-3bff3bae3bc78a1f.rmeta --extern num_traits=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps/libnum_traits-d5b2220007fd6adc.rmeta --cap-lints warn -C opt-level=2 --cap-lints warn`^O 8 3:26.07^O error: aborting due to previous error^O 8 3:26.07^O For more information about this error, try `rustc --explain E0506`.^O 8 3:26.11^O error: Could not compile `cssparser`.^O 8 3:26.11^O Caused by:^O 8 3:26.11^O process didn't exit successfully: `CARGO_PKG_REPOSITORY='https://github.com/servo/rust-cssparser' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_AUTHORS='Simon Sapin <simon.sapin@exyr.org>' CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_HOMEPAGE= OUT_DIR=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/build/cssparser-4fe71bb133fbf34e/out LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/release/deps :/usr/lib' CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/third_party/rust/cssparser CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=0.25.3 CARGO_PKG_VERSION_MINOR=25 CARGO_PKG_DESCRIPTION='Rust implementation o f CSS Syntax Level 3' CARGO=/usr/bin/cargo-1.38.0 CARGO_PKG_NAME=cssparser /usr/bin/rustc --crate-name cssparser /var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/third_party/rust/cssparser/src/lib.rs --error-format=json --jso n=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C codegen-units=1 -C metadata=29ea845cead9f765 -C extra-filename=-29ea845cead9f765 --out-dir /var/tmp/portage/www-client/fir efox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/build/cargo-linker -L dependency=/var/tmp/portage/www-clien t/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/release/deps --extern cssparser_macros=/var/tmp/portage/www-client/firefox-68.1.0 /work/firefox-68.1.0/ff/release/deps/libcssparser_macros-bd005f9561f15e2a.so --extern dtoa_short=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps/libdtoa_short-16b17e9b92fcd85a.rmeta - -extern itoa=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps/libitoa-861b075cc63b279b.rmeta --extern matches=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-u nknown-linux-gnu/release/deps/libmatches-04332b2c78d8a09e.rmeta --extern phf=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps/libphf-d10b6d7eeda9f122.rmeta --extern procedural_masquera de=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/x86_64-unknown-linux-gnu/release/deps/libprocedural_masquerade-a8266149f5d4848b.rmeta --extern smallvec=/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/ff/ x86_64-unknown-linux-gnu/release/deps/libsmallvec-19bfb581622f7686.rmeta --cap-lints warn -C opt-level=2 --cap-lints warn --cfg rustc_has_pr45225` (exit code: 1)^O 8 3:26.11^O warning: build failed, waiting for other jobs to finish...^O 8 3:26.86^O error: build failed^O 8 3:26.86^O gmake[4]: *** [/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/config/makefiles/rust.mk:240: force-cargo-library-build] Error 101^O 8 3:26.86^O gmake[3]: *** [/var/tmp/portage/www-client/firefox-68.1.0/work/firefox-68.1.0/config/recurse.mk:74: toolkit/library/rust/target] Error 2^O 8 3:26.86^O gmake[3]: *** Waiting for unfinished jobs....
Disabling avx2 did not help, either. I only can tell, that the output of the function "llvm_check_deps" of the firefox ebuild is being parsed into the PATH variable (into more than one file. Found it in autoconf.mk, autoconf-js.mk and some config.status files). The question is how and why... firefox-60.8.0 and thunderbird-60.8.0 have no problems with compiling (even though LLVM_MAX_SLOT also is "9" for firefox-60.8.0 and the llvm_check_deps() function is very similar).
No, this bug is not about AMD/non-AMD or AVX/non-AVX. This bug is about an invalid value in ff/config/autoconf.mk. @ Amel Hodzic: Are you really saying you had *exactly* the same error, i.e. that a msg from ebuild regarding used LVM version made it into autoconf.mk file causing an error clearly indicated in error message like shown in original bug report? @ Phil Stracchino (Unix Ronin): You are experiencing a different problem. Or could you please explain why you think your error is the same like the one reported in the original bug report? @ Jory A. Pratt: I have working builds with the exact USE flag combination from Gernot, i.e. with USE=wayland. So this is tested by Mozilla team and not failing in general. @ Alexander: You added yourself to this bug. Are you experiencing an error caused by an invalid value in autoconf.mk this bug is about or are you just watching?
(In reply to Thomas Deutschmann from comment #14) > > @ Alexander: > You added yourself to this bug. Are you experiencing an error caused by an > invalid value in autoconf.mk this bug is about or are you just watching? I'm just watching. (In reply to Gernot Kohlhaas from comment #13) > I only can tell, that the output of the function "llvm_check_deps" > of the firefox ebuild is being parsed into the > PATH variable (into more than one file. Found it in autoconf.mk, > autoconf-js.mk and some config.status files). > The question is how and why... This is done by llvm.eclass, but bash shouldn't put stderr in variable, so this is strange. get_llvm_prefix() { ... llvm_check_deps || continue ... llvm_pkg_setup() { ... local llvm_prefix=$(get_llvm_prefix "${LLVM_MAX_SLOT}") ... export PATH=${llvm_prefix}/bin:${PATH}
Sorry for spamming the comments with long, potentially unrelated, log output. I did have the same error initially. I suppose that's no longer the case, since I now have both slots 8 and 9 installed for llvm.
I've copied the ebuild to an own overlay, now and removed the "einfo" and "ewarn" lines (setting LLVM_MAX_SLOT=8 did not help). And now firefox compiled just fine. Still strange, why einfo/ewarn wound up in autoconf files...
It compiled successfully for me this morning, and I hadn't changed anything.
Original ebuild does still not work for me. Also, I've tried to unmask and build firefox-69.0.2 (just for testing) and it also won't build (same error - LLVM message in autoconf.mk). For now, I will keep using an modified ebuild.
I am very sure that this isn't a problem in ebuild. It's a problem in your environment which won't go away if you won't change "something" in your environment. Like said, it's not normal that an ewarn message will leak into autoconf.mk and I see no way how this should be possible from reading llvm.eclass. CC'ing LLVM eclass maintainer for input.
Note that before EAPI 7, einfo wasn't required to use stderr. Old versions of Portage used to print to stdout.
(ewarn, eerror are required to use stderr in all EAPIs) If you don't want to use EAPI 7, you can hackaround this via using: einfo ... >&2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9339e9f59d7ef7a0c8b6b204509dd1f65c5d268 commit e9339e9f59d7ef7a0c8b6b204509dd1f65c5d268 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-10-31 13:25:39 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-10-31 13:25:39 +0000 mail-client/thunderbird: force stderr for einfo in llvm_check_deps() Bug: https://bugs.gentoo.org/695668 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> mail-client/thunderbird/thunderbird-68.2.1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
abc9e6e1eb53f9df2085f23c9118119469055b25 for firefox, closing.
(In reply to Michał Górny from comment #22) > (ewarn, eerror are required to use stderr in all EAPIs) There is ewarn output in attached autoconf.mk
Thanks, got confused by the "return".
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e22106072edf393d9d8f07611efc013be3035a commit 01e22106072edf393d9d8f07611efc013be3035a Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-10-31 15:51:57 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-10-31 15:56:28 +0000 mail-client/thunderbird: force stderr for ewarn in llvm_check_deps() Closes: https://bugs.gentoo.org/695668 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> mail-client/thunderbird/thunderbird-68.2.1.ebuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d68c84070e84997faf0c1d98b0eb6762f8e331 commit d3d68c84070e84997faf0c1d98b0eb6762f8e331 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-10-31 15:49:31 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-10-31 15:56:27 +0000 www-client/firefox: force stderr for ewarn in llvm_check_deps() Closes: https://bugs.gentoo.org/695668 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/firefox-68.2.0.ebuild | 19 +++++++++---------- www-client/firefox/firefox-70.0.ebuild | 19 +++++++++---------- 2 files changed, 18 insertions(+), 20 deletions(-)