Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294083 - sys-fs/lvm2-2.02.51-r1 fails to compile; can't find devmapper-event library
Summary: sys-fs/lvm2-2.02.51-r1 fails to compile; can't find devmapper-event library
Status: RESOLVED DUPLICATE of bug 293272
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 20:01 UTC by Kevin F. Quinn
Modified: 2009-11-23 17:27 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (sys-fs:lvm2-2.02.51-r1:20091122-191253.log,143.33 KB, text/plain)
2009-11-22 20:02 UTC, Kevin F. Quinn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin F. Quinn 2009-11-22 20:01:15 UTC
Build log to follow.
Occurred during update; emerge advised that device-mapper was blocking lvm2, so unmerged device-mapper, which I'm guessing may previously have built the devmapper-event library.  emerge update then failed to compile lvm2 because it can't find -ldevmapper-event.


Reproducible: Always




# emerge --info 
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r7 i686)
=================================================================                                  
System uname: Linux-2.6.30-gentoo-r7-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-1.12.11.1            
Timestamp of tree: Sun, 22 Nov 2009 16:30:01 +0000                                                 
app-shells/bash:     4.0_p28                                                                       
dev-java/java-config: 2.1.9-r1                                                                     
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1                                                     
dev-python/pycrypto: 2.0.1-r6                                                                      
dev-util/cmake:      2.6.4                                                                         
sys-apps/baselayout: 1.12.11.1                                                                     
sys-apps/sandbox:    1.6-r2                                                                        
sys-devel/autoconf:  2.13, 2.63-r1                                                                 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                      
sys-devel/binutils:  2.18-r3                                                                       
sys-devel/gcc-config: 1.4.1                                                                        
sys-devel/libtool:   2.2.6a                                                                        
virtual/os-headers:  2.6.27-r2                                                                     
ACCEPT_KEYWORDS="x86"                                                                              
CBUILD="i686-pc-linux-gnu"                                                                         
CFLAGS="-O2 -march=athlon-xp -pipe -ggdb2"                                                         
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs collision-protect cvs distlocks fixpackages parallel-fetch pax protect-owned sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/ http://mirror.qubenet.net/mirror/gentoo/"
LANG="en_GB"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en it de es fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/tree"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa apache2 audiofile berkdb bluetooth bzip2 cairo caps cdparanoia cdr cli cracklib crypt cups cvs dbus dri dts dv dvb dvd dvdr encode fam ffmpeg firefox flac foomaticdb fortran gcj gdbm gif gnutls gpm gstreamer gtk hal iconv imagemagick imap imlib ipod ipv6 jack java javascript jbig jpeg jpeg2k kde ldap mad mime mmap mmx mng modules mp3 mpeg mplayer mudflap nas ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pda pdf perl png pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session speex spell spl sse ssl subversion svg sysfs tcl tcpd test theora threads tidy tiff tk truetype unicode usb v4l v4l2 vcd vim-syntax vorbis wifi win32codecs wmf x264 x86 xcomposite xine xinerama xml xmlrpc xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en it de es fr" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kevin F. Quinn 2009-11-22 20:02:37 UTC
Created attachment 210914 [details]
build log
Comment 2 Kevin F. Quinn 2009-11-22 20:21:39 UTC
I had a rummage to find out why the system wants to pull lvm2 in in the first place, as it was a new import.  It's caused by use=crypt and sys-apps/hal, which interprets use=crypt to mean "include support for encrypted drives" rather than "mcrypt/gpg" which is what the global use flag means - causes cryptsetup to be pulled in which pulls in lvm2 (or device-mapper, which I removed due to emerge advising of block).
 
Perhaps some rationalisation of the use flag would be useful; suggest keeping use=crypt to mean adding encryption algorithm support and create a separate one to add encrypted disk support (sys-apps/hal, sys-power/suspend), as it makes sense to want the former without necessarily the latter.

I have put sys-apps/hal: -crypt in /etc/portage/package.use for now.
Comment 3 Kevin F. Quinn 2009-11-22 20:24:34 UTC
Last note for now - I believe this relates to changes made on bug #285360 (despite that bug being invalid).
Comment 4 BigBug 2009-11-23 16:06:09 UTC
Same thing for me. No libdevmapper-event lib.
Comment 5 Rafał Mużyło 2009-11-23 17:27:12 UTC

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