View previous topic :: View next topic |
Author |
Message |
ConiKost Developer
Joined: 11 Jan 2005 Posts: 1365
|
Posted: Tue Mar 07, 2006 6:40 pm Post subject: Can't compile LVM2 |
|
|
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 |
|
|
chtephan Apprentice
Joined: 03 Feb 2004 Posts: 266 Location: Offenburg, Germany
|
Posted: Tue Mar 07, 2006 7:05 pm Post subject: |
|
|
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 |
|
|
gcasillo l33t
Joined: 23 Sep 2003 Posts: 739 Location: Cincinnati, Ohio, USA
|
Posted: Wed Mar 08, 2006 12:14 am Post subject: |
|
|
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 |
|
|
elint n00b
Joined: 11 Oct 2005 Posts: 7
|
Posted: Wed Mar 08, 2006 2:40 am Post subject: thank you! |
|
|
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 |
|
|
ConiKost Developer
Joined: 11 Jan 2005 Posts: 1365
|
Posted: Wed Mar 08, 2006 7:21 am Post subject: |
|
|
-blah- |
|
Back to top |
|
|
|
|
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
|
|