Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
@preserved-rebuild bug?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 622
Location: DC Burbs

PostPosted: Sat Jun 07, 2014 5:02 am    Post subject: @preserved-rebuild bug? Reply with quote

This had been hanging around until I took matters into its own hands. I had ditched nvidia-drivers on this box with a radeon card when the whole divergence thing with gallium/glamor etc started happening with nvidia-drivers. This preserved rebuild kept hanging around:

Code:
!!! existing preserved libs:
>>> package: x11-drivers/nvidia-drivers-334.21
 *  - /usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1
 *  - /usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0
 *      used by /usr/lib64/libopencv_ocl.so.2.4.5 (media-libs/opencv-2.4.5)
Use emerge @preserved-rebuild to rebuild packages using these libraries

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

thufir portage # ldd /usr/lib64/libopencv_ocl.so.2.4.5
        linux-vdso.so.1 (0x00007fff18f82000)
        libopencv_core.so.2.4 => /usr/lib64/libopencv_core.so.2.4 (0x00007fcab0017000)
        libopencv_imgproc.so.2.4 => /usr/lib64/libopencv_imgproc.so.2.4 (0x00007fcaafb61000)
        libopencv_objdetect.so.2.4 => /usr/lib64/libopencv_objdetect.so.2.4 (0x00007fcaaf8dc000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fcaaf6bf000)
        libtbb.so.2 => /usr/lib64/libtbb.so.2 (0x00007fcaaf495000)
        libOpenCL.so.1 => /usr/lib64/libOpenCL.so.1 (0x00007fcaaf28f000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fcaaef8f000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6 (0x00007fcaaec84000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1 (0x00007fcaaea6c000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fcaae6bd000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fcaae4a6000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fcaae29d000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007fcaae039000)
        libopencv_highgui.so.2.4 => /usr/lib64/libopencv_highgui.so.2.4 (0x00007fcaadda0000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fcab08af000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fcaadb9b000)
        libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x00007fcaad974000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fcaad760000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007fcaad55d000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fcaad357000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007fcaad154000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fcaace14000)
        libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007fcaacbf9000)
        libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007fcaac9f3000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fcaac7d0000)
        libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007fcaac5ca000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007fcaac3bc000)
        libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007fcaac166000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fcaabf30000)
        libtiff.so.5 => /usr/lib64/libtiff.so.5 (0x00007fcaabcb8000)
        libjasper.so.1 => /usr/lib64/libjasper.so.1 (0x00007fcaaba5c000)
        libIlmImf.so.6 => /usr/lib64/libIlmImf.so.6 (0x00007fcaab790000)
        libHalf.so.6 => /usr/lib64/libHalf.so.6 (0x00007fcaab54c000)
        libgstreamer-0.10.so.0 => /usr/lib64/libgstreamer-0.10.so.0 (0x00007fcaab25f000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007fcaab00a000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fcaaacd9000)
        libgstapp-0.10.so.0 => /usr/lib64/libgstapp-0.10.so.0 (0x00007fcaaaacc000)
        libgstvideo-0.10.so.0 => /usr/lib64/libgstvideo-0.10.so.0 (0x00007fcaaa8af000)
        libxine.so.2 => /usr/lib64/libxine.so.2 (0x00007fcaaa63f000)
        libv4l1.so.0 => /usr/lib64/libv4l1.so.0 (0x00007fcaaa439000)
        libavcodec.so.54 => /usr/lib64/libavcodec.so.54 (0x00007fcaa96bc000)
        libavformat.so.54 => /usr/lib64/libavformat.so.54 (0x00007fcaa938c000)
        libavutil.so.51 => /usr/lib64/libavutil.so.51 (0x00007fcaa9160000)
        libswscale.so.2 => /usr/lib64/libswscale.so.2 (0x00007fcaa8f13000)
        libQtOpenGL.so.4 => /usr/lib64/qt4/libQtOpenGL.so.4 (0x00007fcaa8c0d000)
        libQtGui.so.4 => /usr/lib64/qt4/libQtGui.so.4 (0x00007fcaa7f1a000)
        libQtCore.so.4 => /usr/lib64/qt4/libQtCore.so.4 (0x00007fcaa7a33000)
        libQtTest.so.4 => /usr/lib64/qt4/libQtTest.so.4 (0x00007fcaa780b000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fcaa7607000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fcaa7400000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fcaa71dd000)
        libjbig.so => /usr/lib64/libjbig.so (0x00007fcaa6fd1000)
        libIex.so.6 => /usr/lib64/libIex.so.6 (0x00007fcaa6dae000)
        libIlmThread.so.6 => /usr/lib64/libIlmThread.so.6 (0x00007fcaa6ba7000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007fcaa69a5000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007fcaa67a0000)
        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007fcaa6434000)
        libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007fcaa622b000)
        libgstbase-0.10.so.0 => /usr/lib64/libgstbase-0.10.so.0 (0x00007fcaa5fd5000)
        liborc-0.4.so.0 => /usr/lib64/liborc-0.4.so.0 (0x00007fcaa5d4e000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fcaa5aac000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fcaa586e000)
        libxdg-basedir.so.1 => /usr/lib64/libxdg-basedir.so.1 (0x00007fcaa566a000)
        libv4l2.so.0 => /usr/lib64/libv4l2.so.0 (0x00007fcaa545e000)
        libva.so.1 => /usr/lib64/libva.so.1 (0x00007fcaa5246000)
        libxvidcore.so.4 => /usr/lib64/libxvidcore.so.4 (0x00007fcaa4f2d000)
        libx264.so.120 => /usr/lib64/libx264.so.120 (0x00007fcaa4bde000)
        libvpx.so.1 => /usr/lib64/libvpx.so.1 (0x00007fcaa4855000)
        libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00007fcaa45ac000)
        libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007fcaa437e000)
        libvo-amrwbenc.so.0 => /usr/lib64/libvo-amrwbenc.so.0 (0x00007fcaa4163000)
        libvo-aacenc.so.0 => /usr/lib64/libvo-aacenc.so.0 (0x00007fcaa3f46000)
        libtwolame.so.0 => /usr/lib64/libtwolame.so.0 (0x00007fcaa3d22000)
        libtheoraenc.so.1 => /usr/lib64/libtheoraenc.so.1 (0x00007fcaa3af4000)
        libtheoradec.so.1 => /usr/lib64/libtheoradec.so.1 (0x00007fcaa38e3000)
        libspeex.so.1 => /usr/lib64/libspeex.so.1 (0x00007fcaa36c8000)
        libschroedinger-1.0.so.0 => /usr/lib64/libschroedinger-1.0.so.0 (0x00007fcaa340a000)
        libopus.so.0 => /usr/lib64/libopus.so.0 (0x00007fcaa31c9000)
        libopenjpeg.so.5 => /usr/lib64/libopenjpeg.so.5 (0x00007fcaa2fa5000)
        libopencore-amrwb.so.0 => /usr/lib64/libopencore-amrwb.so.0 (0x00007fcaa2d90000)
        libopencore-amrnb.so.0 => /usr/lib64/libopencore-amrnb.so.0 (0x00007fcaa2b66000)
        libmp3lame.so.0 => /usr/lib64/libmp3lame.so.0 (0x00007fcaa28ec000)
        libfaac.so.0 => /usr/lib64/libfaac.so.0 (0x00007fcaa26d8000)
        libaacplus.so.2 => /usr/lib64/libaacplus.so.2 (0x00007fcaa24a9000)
        libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007fcaa2237000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007fcaa1e56000)
        librtmp.so.1 => /usr/lib64/librtmp.so.1 (0x00007fcaa1c38000)
        libmodplug.so.1 => /usr/lib64/libmodplug.so.1 (0x00007fcaa1965000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fcaa1754000)
        libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007fcaa1534000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fcaa132a000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fcaa110d000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007fcaa0efd000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fcaa0cf1000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007fcaa0ae6000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fcaa08db000)
        libicuuc.so.52 => /usr/lib64/libicuuc.so.52 (0x00007fcaa055a000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fcaa0330000)
        libv4lconvert.so.0 => /usr/lib64/libv4lconvert.so.0 (0x00007fcaa00b6000)
        libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007fca9feaf000)
        libfftw3f.so.3 => /usr/lib64/libfftw3f.so.3 (0x00007fca9fb31000)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007fca9f85f000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007fca9f62c000)
        libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007fca9f423000)
        libgbm.so.1 => /usr/lib64/libgbm.so.1 (0x00007fca9f21c000)
        libudev.so.1 => /lib64/libudev.so.1 (0x00007fca9f009000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fca9ee03000)
        libicudata.so.52 => /usr/lib64/libicudata.so.52 (0x00007fca9d596000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fca9d391000)
        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007fca9d185000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fca9cf81000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fca9cd69000)
