Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683662 - media-libs/ilmbase-2.3.0 - KeyError: '<portage.util._dyn_libs.LinkageMapELF.LinkageMapELF._ObjectKey object at 0x7fed2859c7f8> (/usr/lib64/libIlmThread-2_2.so.12.0.0) not in object list'
Summary: media-libs/ilmbase-2.3.0 - KeyError: '<portage.util._dyn_libs.LinkageMapELF...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-17 09:02 UTC by Nico Baggus
Modified: 2019-04-17 10:29 UTC (History)
0 users

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 Nico Baggus 2019-04-17 09:02:29 UTC
During the qmerge of ilmbase the following tracedump is produced:

make[2]: Leaving directory '/var/tmp/portage/media-libs/ilmbase-2.3.0/work/ilmbase-2.3.0-abi_x86_64.amd64'
make[1]: Leaving directory '/var/tmp/portage/media-libs/ilmbase-2.3.0/work/ilmbase-2.3.0-abi_x86_64.amd64'
 * Final size of build directory: 6728 KiB (6.5 MiB)
 * Final size of installed tree:  1324 KiB (1.2 MiB)
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/portage/dbapi/_MergeProcess.py", line 234, in _spawn
    prev_mtimes=self.prev_mtimes, counter=counter)
  File "/usr/lib64/python3.6/site-packages/portage/dbapi/vartree.py", line 1677, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/portage/dbapi/vartree.py", line 5176, in merge
    counter=counter)
  File "/usr/lib64/python3.6/site-packages/portage/dbapi/vartree.py", line 4417, in treewalk
    preserve_paths=preserve_paths)
  File "/usr/lib64/python3.6/site-packages/portage/dbapi/vartree.py", line 1677, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/portage/dbapi/vartree.py", line 2100, in unmerge
    preserve_paths=preserve_paths)
  File "/usr/lib64/python3.6/site-packages/portage/dbapi/vartree.py", line 1939, in _prune_plib_registry
    unmerge_no_replacement)
  File "/usr/lib64/python3.6/site-packages/portage/dbapi/vartree.py", line 3292, in _find_unused_preserved_libs
    for c in self.vartree.dbapi._linkmap.findConsumers(f):
  File "/usr/lib64/python3.6/site-packages/portage/util/_dyn_libs/LinkageMapELF.py", line 798, in findConsumers
    raise KeyError("%s (%s) not in object list" % (obj_key, obj))
KeyError: '<portage.util._dyn_libs.LinkageMapELF.LinkageMapELF._ObjectKey object at 0x7fed2859c7f8> (/usr/lib64/libIlmThread-2_2.so.12.0.0) not in object list'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (media-libs/ilmbase-2.3.0:0/24::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/media-libs:ilmbase-2.3.0:20190417-084453.log'
 * 

These files are present:
$ ls -l /usr/lib64/libIlm*
lrwxrwxrwx 1 root root      23 31 jan  2018 /usr/lib64/libIlmImf-2_2.so.22 -> libIlmImf-2_2.so.22.0.0
-rwxr-xr-x 1 root root 2935224 31 jan  2018 /usr/lib64/libIlmImf-2_2.so.22.0.0
lrwxrwxrwx 1 root root      23 13 apr 19:27 /usr/lib64/libIlmImf-2_3.so.24 -> libIlmImf-2_3.so.24.0.0
-rwxr-xr-x 1 root root 2955688 13 apr 19:27 /usr/lib64/libIlmImf-2_3.so.24.0.0
lrwxrwxrwx 1 root root      23 13 apr 19:27 /usr/lib64/libIlmImf.so -> libIlmImf-2_3.so.24.0.0
lrwxrwxrwx 1 root root      27 13 apr 19:27 /usr/lib64/libIlmImfUtil-2_3.so.24 -> libIlmImfUtil-2_3.so.24.0.0
-rwxr-xr-x 1 root root  151520 13 apr 19:27 /usr/lib64/libIlmImfUtil-2_3.so.24.0.0
lrwxrwxrwx 1 root root      27 13 apr 19:27 /usr/lib64/libIlmImfUtil.so -> libIlmImfUtil-2_3.so.24.0.0
lrwxrwxrwx 1 root root      26 31 jan  2018 /usr/lib64/libIlmThread-2_2.so.12 -> libIlmThread-2_2.so.12.0.0
-rwxr-xr-x 1 root root   27056 31 jan  2018 /usr/lib64/libIlmThread-2_2.so.12.0.0
lrwxrwxrwx 1 root root      26 17 apr 10:45 /usr/lib64/libIlmThread-2_3.so.24 -> libIlmThread-2_3.so.24.0.0
-rwxr-xr-x 1 root root   31080 17 apr 10:45 /usr/lib64/libIlmThread-2_3.so.24.0.0
lrwxrwxrwx 1 root root      26 17 apr 10:45 /usr/lib64/libIlmThread.so -> libIlmThread-2_3.so.24.0.0
Comment 1 Nico Baggus 2019-04-17 09:13:19 UTC
removing the mentioned (old file) didn't help.
Comment 2 Nico Baggus 2019-04-17 09:25:40 UTC
Other (re)emerges do work though. 

$ eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7
  [3]   python2.7
  [4]   python3.5 (fallback)
  [5]   jython2.7 (fallback)
Comment 3 Nico Baggus 2019-04-17 09:52:20 UTC
[I] sys-apps/portage
     Available versions:  2.3.40-r1 2.3.49 2.3.51-r1 2.3.62 ~2.3.62-r1 ~2.3.63 **9999 {build doc epydoc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr KERNEL="linux" PYTHON_TARGETS="pypy python2_7 python3_5 python3_6 python3_7"}
     Installed versions:  2.3.62(11:24:03 17-04-19)(ipc native-extensions rsync-verify xattr -build -doc -epydoc -gentoo-dev -selinux KERNEL="linux" PYTHON_TARGETS="python2_7 python3_5 python3_6 -pypy -python3_7")
     Homepage:            https://wiki.gentoo.org/wiki/Project:Portage
     Description:         Portage is the package management and distribution system for Gentoo


Removing stale ilmbase files make ilmbase work again.