FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Portage Developer

 
 
LinkBack Thread Tools
 
Old 07-07-2008, 03:36 PM
Paul Varner
 
Default FEATURE=preserved-libs issues

Since installing portage-2.2, I have had preserved-libs kick in twice on
all of my machines. Each time that it has kicked in the emerge
@preserved-libs command has failed miserably and I have had to revert
back to using revdep-rebuild to fix the problems.

I'm not positive that this is neccessarily an issue with preserved-libs
directly, but I'm not sure what is needed to file the appropriate bugs
to get this feature working correctly.

Here are the two cases that I have found so far:

1. Upgrade to dev-libs/nss

During emerge @preserved-libs, evolution refused to compile. It appears
that the compilation was still attempting to use the older nss
libraries.

See http://forums.gentoo.org/viewtopic-t-697944-highlight-.html for
someone else's issue with this upgrade.

2. Upgrade to www-client/mozilla-firefox to version 3

After upgrading, perserved-libs kept a couple of the older libraries
around and wanted to remerge firefox. emerge @preserved-libs did not
get rid of the libraries and firefox would not run. I ended up having
to unmerge mozilla-firefox and re-emerging to get rid of the old
libraries and to get it functioning.

My first question is what specificially do I need to collect to check if
it is a preserved-libs problem versus and application problem?

My second question is when revdep-rebuild is used in these cases, It
won't find the problems unless the --library option is used. Is there a
portage API function that I can use to tell it to remove the
preserved-libs? (I know this will cause software linked against the old
versions to break, and if I add anything to revdep-rebuild, it will not
be a default option)

Regards,
Paul
--
gentoo-portage-dev@lists.gentoo.org mailing list
 
Old 07-07-2008, 05:04 PM
Arfrever Frehtes Taifersar Arahesis
 
Default FEATURE=preserved-libs issues

2008-07-07 17:36:12 Paul Varner napisaƂ(a):
> 2. Upgrade to www-client/mozilla-firefox to version 3
>
> After upgrading, perserved-libs kept a couple of the older libraries
> around and wanted to remerge firefox. emerge @preserved-libs did not
> get rid of the libraries and firefox would not run.

It might be an instance of Bug #220953.

> Is there a portage API function that I can use to tell it to remove the
> preserved-libs?

You can use:
rm -f $(portageq list_preserved_libs / | sed -e "s/^.* //")

--
Arfrever Frehtes Taifersar Arahesis
 

Thread Tools




All times are GMT. The time now is 07:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org