thufir portage # ls -l /usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0
-rwxr-xr-x 1 root root 21296 Mar 15 00:09 /usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0
thufir portage # equery belongs /usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0
 * Searching for /usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0 ...
thufir portage # ls /usr/lib64/OpenCL/vendors/nvidia/
libOpenCL.so.1  libOpenCL.so.1.0.0
thufir portage # rm -rf /usr/lib64/OpenCL/vendors/nvidia/
thufir portage # revdep-rebuild -i
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 100% ]                 

 * Dynamic linking on your system is consistent... All done.
thufir portage # emerge @preserved-rebuild

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4738
Location: Dark side of the mood

PostPosted: Tue Jun 10, 2014 12:55 pm    Post subject: Reply with quote

I haven't had that issue as I never used OpenCL but have you tried to re-emerge nvidia-drivers and remove it? Have you also run eselect opencl as hinted before removing the driver?

See https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 622
Location: DC Burbs

PostPosted: Sat Jun 14, 2014 5:08 am    Post subject: Didn't do either Reply with quote

It would have been a USE flag mess just re-emerging nvidia-drivers to remove it. Since the revdep-rebuild was happy I have moved on. Now that you have brought up the eselect, let's just take a look here:

Code:
$ eselect opencl list
Available OpenCL implementations:
  [1]   mesa


So that appears to be happy as well
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1775

PostPosted: Sat Jun 14, 2014 5:35 am    Post subject: Reply with quote

revdep-rebuild will never do what preserved-libs does because preserved libs prevents the breakages that revdep-rebuild looks for and fixes. So basically revdep-rebuild will never see the preserved libs as broken because they are not broken yet.

I believe that nvidia-drivers is a binary package, correct? It isn't uncommon for updates to break the libraries and running emerge over them isn't going to fix the problem since they are compiled against specific versions.

It should be safe to ignore it. The old library will be preserved until nvidia-drivers is updated. There is really nothing else you can do other than downgrade.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum