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

Bug 424810

Summary: sys-fs/lvm2 does not compile against >=sys-fs/udev-186
Product: Gentoo Linux Reporter: Marien Zwart (RETIRED) <marienz>
Component: [OLD] Core systemAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: major CC: b.buschinski, crabbedhaloablution, harrisl, kjbrandstatter, m.debruijne, neil, skrattaren, Thomas.Rausch, vamp898, vmikhailikov
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.fedorahosted.org/git?p=lvm2.git;a=commit;h=06738cac051b671ed26bd137676713eab457b37f
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 424805    
Attachments: upstream commit 06738cac051b671ed26bd137676713eab457b37f without NEWS file

Description Marien Zwart (RETIRED) gentoo-dev 2012-07-04 22:40:36 UTC
Created attachment 317180 [details, diff]
upstream commit 06738cac051b671ed26bd137676713eab457b37f without NEWS file

sys-fs/udev-186 removed some symbols, including udev_get_dev_path which lvm2 uses. Commit 06738cac051b671ed26bd137676713eab457b37f upstream removes the dependency on this one, hardcoding the path to /dev instead (patch attached, NEWS file addition removed because it doesn't apply).
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-07-05 06:26:30 UTC
*** Bug 424850 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-07-05 07:42:57 UTC
*** Bug 424820 has been marked as a duplicate of this bug. ***
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-07-05 08:54:49 UTC
lvm2-2.02.95-r3 in Portage with the upstream patch.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-07-05 17:12:44 UTC
*** Bug 424890 has been marked as a duplicate of this bug. ***
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-07-06 07:54:07 UTC
*** Bug 425010 has been marked as a duplicate of this bug. ***
Comment 6 Kobboi 2012-08-17 10:10:27 UTC
Even though I believe it's fixed in the ebuild version mentioned, my current lvm2 version (the stable one) still fails. Can someone add the right blocker/dependency to make sure the package manager tells me upfront of an incompatibility, instead of trying and failing? Thanks!
Comment 7 ewomer 2012-11-27 04:22:10 UTC
update lvm2 to 2.02.97-r1. Its nasty to update to an unstable version but it is a fix.
Comment 8 Mark Winn 2012-12-09 19:53:43 UTC
@ salamanderake - Thanks a million for the tip - it worked for me
echo "=sys-fs/lvm2-2.02.97-r1 ~amd64" >> /etc/portage/package.keywords
emerge -uND --with-bdeps=y @world

problem solved