Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936567

Summary: sys-apps/hwloc build binds silently with dev-libs/level-zero
Product: Gentoo Linux Reporter: CaptainBlood <luc_pierard_de_maujouy>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: luc_pierard_de_maujouy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description CaptainBlood 2024-07-23 21:30:05 UTC
Uninstall dev-libs/level-zero caused emerge to ask for a rebuild of sys-apps/hwloc:


emerge -C dev-libs/level-zero
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

 dev-libs/level-zero
    selected: 1.17.6 
   protected: none 
     omitted: none 

All selected packages: =dev-libs/level-zero-1.17.6

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Unmerging (1 of 1) dev-libs/level-zero-1.17.6...
>>> needed   sym /usr/lib64/libze_loader.so.1
>>> needed   obj /usr/lib64/libze_loader.so.1.17.6
mr
 * GNU info directory index is up-to-date.

!!! existing preserved libs:
gcp
>>> package: dev-libs/level-zero-1.17.6
 *  - /usr/lib64/libze_loader.so.1
 *  - /usr/lib64/libze_loader.so.1.17.6
 *      used by /usr/lib64/hwloc/hwloc_levelzero.so (sys-apps/hwloc-2.9.2)
Use emerge @preserved-rebuild to rebuild packages using these libraries

dev-libs/level-zero isn't declared as a dependency in sys-apps/hwloc ebuild.

Futhermore sys-apps/hwloc install here is minimal:

emerge -1 -p -v sys-apps/hwloc
[ebuild   R    ] sys-apps/hwloc-2.9.2:0/15::gentoo  USE="-X -cairo -cpuid (-cuda) -debug -nvml -pci -static-libs -svg -udev -valgrind -xml" ABI_X86="-32 (64) (-x32)" VIDEO_CARDS="-nvidia" 0 KiB

No harm done here, but maybe the ebuild can be strengthen is this respect?
Maybe not...





Reproducible: Always
Comment 1 Paul Zander 2024-07-23 21:53:06 UTC

*** This bug has been marked as a duplicate of bug 927627 ***