Created attachment 437978 [details] output of emerge --info Performing a world update, and a number of packages fail to build after installing x11-drivers/nvidia-drivers-367.27 with a link error (eg. x11-libs/vte): libtool: link: x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/x11-libs/vte-0.42.5/work/vte-0.42.5/src/tmp-introspectWqE4yJ/.libs/Vte-2.91 -march=native -O2 -pipe -Wl,-O1 tmp-introspectWqE4yJ/var/tmp/portage/x11-libs/vte-0.42.5/work/vte-0.42.5/src/tmp-introspectWqE4yJ/Vte-2.91.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -Wl,--as-needed -L. ./.libs/libvte-2.91.so -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lz -lgnutls -lutil -lm -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -pthread /usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_alloc' /usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_vsnprintf' /usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_free' This is not limited to vte - other packages fail with a similar error: [ebuild U ] x11-libs/vte-0.42.5:2.91::gentoo [0.42.4:2.91::gentoo] USE="crypt introspection -debug -glade -vala" 0 KiB [ebuild U ] app-office/glabels-3.4.0::gentoo [3.2.1::gentoo] USE="barcode -eds" 0 KiB [ebuild U ] app-editors/ghex-3.18.1:2::gentoo [3.18.0:2::gentoo] 0 KiB [ebuild R ] kde-apps/kcharselect-15.12.3:5::gentoo USE="handbook -debug (-doc%)" 0 KiB [ebuild R ] kde-apps/krfb-15.12.3:5::gentoo USE="handbook -debug (-doc%)" 0 KiB [ebuild R ] kde-frameworks/kio-5.21.0:5/5.21::gentoo USE="X acl handbook kwallet -debug -kerberos {-test} (-doc%)" 0 KiB [ebuild R ] kde-frameworks/kinit-5.21.0:5/5.21::gentoo USE="caps man -debug (-doc%)" 0 KiB [ebuild R ] kde-frameworks/kdeclarative-5.21.0:5/5.21::gentoo USE="-debug (-doc%)" 0 KiB [ebuild R ] kde-frameworks/kded-5.21.0:5/5.21::gentoo USE="man -debug (-doc%)" 0 KiB [ebuild R ] kde-apps/kcalc-15.12.3-r1:5::gentoo USE="handbook -debug {-test} (-doc%)" 0 KiB [ebuild R ] kde-frameworks/kdelibs4support-5.21.0:5/5.21::gentoo USE="X -debug {-test} (-doc%)" 0 KiB [ebuild U ] kde-base/systemsettings-4.11.22-r2:4/4.11::gentoo [4.11.22-r1:4/4.11::gentoo] USE="gtk handbook kscreen opengl usb (-aqua) -debug {-test}" 0 KiB [ebuild U ] net-libs/gssdp-0.14.15:0/3::gentoo [0.14.14:0/3::gentoo] USE="gtk introspection" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild U ] net-libs/gupnp-0.20.17:0/4::gentoo [0.20.16:0/4::gentoo] USE="introspection -connman -networkmanager" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" 0 KiB Reverting to nvidia-drivers-367.18 is a viable workaround.
Created attachment 437980 [details] x11-libs/vte-0.42.5 build.log
is this g-ir-scanner doing its magic?
Same here with large number of kde-frameworks / kde-apps packages. eselect opengl set x11 makes the build work.
Downgrading to 367.18 will mask the issue, at least for now. It seems Gentoo isn't the only thing affected, nor is this particular package. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210452
Please post your output for `emerge -vpq x11-drivers/nvidia-drivers` too.
# emerge -vpq x11-drivers/nvidia-drivers [ebuild U ] x11-drivers/nvidia-drivers-367.27 [367.18] USE="X acpi compat driver gtk3 kms multilib tools uvm -pax_kernel -static-libs -wayland"
*** Bug 586486 has been marked as a duplicate of this bug. ***