Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285651 - sys-fs/device-mapper is blocking sys-fs/udev-146
Summary: sys-fs/device-mapper is blocking sys-fs/udev-146
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-20 07:47 UTC by Vasilis Lourdas
Modified: 2010-08-10 03:53 UTC (History)
7 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 Vasilis Lourdas 2009-09-20 07:47:16 UTC
I just emerged sync today and I get:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-fs/device-mapper-1.02.28  USE="(-selinux)" 0 kB
[ebuild     U ] sys-fs/udev-146 [145-r1] USE="devfs-compat -extras (-selinux)" 519 kB
[blocks B     ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/udev-146)

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 519 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'sys-fs/udev-146', 'merge') pulled in by
    udev

  ('ebuild', '/', 'sys-fs/device-mapper-1.02.28', 'merge') pulled in by
    device-mapper
Comment 1 Cybertinus 2009-09-20 09:29:41 UTC
Same problem here. device-mapper is a dependency of cryptsetup, the tool for luks encrypted disks. It would be nice to have both :). This is my output of emerge:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[...]
[ebuild     U ] sys-fs/udev-146 [145-r1] USE="devfs-compat -extras (-selinux)" 519 kB
[blocks B     ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/udev-146)

Total: 12 packages (10 upgrades, 2 reinstalls), Size of downloads: 19,319 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'sys-fs/device-mapper-1.02.28', 'nomerge') pulled in by
    >=sys-fs/device-mapper-1.00.07-r1 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge')

  ('ebuild', '/', 'sys-fs/udev-146', 'merge') pulled in by
    sys-fs/udev required by @world
    virtual/dev-manager required by @system
    >=sys-fs/udev-124 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge')
    (and 4 more)
Comment 2 Rafał Mużyło 2009-09-20 09:57:39 UTC
This is not really a bug.
You simply don't know, that now device-mapper has been merged into
lvm2.
Comment 3 Christian Peper 2009-09-21 11:43:57 UTC
Well, my sys-fs/cryptsetup-1.0.6-r2 thinks it still needs device-mapper and it does not seem to know about lvm2
Comment 4 Christian Peper 2009-09-21 11:45:58 UTC
Umm sorry, my fault... It does know about it, but I just looked at equery output instead of the ebuild itself
Comment 5 Markus Giese 2009-11-05 03:39:56 UTC
but why then pulls lvm2 still device-mapper in ?!
Comment 6 Markus Giese 2009-11-05 03:43:27 UTC
because i had to unmask it (~x86) thx a lot !
Comment 7 Andreas Thalhammer 2009-12-06 15:59:17 UTC
same here in ppc64


[ebuild     U ] sys-fs/udev-146-r1 [141] USE="devfs-compat%* -extras% (-selinux)" 528 kB
[blocks B     ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/udev-146-r1)


propably the same goes for ppc

Cheers,
Andreas.
Comment 8 Sebastian Mueller 2009-12-08 16:04:23 UTC
(In reply to comment #2)
> This is not really a bug.
> You simply don't know, that now device-mapper has been merged into
> lvm2.
> 

I don't use lvm, i just have cryptsetup installed which needs device-mapper. Should i just install lvm2 and deinstall device-mapper then?
Comment 9 Flavio 2009-12-09 19:33:39 UTC
(In reply to comment #8)
> (In reply to comment #2)
> > This is not really a bug.
> > You simply don't know, that now device-mapper has been merged into
> > lvm2.
> > 
> 
> I don't use lvm, i just have cryptsetup installed which needs device-mapper.
> Should i just install lvm2 and deinstall device-mapper then?
> 
I suppose you did understand correctly! ;)
That's what I've done.

Flavio
Comment 10 Cedric Laczny 2009-12-11 14:59:39 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #2)
> > > This is not really a bug.
> > > You simply don't know, that now device-mapper has been merged into
> > > lvm2.
> > > 
> > 
> > I don't use lvm, i just have cryptsetup installed which needs device-mapper.
> > Should i just install lvm2 and deinstall device-mapper then?
> > 
> I suppose you did understand correctly! ;)
> That's what I've done.
> 
> Flavio
> 

Hi,

well, that's exactly what I did. I unmerged sys-fs/device-mapper-1.02.24-r1 and then wanted to re-emerge sys-fs/cryptsetup-1.0.6-r2 (automatically pulled in and installed sys-fs/lvm2-2.02.51-r1) but compiling failed with following issue:
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wl,-O1 -o cryptsetup -static cryptsetup.o  /usr/lib64/libpopt.a ../lib/.libs/libcryptsetup.a -ldevmapper -L/usr/lib64 /usr/lib64/libgcrypt.a /usr/lib64/libgpg-error.a -luuid                                                                            
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldevmapper                                                                                                
collect2: ld returned 1 exit status                                                                
make[2]: *** [cryptsetup] Fehler 1                                                                 
make[2]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/work/cryptsetup-1.0.6/src' 
make[1]: *** [all-recursive] Fehler 1                                                              
make[1]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/work/cryptsetup-1.0.6'     
make: *** [all] Fehler 2                                                                           
 *                                                                                                 
 * ERROR: sys-fs/cryptsetup-1.0.6-r2 failed.                                                       
 * Call stack:                                                                                     
 *               ebuild.sh, line   49:  Called src_compile                                         
 *             environment, line 3491:  Called die                                                 
 * The specific snippet of code:                                                                   
 *       emake || die                                                                              
 *  The die message:                                                                               
 *   (no error message)                                                                        

and as you can see, it complains about "cannot find -ldevmapper".

So what should be done about this issue?
Thanks
Comment 11 Mariusz Pękala 2009-12-14 12:24:07 UTC
(In reply to comment #10)
> So what should be done about this issue?

You may try to unmask cryptsetup-1.0.7-r1 . It has just compiled fine for me.