Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577060 - app-emulation/virtualbox-bin-5.0.16.105871 missing RDEPEND sys-fs/lvm2
Summary: app-emulation/virtualbox-bin-5.0.16.105871 missing RDEPEND sys-fs/lvm2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Proxy Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-11 12:56 UTC by Maciek Józiewicz
Modified: 2017-08-31 19:59 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 Maciek Józiewicz 2016-03-11 12:56:37 UTC
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)
Comment 1 Vytenis Sodaitis 2016-04-19 18:52:38 UTC
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
Comment 2 Maciek Józiewicz 2016-04-20 06:36:35 UTC
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?
Comment 3 Vytenis Sodaitis 2016-04-20 07:38:47 UTC
/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?
Comment 4 masterzorag 2016-07-12 08:18:09 UTC
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...
Comment 5 Alex Efros 2016-09-30 08:47:13 UTC
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
Comment 6 Ben Kohler gentoo-dev 2017-08-31 19:59:49 UTC
All remaining unmasked versions have this fixed