Hi all, the "stable" version of lvm2 (sys-fs/lvm2-2.01.09) fails to link: # CFLAGS="" emerge -av lvm2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-fs/lvm2-2.01.09 USE="readline -nolvmstatic" 0 kB leds to: ----------snip---------- x86_64-pc-linux-gnu-gcc -E -P cmdnames.h 2> /dev/null | \ egrep -v '^ *(|#.*|dumpconfig|formats|help|pvdata|segtypes|version) *$' > .commands x86_64-pc-linux-gnu-gcc -o lvm archiver.o dumpconfig.o formats.o lvchange.o lvcreate.o lvdisplay.o lvextend.o lvmchange.o lvmcmdline.o lvmdiskscan.o lvreduce.o lvremove.o lvrename.o lvresize.o lvscan.o polldaemon.o pvchange.o pvcreate.o pvdisplay.o pvmove.o pvremove.o pvscan.o reporter.o segtypes.o toollib.o vgcfgbackup.o vgcfgrestore.o vgchange.o vgck.o vgcreate.o vgconvert.o vgdisplay.o vgexport.o vgextend.o vgimport.o vgmerge.o vgmknodes.o vgreduce.o vgremove.o vgrename.o vgscan.o vgsplit.o lvm.o -Wl,--export-dynamic -L../lib -L/usr/lib64 -llvm -ldevmapper -lreadline -ldl -lncurses -rdynamic x86_64-pc-linux-gnu-gcc -o lvm.static archiver.o dumpconfig.o formats.o lvchange.o lvcreate.o lvdisplay.o lvextend.o lvmchange.o lvmcmdline.o lvmdiskscan.o lvreduce.o lvremove.o lvrename.o lvresize.o lvscan.o polldaemon.o pvchange.o pvcreate.o pvdisplay.o pvmove.o pvremove.o pvscan.o reporter.o segtypes.o toollib.o vgcfgbackup.o vgcfgrestore.o vgchange.o vgck.o vgcreate.o vgconvert.o vgdisplay.o vgexport.o vgextend.o vgimport.o vgmerge.o vgmknodes.o vgreduce.o vgremove.o vgrename.o vgscan.o vgsplit.o lvm-static.o -static -Wl,--export-dynamic -L../lib -L/usr/lib64 -llvm -ldevmapper \ -lreadline -ldl -lncurses -rdynamic /usr/lib64/libdevmapper.a(pool.o): In function `_align_chunk': : multiple definition of `_align_chunk' ../lib/liblvm.a(pool.o):pool.c:(.text+0xf0): first defined here /usr/lib64/libdevmapper.a(pool.o): In function `_new_chunk': : multiple definition of `_new_chunk' ../lib/liblvm.a(pool.o):pool.c:(.text+0x110): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: Warning: size of symbol `_new_chunk' changed from 143 in ../lib/liblvm.a(pool.o) to 146 in /usr/lib64/libdevmapper.a(pool.o) ../lib/liblvm.a(sharedlib.o): In function `load_shared_library': sharedlib.c:(.text+0xbb): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/libreadline.a(complete.o): In function `rl_username_completion_function': complete.c:(.text+0x25d7): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/libreadline.a(tilde.o): In function `tilde_expand_word': tilde.c:(.text+0x20d): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/libreadline.a(shell.o): In function `sh_get_home_dir': shell.c:(.text+0x15b): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/libreadline.a(complete.o): In function `rl_username_completion_function': complete.c:(.text+0x25d2): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking complete.c:(.text+0x2681): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking collect2: ld returned 1 exit status make[1]: *** [lvm.static] Error 1 make[1]: Leaving directory `/var/tmp/portage/lvm2-2.01.09/work/LVM2.2.01.09/tools' make: *** [tools] Error 2 !!! ERROR: sys-fs/lvm2-2.01.09 failed. Call stack: ebuild.sh, line 1532: Called dyn_compile ebuild.sh, line 929: Called src_compile lvm2-2.01.09.ebuild, line 28: Called die ------------------------ I belief this issue was in bugzilla filed before _but_ the version fixing this problem isn't marked stable at present time which is very annoying (i have several new lvm2 installations where i have to deal with this issue) This is more an request to unmask the fixed version ( sys-fs/lvm2-2.02.04-r1 is running great) rather than to try fixing this version. Thanks for attention! M. Scherer
sorry missed my emerge --info: # emerge --info Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r1, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Opteron(tm) Processor 146 Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -fprefetch-loop-arrays -funit-at-a-time -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/init.d /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -fprefetch-loop-arrays -funit-at-a-time -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs distlocks metadata-transfer parallel-fetch pgp sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/" LINGUAS="de en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://194.97.4.250/gentoo-portage/" USE="amd64 X aac aalib acpi alsa asterisk bash-completion berkdb bitmap-fonts cairo cddb cdr cli crypt cscope cups dga dri dvd dvdr dvdread eds emboss encode fbcon flac foomaticdb gif glitz glut glx gpm gstreamer gtk gtk2 gtkhtml hal imlib ipv6 isdnlog java jikes jpeg junit libwww lzw lzw-tiff mad mime motif mozilla mp3 mpeg mpi msn ncurses nls nptl ogg oggvorbis openal opengl oscar pam pcre pdf pdflib perl pic pie png ppds pppd python qt quicktime readline reflection sdl session slang spell spl ssl svg symlink tcltk tcpd tetex threads tiff truetype-fonts type1-fonts unicode usb v4l vcd vorbis wxwindows xinerama xml2 xmms xorg xosd xpm xprint xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_de linguas_en userland_GNU video_cards_fglrx video_cards_vga video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Really no need for another duplicate bugs. Stabilization is handled in Bug 130529 *** This bug has been marked as a duplicate of 120511 *** *** This bug has been marked as a duplicate of 120511 ***