Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile LVM2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ConiKost
Veteran
Veteran


Joined: 11 Jan 2005
Posts: 1338

PostPosted: Tue Mar 07, 2006 6:40 pm    Post subject: Can't compile LVM2 Reply with quote

Hi There!
I can't compile LVM2 anymore ... what i am doing wrong?

Code:

Metabox conikost # emerge -av lvm2


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-fs/lvm2-2.02.01  USE="nolvm1* nolvmstatic* nomirrors* nosnap   shots* readline* -clvm -nocman" 0 kB

1 -DHAVE_LIBDEVMAPPER_H=1  -fomit-frame-pointer -march=pentium-mmx -mmmx -Os -pipe -DPOOL_INTERNAL -DCLUSTER_LOCKING_INTERNAL -DSNAPSHOT_INTERNAL -DMIRRORED_INTERNAL -DREADLINE_SUPPORT -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT -DHAVE_LIBDL -DHAVE_GETOPTLONG -DHAVE_RL_COMPLETION_MATCHES -DMODPROBE_CMD=\"/sbin/modprobe\" -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 activate/fs.c -o activate/fs.o
mirror/mirrored.c: In function `_add_log':
mirror/mirrored.c:241: Fehler: zu wenig Argumente für Funktion »dm_tree_node_add_mirror_target_log«
make[1]: *** [mirror/mirrored.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: Leaving directory `/var/tmp/portage/lvm2-2.02.01/work/LVM2.2.02.01/lib'
make: *** [lib] Fehler 2

!!! ERROR: sys-fs/lvm2-2.02.01 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

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


emerge --info

Code:

Portage 2.1_pre5-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-ge                                          ntoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.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/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-fomit-frame-pointer -march=pentium-mmx -mmmx -Os -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/con                                          fig /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-fomit-frame-pointer -march=pentium-mmx -mmmx -Os -pipe -fvisibility-inli                                          nes-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informati                                          k.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gento                                          o-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.                                          de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.u                                          ni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirro                                          rs/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirr                                          ors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mir                                          rors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.m                                          esh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemoni                                          um.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-di                                          stfiles/ http://gentoo.intergenia.de"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 a52 aac alsa apache2 apm bash-completion bzip2 cdinstall dedicated dts dvd                                           ftp gd gpm javascript jpeg mmx mp3 mpeg mysql ncurses nls nptl ogg pam pcmcia pcre                                           png quicktime readline samba session slang source spell ssl symlink tcpd tiff true                                          type unicode usb v4l vcd wifi win32codecs xml zlib elibc_glibc input_devices_keyboa                                          rd input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_ati video_c                                          ards_cyrix video_cards_fbdev video_cards_v4l video_cards_vesa video_cards_vga video                                          _cards_vmware"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
chtephan
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 266
Location: Offenburg, Germany

PostPosted: Tue Mar 07, 2006 7:05 pm    Post subject: Reply with quote

The device-mapper 1.02.03 package is API/ABI incompatible with 2.01. Unfortunately the genius who bumped the device-mapper ebuild forgot to bump lvm2 to 2.02.02 too, which is the accompanying version. Either mask device-mapper 1.02.03 or copy the lvm2-2.02.01.ebuild to lvm2-2.02.02.ebuild, run "ebuild lvm2-2.02.01.ebuild digest" on it and then emerge it (and ignore portage wanting to downgrade it again until someone puts the ebuild into the tree).
Back to top
View user's profile Send private message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 736
Location: Cincinnati, Ohio, USA

PostPosted: Wed Mar 08, 2006 12:14 am    Post subject: Reply with quote

Just ran into this problem...again. I thought this was licked before. Guess not.

So let me get this straight. device-mapper-1.02.02 works, but device-mapper-1.02.03 does not? In other words, the older version is ABI compatible? Bizzare.
Back to top
View user's profile Send private message
elint
n00b
n00b


Joined: 11 Oct 2005
Posts: 7

PostPosted: Wed Mar 08, 2006 2:40 am    Post subject: thank you! Reply with quote

Rock on. Posted about this a couple of days ago, but didn't get a good solution other than "don't use ACCEPT_KEYWORDS=~x86". That's probably still a better solution for me anyway, but masking device-mapper to 1.02.02 works fine.

Thanks :)
Back to top
View user's profile Send private message
ConiKost
Veteran
Veteran


Joined: 11 Jan 2005
Posts: 1338

PostPosted: Wed Mar 08, 2006 7:21 am    Post subject: Reply with quote

-blah-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum