Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239039 - Removing a package having an entry in preserved libs causes a backtrace
Summary: Removing a package having an entry in preserved libs causes a backtrace
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: preserve-libs
  Show dependency tree
 
Reported: 2008-09-29 12:22 UTC by Priit Laes (IRC: plaes)
Modified: 2011-04-22 03:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2008-09-29 12:22:29 UTC
For example:

emerge -C webkit-gtk causes following backtrace after it has been unmerged and @preserved-libs warning message is printed:

!!! existing preserved libs:
>>> package: x11-libs/libxcb-9999
 *  - /usr/lib64/libxcb-xlib.so.0
Traceback (most recent call last):
  File "/usr/bin/emerge", line 18, in <module>
    retval = _emerge.emerge_main()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 13835, in emerge_main
    post_emerge(root_config, myopts, mtimedb, os.EX_OK)
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 10990, in post_emerge
    display_preserved_libs(vardbapi)	
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 10895, in display_preserved_libs
    print colorize("WARN", " * ") + "     used by %s (%s)" % (c, ", ".join([x.mycpv for x in owners[c]]))
KeyError: '/usr/lib64/libwebkit-1.0.so.1.0.0'