-march=native -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -c -o udisks_lvm_pv_export-udisks-lvm-pv-export.o `test -f 'udisks-lvm-pv-export.c' || echo './'`udisks-lvm-pv-export.c CCLD udisks-dm-export CCLD udisks-part-id CCLD udisks-probe-sas-expander CCLD udisks-probe-ata-smart CCLD udisks-lvm-pv-export /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/liblvm2app.so: undefined reference to `dlsym' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/liblvm2app.so: undefined reference to `dlerror' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/liblvm2app.so: undefined reference to `dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/liblvm2app.so: undefined reference to `dlclose' collect2: ld returned 1 exit status make[4]: *** [udisks-lvm-pv-export] Error 1 Reproducible: Always emerge --info =sys-fs/udisks-1.0.1 Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.30-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 11 Apr 2010 17:00:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.7.9-r1, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test-fail-continue unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://mirror.fslutd.org/linux/distributions/gentoo/ " LANG="C" LDFLAGS="-Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j5" 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/portage/layman/perl-experimental /usr/local/portage/layman/pro-audio /usr/local/portage/layman/gnome /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cdrtools cleartype cli colordiff consolekit corefonts cracklib crypt cups cxx dbus device-mapper doc dri dts dvd dvdr emboss encode exif extensions extras fam ffmpeg firefox firefox3 flac fontconfig foomaticdb fortran fts3 gdbm gdu gif gimp git gnome gnutls gpm graphviz gstreamer gtk guidexml hal iconv imagemagick ipv6 jadetex jpeg kdrive lame lcms ldap libnotify mad mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl plugins png policykit ppds pppd python qt3support readline reflection sdl secure-delete session sip slang spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg svgz sysfs tcpd templates themes theora tiff tk totem truetype unicode usb v4l2 vim vim-syntax vim-with-x vorbis wav x264 xcb xcomposite xft xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge -pqv =sys-fs/udisks-1.0.1 [ebuild N ] sys-fs/udisks-1.0.1 USE="bash-completion doc nls -debug -remote-access" [uninstall ] sys-apps/devicekit-disks-009 USE="bash-completion doc -debug" [blocks b ] sys-apps/devicekit-disks ("sys-apps/devicekit-disks" is blocking sys-fs/udisks-1.0.1)
Created attachment 227423 [details] build.log
Looks like missing dep, installed sys-fs/lvm2 and emerged fine.
I already had lvm2 installed, but I got the same error. Re-emerging it fixed it.
There was a bug in lvm2-2.02.61, which is fixed by patch in gnome-overlay, and fixed in upstream for lvm2-2.02.62. weak linking to -ldl in Makefile's. closing as invalid then, since the broken lvm2 has never been in portage. ( my lvm2 is from here http://bugs.gentoo.org/show_bug.cgi?id=309757#c4 )