Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libusb and libpcre won't stop being preserved libs
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
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1432
Location: Berlin, Germany

PostPosted: Fri May 22, 2009 7:57 pm    Post subject: libusb and libpcre won't stop being preserved libs Reply with quote

Code:
!!! existing preserved libs:
>>> package: dev-libs/libusb-0.1.12-r5
 *  - /lib64/libusb.so
 *      used by /usr/bin/sane-find-scanner (media-gfx/sane-backends-1.0.19-r2)
 *      used by /usr/bin/scanimage (media-gfx/sane-backends-1.0.19-r2)
 *      used by /usr/bin/xsane (media-gfx/xsane-0.996)
 *      used by 80 other files
>>> package: dev-libs/libpcre-7.9-r1
 *  - /lib64/libpcre.so
 *      used by /bin/egrep (sys-apps/grep-2.5.4-r1)
 *      used by /bin/fgrep (sys-apps/grep-2.5.4-r1)
 *      used by /bin/grep (sys-apps/grep-2.5.4-r1)
 *      used by 21 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
is what I get, over and over, like some hellish David Lynch film. It's awful! Running 'emerge @preserved-rebuild' does not fix the problem. Is there any reason for this, or should I simply move on, and try to pretend that I'm not seeing this awful thing at the end of every emerge, mocking me?

If you have any suggestings for how to fix it, I'd be very grateful. I'll be hiding under the desk if you need me.

Thanks,

EE
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1432
Location: Berlin, Germany

PostPosted: Sun Jun 21, 2009 11:09 am    Post subject: Reply with quote

Update!

There are now six preserved libraries, which pull in 106 packages to remerge, every time. On top of that, one of them is the latest version of compiz-backend-kconfig, which is apparently not compatible with the latest kde (again: this happened a few months back with the last version). But regardless: I get an annoying message at the end of every emerge, telling me to emerge these packages, but no emerge changes anything.

Can anybody offer some help on how to fix this? Should I just file a bug?

Thanks,

EE
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Sun Jun 21, 2009 2:15 pm    Post subject: Reply with quote

When I recently had some preserved libs that did that it was due to the rebuilds failing.

What I suspect is your problem is that those packages are not being built with the required use flags to meet the correct elimination of those libs. I would add a -pv to the command to determine the list and Use flags then check their inter-dependencies for the correct USE flags are enabled.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1432
Location: Berlin, Germany

PostPosted: Sat Jul 25, 2009 8:47 pm    Post subject: Reply with quote

I'm not sure what flag needs to be enabled for, say, a new libusb to be used by the sane-find-scanner binary. The usb flag is enabled.

So, how do I go about finding out what flags I need to enable? Some of these libs (there are now more, linked to 114 ebuilds) are very basic ones.

Here's what I get now:

Code:
!!! existing preserved libs:
>>> package: dev-libs/nspr-4.8
 *  - /usr/lib64/nspr/libnspr4.so.7
 *      used by /usr/lib64/nspr/libplc4.so.7 (dev-libs/nspr-4.8)
 *      used by /usr/lib64/openoffice/basis3.1/program/libxsec_xmlsec.so (app-office/openoffice-3.1.0)
 *  - /usr/lib64/nspr/libplc4.so.7
 *      used by /usr/lib64/openoffice/basis3.1/program/libxsec_xmlsec.so (app-office/openoffice-3.1.0)
>>> package: sys-libs/cracklib-2.8.13-r1
 *  - /lib64/libcrack.so
 *      used by /bin/passwd (sys-apps/shadow-4.1.4.1)
 *      used by /lib64/security/pam_cracklib.so (sys-libs/pam-1.1.0)
 *      used by /usr/lib64/python2.6/site-packages/_cracklibmodule.so (sys-libs/cracklib-2.8.13-r1)
 *      used by 3 other files
>>> package: dev-libs/libusb-0.1.12-r5
 *  - /lib64/libusb.so
 *      used by /usr/bin/sane-find-scanner (media-gfx/sane-backends-1.0.20)
 *      used by /usr/bin/scanimage (media-gfx/sane-backends-1.0.20)
 *      used by /usr/bin/xsane (media-gfx/xsane-0.996)
 *      used by 43 other files
>>> package: dev-libs/libpcre-7.9-r1
 *  - /lib64/libpcre.so
 *      used by /bin/egrep (sys-apps/grep-2.5.4-r1)
 *      used by /bin/fgrep (sys-apps/grep-2.5.4-r1)
 *      used by /bin/grep (sys-apps/grep-2.5.4-r1)
 *      used by 29 other files
>>> package: sys-libs/e2fsprogs-libs-1.41.7
 *  - /lib64/libuuid.so
 *      used by /bin/uuidgen (sys-fs/e2fsprogs-1.41.6)
 *      used by /lib64/libblkid.so (sys-libs/e2fsprogs-libs-1.41.7)
 *      used by /lib64/libblkid.so.1.0 (sys-libs/e2fsprogs-libs-1.41.7)
 *      used by 832 other files
 *  - /lib64/libblkid.so
 *      used by /bin/mount (sys-apps/util-linux-2.15.1)
 *      used by /bin/umount (sys-apps/util-linux-2.15.1)
 *      used by /sbin/debugfs (sys-fs/e2fsprogs-1.41.6)
 *      used by 7 other files
 *  - /lib64/libss.so
 *      used by /sbin/debugfs (sys-fs/e2fsprogs-1.41.6)
 *  - /lib64/libcom_err.so
 *      used by /bin/chattr (sys-fs/e2fsprogs-1.41.6)
 *      used by /bin/lsattr (sys-fs/e2fsprogs-1.41.6)
 *      used by /lib64/libext2fs.so.2.4 (sys-fs/e2fsprogs-1.41.6)
 *      used by 12 other files
As you can see, some of the libs are basic libs, that don't take a much USE-flag voodoo to enable. So I'm not really sure how to clear them. Can you offer some advice?

Thanks for the help,

EE
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1432
Location: Berlin, Germany

PostPosted: Sat Jul 25, 2009 9:12 pm    Post subject: Reply with quote

Check that. This is a bug, which you can read about here.
Back to top
View user's profile Send private message
rasmussen
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2002
Posts: 142
Location: .se

PostPosted: Mon Aug 24, 2009 8:02 am    Post subject: Reply with quote

Code:
emerge -C dev-libs/libusb && emerge dev-libs/libusb

fixed it for me.
_________________
When your thread is resolved, putting "[SOLVED]" in its title helps all Gentooers.
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Mon Sep 14, 2009 12:04 am    Post subject: Reply with quote

Thanks, rasmussen.

It fixed it for me too. Now I get no output from
Code:
portageq list_preserved_libs /

_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
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