After deplean I get this: >>> package: sys-fs/lvm2-2.02.116-r4 * - /lib64/libdevmapper.so.1.02 * used by /opt/VirtualBox/VBoxVolInfo (app-emulation/virtualbox-bin-5.0.16.105871)
Is this RDEPEND mandatory? I didn't have lvm2 on my system (and didn't want to have it) and virtualbox was working just fine. Now, virtualbox-bin-5.0.18 is pulling it. Masked it for now
It's definitely linked: # ldd /opt/VirtualBox/VBoxVolInfo linux-vdso.so.1 (0x00007ffe484d1000) libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007f7174bb6000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6 (0x00007f71748a6000) libc.so.6 => /lib64/libc.so.6 (0x00007f717450a000) libudev.so.1 => /lib64/libudev.so.1 (0x00007f71742e4000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f71740c8000) libm.so.6 => /lib64/libm.so.6 (0x00007f7173dd2000) /lib64/ld-linux-x86-64.so.2 (0x00007f7174e00000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1 (0x00007f7173bbb000) And it's a binary package, so don't think this can be changed(?). I would assume that, even if it mostly works without, all linked libs should be RDEPEND. Is there some other policy when it comes to deps?
/opt/VirtualBox/VBoxVolInfo doesn't even have execute permissions on my system, so I suppose it could be hidden under an use flag, couldn't it?
currently testing app-emulation/virtualbox-bin-5.0.24.108355: # objdump -x /opt/VirtualBox/VBoxVolInfo /opt/VirtualBox/VBoxVolInfo: file format elf64-x86-64 ... Dynamic Section: NEEDED libdevmapper.so.1.02 NEEDED libstdc++.so.6 NEEDED libc.so.6 ... Version References: required from libstdc++.so.6: 0x056bafd3 0x00 04 CXXABI_1.3 required from libdevmapper.so.1.02: 0x00048895 0x00 03 Base required from libc.so.6: 0x09691a75 0x00 02 GLIBC_2.2.5 yes, libdevmapper.so.1.02 is linked against; but no issues here running different guests in non-lvm setups...
Same with virtualbox-bin-4.3.38.106717: !!! existing preserved libs: >>> package: sys-fs/lvm2-2.02.116-r4 * - /lib64/libdevmapper.so.1.02 * used by /opt/VirtualBox/VBoxVolInfo (app-emulation/virtualbox-bin-4.3.38.106717) Use emerge @preserved-rebuild to rebuild packages using these libraries
All remaining unmasked versions have this fixed