x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -DPACKAGE_LIBEXEC_DIR=\""/usr/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/etc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/var"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/lib64"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/polkit-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -mtune=core2 -march=core2 -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -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-probe-ata-smart CCLD udisks-probe-sas-expander CCLD udisks-lvm-pv-export CCLD udisks-part-id /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../lib64/liblvm2app.so: undefined reference to `floor' collect2: ld returned 1 exit status make[4]: *** [udisks-lvm-pv-export] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/sys-fs/udisks-1.0.1-r1/work/udisks-1.0.1/src/probers' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/sys-fs/udisks-1.0.1-r1/work/udisks-1.0.1/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/sys-fs/udisks-1.0.1-r1/work/udisks-1.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/sys-fs/udisks-1.0.1-r1/work/udisks-1.0.1' make: *** [all] Error 2 Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34 x86_64) ================================================================= System uname: Linux-2.6.34-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 28 Jul 2010 08:45:03 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 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-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 PUEL googleearth AdobeFlash-10.1 AdobeFlash-10" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -mtune=core2 -march=core2 -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/run/dspam" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -mtune=core2 -march=core2 -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" DISTDIR="/mnt/Dati/Gentoo/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="39" LC_ALL="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu" LINGUAS="it" MAKEOPTS="-j3" PKGDIR="/mnt/Dati/Gentoo/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="/mnt/Dati/Gentoo/tmp/" PORTDIR="/mnt/Dati/Gentoo/portage/" PORTDIR_OVERLAY="/usr/local/portage/myportage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion branding bzip2 cairo caps cdda cddb cdr connectionstatus cracklib crypt css cups curl cxx daemon dbus device-mapper divx dri dts dvd dvdr dvdread dynamicplugin encode exif extras ffmpeg firefox firefox3 flac ftp gallium gif glibc-omitfp glitz glut gnutls gpm hddtemp iconv idn ipod ipv6 irc java java6 javascript jpeg jpeg2k justify kde kde4 kdehiddenvisibility kpathsea kqemu lame lcms libv4l2 lightning lilo live lm_sensors lzo mad matroska mime mmx mmxext mng moonlight mozdevelop mp3 mp4 mp4live mpeg mpeg2 mplayer msn mudflap multilib musepack mysql ncurses network nls nntp npp nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp openssl pam pango pdf plasma png policykit python3 qt3support qt4 quicktime readline reiserfs remote rtc samba scanner sdl secure-delete semantic-desktop session sip slang smp sockets speex spell sse sse2 sse3 ssl ssse3 svg tao theora threads tiff truetype unicode usb userlocales v4l v4l2 vaapi vdpau video vorbis vpx wav wavpack webkit wlm wma wxwindows x264 xcb xcomposite xine xml xorg xpm xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Hello Patrizio, can you please attach the complete build.log and environment files mentioned at the end of the emerege process to this bug, thanks, Michael
Can you please provide the version of lvm2 you've installed (`emerge -pv lvm2` or something like that)
Created attachment 240515 [details] environment
Created attachment 240517 [details] build.log
[ebuild R ] sys-fs/lvm2-2.02.70 USE="lvm1 readline (-clvm) (-cman) (-selinux) -static" 0 kB hope all infos are enough. i will test any patch if you need.
you can not use LDFLAGS="-Wl,--as-needed" to build lvm2 remove as-needed, build lvm2, then, udisks will build
Created attachment 240915 [details, diff] Fix underlinking in lvm2 Adds explicit -lm linking due to usage of function 'floor'. Needs a lvm2 revision bump so the change is propagated.
*** Bug 330837 has been marked as a duplicate of this bug. ***
+*lvm2-2.02.70-r1 (03 Aug 2010) + + 03 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> + +lvm2-2.02.70-r1.ebuild, +files/lvm2-2.02.70-asneeded.patch: + Link liblvm2app to libm even with LDFLAGS="-Wl,--as-needed" wrt #330255 by + Patrizio Bassi.
*** Bug 330983 has been marked as a duplicate of this bug. ***
*** Bug 330993 has been marked as a duplicate of this bug. ***
*** Bug 331015 has been marked as a duplicate of this bug. ***
*** Bug 331117 has been marked as a duplicate of this bug. ***