Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] USE="-libglvnd" ignored
Date: Sat, 22 Aug 2020 11:05:44
Message-Id: 20200822110433.GA13138@waltdnes.org
1 I just updated my secondary machine. No mention of "libglvnd" in
2 package.use...
3
4 [i3][root][~] grep libglvnd /etc/portage/package.use/*
5
6 "Disabled" in make.conf...
7
8 [i3][root][~] grep libglvnd /etc/portage/make.conf
9 USE="X apng fmpeg introspection jpeg opengl openmp png szip truetype x264 x265 xorg threads vala -acl -arp -arping -berkdb -bindist -bles -caps -chatzilla -cracklib -crypt -elogind -filecaps -gallium -gdbm -gmp-autoupdate -graphite -gstreamer -iconv -ipc -iptables -ipv6 -jemalloc3 -libav -libglvnd -llvm -manpager -nls -pam -pch -roaming -sendmail -spell -tcpd -udev -udisks -unicode -upower -xinerama"
10
11 But libglvnd is still pulled in as a hard dependency...
12
13 [i3][root][~] emerge -pv --depclean media-libs/libglvnd
14
15 Calculating dependencies... done!
16 media-libs/libglvnd-1.3.2 pulled in by:
17 media-libs/mesa-20.0.8 requires >=media-libs/libglvnd-1.2.0-r1[X,abi_x86_64(-)]
18 x11-base/xorg-server-1.20.8-r1 requires media-libs/libglvnd[X]
19
20 >>> No packages selected for removal by depclean
21 Packages installed: 583
22 Packages in world: 80
23 Packages in system: 43
24 Required packages: 583
25 Number to remove: 0
26
27 If it's really a hard dependency, then why pretend in the ebuilds that
28 it's optional?
29
30 ========================================================================
31
32 [i3][root][~] grep libglvnd /usr/portage/media-libs/mesa/mesa-20.0.8.ebuild
33 +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd +llvm
34 libglvnd? (
35 >=media-libs/libglvnd-1.2.0-r1[X?,${MULTILIB_USEDEP}]
36 !libglvnd? (
37 libglvnd? ( usr/lib/libGLX_mesa.so.0.0.0 )
38 $(meson_use libglvnd glvnd)
39 if ! use libglvnd; then
40
41 ========================================================================
42
43 [i3][root][~] grep libglvnd /usr/portage/x11-base/xorg-server/xorg-server-1.20.8-r1.ebuild
44 IUSE="${IUSE_SERVERS} debug +elogind ipv6 libressl +libglvnd minimal selinux suid systemd +udev unwind xcsecurity"
45 CDEPEND="libglvnd? (
46 media-libs/libglvnd[X]
47 !!x11-drivers/nvidia-drivers[-libglvnd(-)]
48 !libglvnd? ( >=app-eselect/eselect-opengl-1.3.0 )
49 if ! use libglvnd; then
50
51 ========================================================================
52
53 --
54 Walter Dnes <waltdnes@××××××××.org>
55 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] USE="-libglvnd" ignored Ashley Dixon <ash@××××××××××.uk>
Re: [gentoo-user] USE="-libglvnd" ignored "J. Roeleveld" <joost@××××××××.org>