Created attachment 905129 [details] Build log. www-client/firefox-130 was compiled ok. Same configiration. Environment - LXC. www-client/firefox-131.0 - can't. 0:11.53 checking for __cxa_demangle... yes 0:11.61 checking for _getc_nolock... no 0:11.69 checking for localeconv... yes 0:11.77 checking for nodejs... /usr/bin/node (22.8.0) 0:11.78 checking for gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1... yes 0:11.81 checking MOZ_WAYLAND_CFLAGS... 0:11.81 DEBUG: Executing: `/usr/bin/x86_64-pc-linux-gnu-pkg-config --shared --cflags 'gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1'` 0:11.81 DEBUG: The command returned non-zero exit status 1. 0:11.81 DEBUG: Its error output was: 0:11.81 DEBUG: | Package gl was not found in the pkg-config search path. 0:11.81 DEBUG: | Perhaps you should add the directory containing `gl.pc' 0:11.81 DEBUG: | to the PKG_CONFIG_PATH environment variable 0:11.81 DEBUG: | Package 'gl', required by 'epoxy', not found 0:11.81 ERROR: Command `/usr/bin/x86_64-pc-linux-gnu-pkg-config --shared --cflags 'gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1'` failed with exit status 1. *** Fix above errors and then restart with "./mach build" * ERROR: www-client/firefox-131.0::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 5401: Called die * The specific snippet of code: * ./mach configure || die
Created attachment 905130 [details] emerge --info
Created attachment 905131 [details] make.conf
Could you show cat /usr/lib64/pkgconfig/epoxy.pc and emerge -pv --nodeps media-libs/libglvnd and if media-libs/libglvnd is installed, make sure it installs files correctly too: equery f media-libs/libglvnd It looks like something went weird in your system, either a dep wasn't pulled or it didn't install any files.
(In reply to Joonas Niilola from comment #3) > Could you show > > cat /usr/lib64/pkgconfig/epoxy.pc > > and > > emerge -pv --nodeps media-libs/libglvnd > > and if media-libs/libglvnd is installed, make sure it installs files > correctly too: > > equery f media-libs/libglvnd > > It looks like something went weird in your system, either a dep wasn't > pulled or it didn't install any files. 1. cat /usr/lib64/pkgconfig/epoxy.pc prefix=/usr includedir=${prefix}/include libdir=${prefix}/lib64 epoxy_has_glx=0 epoxy_has_egl=1 epoxy_has_wgl=0 Name: epoxy Description: GL dispatch library Version: 1.5.10 Requires.private: egl, gl egl Libs: -L${libdir} -lepoxy Libs.private: -ldl Cflags: -I${includedir} 2. emerge -pv --nodeps media-libs/libglvnd These are the packages that would be merged, in order: [ebuild R ] media-libs/libglvnd-1.7.0::gentoo USE="-X -test" 560 KiB Total: 1 package (1 reinstall), Size of downloads: 560 KiB 3. equery f media-libs/libglvnd * Searching for libglvnd in media-libs ... * Contents of media-libs/libglvnd-1.7.0: /usr /usr/include /usr/include/EGL /usr/include/EGL/egl.h /usr/include/EGL/eglext.h /usr/include/EGL/eglplatform.h /usr/include/GL /usr/include/GL/gl.h /usr/include/GL/glcorearb.h /usr/include/GL/glext.h /usr/include/GLES /usr/include/GLES/egl.h /usr/include/GLES/gl.h /usr/include/GLES/glext.h /usr/include/GLES/glplatform.h /usr/include/GLES2 /usr/include/GLES2/gl2.h /usr/include/GLES2/gl2ext.h /usr/include/GLES2/gl2platform.h /usr/include/GLES3 /usr/include/GLES3/gl3.h /usr/include/GLES3/gl31.h /usr/include/GLES3/gl32.h /usr/include/GLES3/gl3ext.h /usr/include/GLES3/gl3platform.h /usr/include/KHR /usr/include/KHR/khrplatform.h /usr/include/glvnd /usr/include/glvnd/GLdispatchABI.h /usr/include/glvnd/libeglabi.h /usr/include/glvnd/libglxabi.h /usr/lib64 /usr/lib64/libEGL.so -> libEGL.so.1 /usr/lib64/libEGL.so.1 -> libEGL.so.1.1.0 /usr/lib64/libEGL.so.1.1.0 /usr/lib64/libGLESv1_CM.so -> libGLESv1_CM.so.1 /usr/lib64/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.2.0 /usr/lib64/libGLESv1_CM.so.1.2.0 /usr/lib64/libGLESv2.so -> libGLESv2.so.2 /usr/lib64/libGLESv2.so.2 -> libGLESv2.so.2.1.0 /usr/lib64/libGLESv2.so.2.1.0 /usr/lib64/libGLdispatch.so -> libGLdispatch.so.0 /usr/lib64/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0 /usr/lib64/libGLdispatch.so.0.0.0 /usr/lib64/libOpenGL.so -> libOpenGL.so.0 /usr/lib64/libOpenGL.so.0 -> libOpenGL.so.0.0.0 /usr/lib64/libOpenGL.so.0.0.0 /usr/lib64/pkgconfig /usr/lib64/pkgconfig/egl.pc /usr/lib64/pkgconfig/glesv1_cm.pc /usr/lib64/pkgconfig/glesv2.pc /usr/lib64/pkgconfig/libglvnd.pc /usr/lib64/pkgconfig/opengl.pc /usr/share /usr/share/doc /usr/share/doc/libglvnd-1.7.0 /usr/share/doc/libglvnd-1.7.0/README.md.bz2
Can you show emerge -pv --nodeps gtk+:3 too please. And cat /usr/lib64/pkgconfig/gtk+-* This error is coming from gtk-3, and it seems related to media-libs/libglvnd[-X] being installed, but I'm not sure why it doesn't error out before you reach Firefox.
(In reply to Joonas Niilola from comment #5) > Can you show > > emerge -pv --nodeps gtk+:3 > > too please. > > And cat /usr/lib64/pkgconfig/gtk+-* > > This error is coming from gtk-3, and it seems related to > media-libs/libglvnd[-X] being installed, but I'm not sure why it doesn't > error out before you reach Firefox. 1. emerge -pv --nodeps gtk+:3 These are the packages that would be merged, in order: [ebuild R ] x11-libs/gtk+-3.24.42-r1:3::gentoo USE="introspection wayland -X (-aqua) -broadway -cloudproviders -colord -cups -examples -gtk-doc -sysprof -test -vim-syntax -xinerama" 12 917 KiB Total: 1 package (1 reinstall), Size of downloads: 12 917 KiB 2. cat /usr/lib64/pkgconfig/gtk+-* prefix=/usr exec_prefix=${prefix} libdir=${prefix}/lib64 includedir=${prefix}/include targets=wayland gtk_binary_version=3.0.0 gtk_host=x86_64-linux Name: GTK+ Description: GTK+ Graphical UI Library Version: 3.24.42 Requires: gdk-3.0 atk >= 2.35.1 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gdk-pixbuf-2.0 >= 2.30.0 gio-2.0 >= 2.57.2 Requires.private: atk wayland-client >= 1.14.91 xkbcommon >= 0.2.0 wayland-cursor >= 1.14.91 wayland-egl epoxy >= 1.4 fribidi >= 0.19.7 pangoft2 gio-unix-2.0 >= 2.57.2 Libs: -L${libdir} -lgtk-3 Cflags: -I${includedir}/gtk-3.0 prefix=/usr exec_prefix=${prefix} libdir=${prefix}/lib64 includedir=${prefix}/include targets=wayland gtk_binary_version=3.0.0 gtk_host=x86_64-linux Name: GTK+ Description: GTK+ Unix print support Version: 3.24.42 Requires: gtk+-3.0 atk >= 2.35.1 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gdk-pixbuf-2.0 >= 2.30.0 gio-2.0 >= 2.57.2 Cflags: -I${includedir}/gtk-3.0/unix-print prefix=/usr exec_prefix=${prefix} libdir=${prefix}/lib64 includedir=${prefix}/include targets=wayland gtk_binary_version=3.0.0 gtk_host=x86_64-linux Name: GTK+ Description: GTK+ Graphical UI Library Version: 3.24.42 Requires: gdk-3.0 atk >= 2.35.1 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gdk-pixbuf-2.0 >= 2.30.0 gio-2.0 >= 2.57.2 Requires.private: atk wayland-client >= 1.14.91 xkbcommon >= 0.2.0 wayland-cursor >= 1.14.91 wayland-egl epoxy >= 1.4 fribidi >= 0.19.7 pangoft2 gio-unix-2.0 >= 2.57.2 Libs: -L${libdir} -lgtk-3 Cflags: -I${includedir}/gtk-3.0
(In reply to Joonas Niilola from comment #3) > Could you show > > cat /usr/lib64/pkgconfig/epoxy.pc > > and > > emerge -pv --nodeps media-libs/libglvnd > > and if media-libs/libglvnd is installed, make sure it installs files > correctly too: > > equery f media-libs/libglvnd > > It looks like something went weird in your system, either a dep wasn't > pulled or it didn't install any files. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Before aprox 20 days ago, I was remove webkit-gtk with --depckean flag. I simple move it into another lxc container. I compare packages and flags. No other idea. Now it seems like this: emerge -DNuvp webkit-gtk These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 10.74 s (backtrack: 0/20). [ebuild N ] dev-util/unifdef-2.12-r1::gentoo 66 KiB [ebuild N ] media-libs/tiff-4.7.0:0/6::gentoo USE="cxx zlib -jbig -jpeg -lzma -opengl -static-libs -test -verify-sig -webp -zstd" 2 233 KiB [ebuild N ] app-dicts/myspell-ru-20200606::gentoo 1 548 KiB [ebuild N ] app-eselect/eselect-ruby-20231226::gentoo 2 KiB [ebuild N ] app-text/iso-codes-4.16.0::gentoo 14 808 KiB [ebuild N ] virtual/perl-Digest-SHA-6.40.0-r1::gentoo 0 KiB [ebuild N ] dev-perl/Digest-HMAC-1.40.0::gentoo PERL_FEATURES="(-debug) -ithreads -quadmath" 14 KiB [ebuild N ] dev-perl/Authen-SASL-2.170.0::gentoo USE="-kerberos -test" PERL_FEATURES="(-debug) -ithreads -quadmath" 37 KiB [ebuild N ] dev-perl/Error-0.170.290::gentoo USE="-test" PERL_FEATURES="(-debug) -ithreads -quadmath" 33 KiB [ebuild N ] dev-perl/MailTools-2.210.0::gentoo USE="-examples -test" PERL_FEATURES="(-debug) -ithreads -quadmath" 57 KiB [ebuild N ] app-text/hunspell-1.7.2-r1:0/1.7::gentoo USE="ncurses nls readline -static-libs" L10N="ru -af -bg -ca -cs -cy -da -de -de-1901 -el -en -eo -es -et -fo -fr -ga -gl -he -hr -hu -ia -id -is -it -kk -km -ku -lt -lv -mi -mk -ms -nb -nl -nn -pl -pt -pt-BR -ro -sk -sl -sq -sv -sw -tn -uk -zu" 1 501 KiB [ebuild N ] dev-util/colm-0.14.7-r3::gentoo USE="-doc" 3 038 KiB [ebuild N ] dev-libs/hyphen-2.8.8-r2::gentoo USE="-static-libs" 624 KiB [ebuild N ] dev-util/ragel-7.0.4-r3::gentoo USE="-doc" 1 618 KiB [ebuild N ] dev-lang/ruby-3.2.5:3.2::gentoo USE="gdbm ipv6 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -socks5 (-static-libs) -systemtap -tk -valgrind -xemacs" 14 834 KiB [ebuild N ] virtual/ruby-ssl-14::gentoo RUBY_TARGETS="ruby32 -ruby31 -ruby33" 0 KiB [ebuild N ] dev-ruby/rubygems-3.5.11::gentoo USE="-server -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 13 225 KiB [ebuild N ] virtual/rubygems-20::gentoo RUBY_TARGETS="ruby32 -ruby31 -ruby33" 0 KiB [ebuild N ] dev-ruby/power_assert-2.0.4::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 17 KiB [ebuild N ] dev-ruby/test-unit-3.6.2:2::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 162 KiB [ebuild N ] dev-ruby/did_you_mean-1.6.3:2.6::gentoo USE="-test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 46 KiB [ebuild N ] dev-ruby/matrix-0.4.2::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 42 KiB [ebuild N ] dev-ruby/minitest-5.25.1:5::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 98 KiB [ebuild N ] dev-ruby/rake-13.2.1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 122 KiB [ebuild N ] dev-ruby/json-2.7.2-r1:2::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 123 KiB [ebuild N ] dev-ruby/logger-1.6.1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 20 KiB [ebuild N ] dev-ruby/rbs-3.6.1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 1 243 KiB [ebuild N ] dev-ruby/typeprof-0.21.11::gentoo USE="-test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 1 012 KiB [ebuild N ] dev-ruby/strscan-3.1.0:3::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 27 KiB [ebuild N ] dev-ruby/rexml-3.3.8:3::gentoo USE="-test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 459 KiB [ebuild N ] dev-ruby/rss-0.3.1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 105 KiB [ebuild N ] dev-ruby/date-3.3.4::gentoo USE="-test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 97 KiB [ebuild N ] dev-ruby/kpeg-1.3.3:1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 57 KiB [ebuild N ] dev-ruby/racc-1.8.1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 449 KiB [ebuild N ] dev-ruby/stringio-3.1.1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 38 KiB [ebuild N ] dev-ruby/psych-5.1.2:5::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 83 KiB [ebuild N ] dev-ruby/rdoc-6.7.0::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 750 KiB [ebuild N ] dev-ruby/io-console-0.7.2::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 37 KiB [ebuild N ] dev-ruby/reline-0.5.10::gentoo USE="-test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 89 KiB [ebuild N ] dev-ruby/irb-1.14.1::gentoo USE="-test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 139 KiB [ebuild N ] dev-ruby/debug-1.9.2:1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 164 KiB [ebuild N ] dev-ruby/forwardable-1.3.3::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 18 KiB [ebuild N ] dev-ruby/singleton-0.2.0::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 6 KiB [ebuild N ] dev-ruby/prime-0.1.2-r1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 10 KiB [ebuild N ] dev-ruby/time-0.4.0::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 17 KiB [ebuild N ] dev-ruby/timeout-0.4.1::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 8 KiB [ebuild N ] dev-ruby/net-protocol-0.2.2::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 8 KiB [ebuild N ] dev-ruby/net-smtp-0.5.0::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 26 KiB [ebuild N ] dev-ruby/net-pop-0.1.2::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 22 KiB [ebuild N ] dev-ruby/net-ftp-0.3.8::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 30 KiB [ebuild N ] dev-ruby/net-imap-0.4.16:0.4::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 247 KiB [ebuild N ] media-libs/gstreamer-1.22.11:1.0::gentoo USE="caps introspection nls -test -unwind" 1 760 KiB [ebuild R ] net-libs/libpsl-0.21.5::gentoo USE="icu idn -static-libs% -test" 0 KiB [ebuild N ] dev-vcs/git-2.47.0::gentoo USE="blksha1 curl gpg iconv nls pcre perl safe-directory webdav -cgi -cvs -doc -highlight -keyring -mediawiki -perforce (-selinux) -subversion -test -tk -xinetd" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 8 046 KiB [ebuild N ] dev-ruby/bundler-2.5.11:2::gentoo USE="-doc -test" RUBY_TARGETS="ruby32 -ruby31 -ruby33" 423 KiB [ebuild N ] dev-lang/orc-0.4.38::gentoo USE="-gtk-doc -static-libs -test" 222 KiB [ebuild N ] media-libs/graphene-1.10.8-r1::gentoo USE="introspection -doc -test" CPU_FLAGS_X86="sse2" 175 KiB [ebuild N ] media-libs/woff2-1.0.2-r6::gentoo 39 KiB [ebuild N ] sys-apps/bubblewrap-0.10.0::gentoo USE="(-selinux) -suid" 117 KiB [ebuild N ] sys-apps/xdg-dbus-proxy-0.1.5::gentoo USE="-test" 122 KiB [ebuild N ] net-libs/libproxy-0.5.5::gentoo USE="introspection -duktape -gnome -gtk-doc -test -vala" 60 KiB [ebuild N ] gnome-base/gsettings-desktop-schemas-46.1::gentoo USE="introspection" 761 KiB [ebuild N ] dev-python/pycairo-1.27.0::gentoo USE="-debug -doc -examples -test" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11 -python3_13" 646 KiB [ebuild N ] media-libs/gst-plugins-base-1.22.11-r1:1.0::gentoo USE="egl gles2 introspection nls ogg opengl orc pango vorbis wayland -X -alsa -gbm -ivorbis -test -theora" 2 318 KiB [ebuild N ] net-libs/glib-networking-2.80.0::gentoo USE="gnome libproxy ssl -test" 281 KiB [ebuild N ] dev-python/pygobject-3.48.2-r1:3::gentoo USE="cairo -debug -examples -test" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11 -python3_13" 544 KiB [ebuild N ] gui-libs/gtk-4.14.4-r1:4::gentoo USE="introspection wayland -X (-aqua) -broadway -cloudproviders -colord -cups -examples -gstreamer -sysprof -test (-vulkan)" CPU_FLAGS_X86="-f16c" 17 878 KiB [ebuild N ] net-libs/libsoup-3.4.4:3.0::gentoo USE="brotli introspection ssl vala -gssapi -gtk-doc -samba -sysprof -test" 1 501 KiB [ebuild N ] media-plugins/gst-plugins-opus-1.22.11:1.0::gentoo 5 423 KiB [ebuild N ] media-libs/gst-plugins-bad-1.22.11-r1:1.0::gentoo USE="bzip2 introspection nls orc wayland -X -test -udev -vaapi -vnc" 0 KiB [ebuild N ] net-libs/webkit-gtk-2.44.4-r600:6/0::gentoo USE="gstreamer introspection jumbo-build (seccomp) wayland -X (-aqua) -avif -examples -gamepad -jpegxl -keyring -lcms -pdf -spell -systemd" 35 018 KiB [ebuild U ] sys-devel/llvm-19.1.1:19/19.1::gentoo [19.1.0:19/19.1::gentoo] USE="binutils-plugin libffi zstd -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -xml -z3" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa" 0 KiB Total: 72 packages (1 upgrade, 70 new, 1 reinstall), Size of downloads: 134 712 KiB The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by net-libs/webkit-gtk-2.44.4-r600::gentoo[gstreamer] # required by webkit-gtk (argument) >=media-libs/gst-plugins-base-1.22.11-r1 opengl May be it help to compare.......
No there's some sort of mismatch for X/wayland in your GTK chain, I don't know where it comes from. Related to libepoxy/gtk+:3 though. Did you recently switched from X to wayland, or recently disabled -X globally after compiling the whole @world with +X enabled first?
(In reply to Joonas Niilola from comment #8) > No there's some sort of mismatch for X/wayland in your GTK chain, I don't > know where it comes from. Related to libepoxy/gtk+:3 though. Did you > recently switched from X to wayland, or recently disabled -X globally after > compiling the whole @world with +X enabled first? Global +X never exists in this system. Many years I have pure wayland environment. I make selectively enable +X per package, which is required to build webkit-gtk. May be I must make emerge -e world?
Folks sorry. Solution is: emerge -e world Thanks to all. Ticket closed.