Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] infinite loop of with @preserved-rebuild
Date: Fri, 09 May 2014 13:52:17
Message-Id: 536CDD64.1050107@gmail.com
In Reply to: [gentoo-user] infinite loop of with @preserved-rebuild by gottlieb@nyu.edu
1 On 09/05/2014 14:50, gottlieb@×××.edu wrote:
2 > I am switching a system from nvidia-drivers to nouveau. I changed the
3 > entries in make.conf and did emerge --depclean nvidia-drivers.
4 >
5 > One result was about a dozen packages to @preserved-rebuild, including
6 > two webkit-gtk and libreoffice (so hours to rebuild).
7 >
8 > The overnight emerge @preserved-rebuild finished without error, but at
9 > the end announced that I again needed to emerge about a dozen packages,
10 > again including the two webkit-gtk versions and libreoffice.
11 >
12 > The full output (see below) mentions several nvidia files.
13 >
14 > How do I break this cycle?
15
16 Basically what's happening is portage sees things that used to use the
17 old nvidia GL files still want them somehow, so it's keeping those files
18 around. Presumably, when packages like libreoffice are rebuilt, they
19 will link to the new files provided by nouveau, portage will pick this
20 up and release the old files.
21
22 For various reasons this doesn't always work out. Consumer apps are not
23 always diligent about how they seek libs to link to, and portage can't
24 deal with this.
25
26 There's a brute force method. All the nvidia files listed below are now
27 orphaned, so you should be able to delete them and let revdep-rebuild
28 fix anything remaining. You also have stuffs from emul-linux in there,
29 so I'd suggest this:
30
31 unmerge emul-linux-x86-opengl
32 delete orphaned files
33 revdep-rebuild and let it do what it wants
34 remerge emul-linux-x86-opengl back
35
36 Sometimes the portage preserved-rebuild magic doesn't have enough magic,
37 so you have to resort to the old manual ways. this looks like one of
38 those times
39
40
41 >
42 > thanks,
43 > allan
44 >
45 > ================================================================
46 >
47 >>>> Auto-cleaning packages...
48 >
49 >>>> No outdated packages were found on your system.
50 >
51 > * GNU info directory index is up-to-date.
52 >
53 > !!! existing preserved libs:
54 >>>> package: x11-drivers/nvidia-drivers-334.21-r3
55 > * - /usr/lib32/opengl/nvidia/lib/libGL.so.1
56 > * - /usr/lib32/opengl/nvidia/lib/libGL.so.334.21
57 > * used by /opt/Adobe/Reader9/Reader/intellinux/plug_ins3d/drvOpenGL.x3d (app-text/acroread-9.5.5)
58 > * used by /usr/lib32/libGLEW.so.1.9.0 (app-emulation/emul-linux-x86-opengl-20140406)
59 > * used by /usr/lib32/libGLEWmx.so.1.9.0 (app-emulation/emul-linux-x86-opengl-20140406)
60 > * used by 5 other files
61 > * - /usr/lib64/libnvidia-glsi.so.334.21
62 > * - /usr/lib32/opengl/nvidia/lib/libEGL.so.1
63 > * - /usr/lib32/opengl/nvidia/lib/libEGL.so.334.21
64 > * used by /usr/lib32/egl/egl_gallium.so (app-emulation/emul-linux-x86-opengl-20140406)
65 > * used by /usr/lib32/libcairo-gobject.so.2.11200.14 (app-emulation/emul-linux-x86-gtklibs-20140406)
66 > * used by /usr/lib32/libcairo-script-interpreter.so.2.11200.14 (app-emulation/emul-linux-x86-gtklibs-20140406)
67 > * used by /usr/lib32/libcairo.so.2.11200.14 (app-emulation/emul-linux-x86-gtklibs-20140406)
68 > * - /usr/lib32/libnvidia-glcore.so.334.21
69 > * - /usr/lib32/libnvidia-tls.so.334.21
70 > * - /usr/lib64/libnvidia-tls.so.334.21
71 > * - /usr/lib32/libnvidia-glsi.so.334.21
72 > * - /usr/lib64/libnvidia-glcore.so.334.21
73 > * - /usr/lib64/opengl/nvidia/lib/libGL.so.1
74 > * - /usr/lib64/opengl/nvidia/lib/libGL.so.334.21
75 > * used by /usr/bin/Xephyr (x11-base/xorg-server-1.15.0)
76 > * used by /usr/bin/cairo-sphinx (x11-libs/cairo-1.12.16)
77 > * used by /usr/bin/glxgears (x11-apps/mesa-progs-8.1.0)
78 > * used by 15 other files
79 > * - /usr/lib64/opengl/nvidia/lib/libEGL.so.1
80 > * - /usr/lib64/opengl/nvidia/lib/libEGL.so.334.21
81 > * used by /usr/bin/cairo-sphinx (x11-libs/cairo-1.12.16)
82 > * used by /usr/lib64/libcairo.so.2.11200.16 (x11-libs/cairo-1.12.16)
83 > * used by /usr/lib64/libwebkit2gtk-3.0.so.25.4.8 (net-libs/webkit-gtk-2.2.6)
84 > * used by 3 other files
85 > Use emerge @preserved-rebuild to rebuild packages using these libraries
86 > allan ~ # emerge @preserved-rebuild
87 >
88 > These are the packages that would be merged, in reverse order:
89 >
90 > Calculating dependencies... done!
91 > [ebuild R ] gnome-base/gnome-control-center-3.10.3:2 USE="bluetooth colord cups gnome-online-accounts i18n socialweb -debug -kerberos -v4l" INPUT_DEVICES="-wacom" 0 kB
92 > [ebuild R ] x11-apps/xdriinfo-1.0.4 0 kB
93 > [ebuild R ] app-office/libreoffice-4.1.4.2 USE="bluetooth branding cups dbus eds gnome gstreamer gtk opengl vba webdav (-aqua) -debug -gtk3 -java -jemalloc -kde -mysql -odk -postgres -telepathy {-test}" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 python3_3" 0 kB
94 > [ebuild R ] net-libs/webkit-gtk-2.2.6-r200:2 USE="egl geoloc gstreamer introspection jit libsecret opengl spell webgl (-aqua) -coverage -debug -gles2 {-test}" 0 kB
95 > [ebuild R ] app-text/acroread-9.5.5 USE="cups ldap nsplugin -html" LINGUAS="-ja -ko -zh_CN -zh_TW" 0 kB
96 > [ebuild R ] games-board/gnome-chess-3.10.3 0 kB
97 > [ebuild R ] gnome-base/gnome-session-3.10.1 USE="ipv6 systemd -debug -doc -gconf" 0 kB
98 > [ebuild R ] net-libs/webkit-gtk-2.2.6:3/29 USE="egl geoloc gstreamer introspection jit libsecret opengl spell webgl (-aqua) -coverage -debug -gles2 {-test}" 0 kB
99 > [ebuild R ] x11-base/xorg-server-1.15.0:0/1.15.0 USE="ipv6 kdrive nptl suid udev xorg -dmx -doc -minimal (-selinux) -static-libs -tslib -unwind -xnest -xvfb" 0 kB
100 > [ebuild R ] media-libs/libwebp-0.4.0:0/5 USE="gif jpeg opengl png tiff -experimental -static-libs -swap-16bit-csp" ABI_X86="(64) (-32) (-x32)" 0 kB
101 > [ebuild R ] app-emulation/emul-linux-x86-gtklibs-20140406 USE="development" ABI_X86="(-32)" 0 kB
102 > [ebuild R ] app-emulation/emul-linux-x86-opengl-20140406 USE="development" ABI_X86="(-32)" 0 kB
103 > [ebuild R ] media-libs/freeglut-2.8.1-r1 USE="-debug -static-libs" ABI_X86="(64) (-32) (-x32)" 0 kB
104 > [ebuild R ] x11-apps/mesa-progs-8.1.0 USE="-egl -gles1 -gles2" 0 kB
105 > [ebuild R ] media-libs/glu-9.0.0-r1 USE="-static-libs" ABI_X86="(64) (-32) (-x32)" 0 kB
106 > [ebuild R ] x11-libs/cairo-1.12.16 USE="X glib opengl svg xcb (-aqua) -debug -directfb -doc (-drm) (-gallium) (-gles2) -legacy-drivers -openvg (-qt4) -static-libs -valgrind -xlib-xcb" 0 kB
107 >
108 > Total: 16 packages (16 reinstalls), Size of downloads: 0 kB
109 >
110 >
111 >
112
113
114 --
115 Alan McKinnon
116 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] infinite loop of with @preserved-rebuild gottlieb@×××.edu
Re: [gentoo-user] infinite loop of with @preserved-rebuild Philip Webb <purslow@××××××××.net>