Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136139 - LVM2-2.01.09 stable fails to compile
Summary: LVM2-2.01.09 stable fails to compile
Status: RESOLVED DUPLICATE of bug 120511
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-08 21:02 UTC by Mark Felder
Modified: 2006-06-09 00:54 UTC (History)
0 users

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 Mark Felder 2006-06-08 21:02:44 UTC
write-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 lvm-static.c -o lvm-static.o
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':
: 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':
: 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':
: 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':
: warning: Using 'setpwent' 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':
: 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 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  lvm2-2.01.09.ebuild, line 28:   Called die

!!! compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant.



#####
Portage 2.1_rc4-r5 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 Dual Core AMD Opteron(tm) Processor 270
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/gcc-config: 1.3.13-r2
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="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/mnt/files/gentoo/distfiles/"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X avi berkdb bitmap-fonts bzip2 cli crypt cups dbus dri eds emboss encode foomaticdb fortran gif gpm gtk gtk2 hal imlib isdnlog jpeg kde logrotate lzw lzw-tiff mp3 mpeg ncurses nptl opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb xinerama xorg xpm xv zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_vmmouse kernel_linux userland_GNU video_cards_nvidia video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-09 00:54:06 UTC

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