Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141350 - sys-fs/lvm2-2.02.06 fails to emerge with DM_CORELOG undeclared
Summary: sys-fs/lvm2-2.02.06 fails to emerge with DM_CORELOG undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Eric Edgar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-21 17:54 UTC by Wonko
Modified: 2006-09-07 09:58 UTC (History)
2 users (show)

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 Wonko 2006-07-21 17:54:35 UTC
Building fails with this error message:

i686-pc-linux-gnu-gcc -c -I. -I../include -DHAVE_CONFIG_H -march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer -march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -O2 -march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -O2 mirror/mirrored.c -o mirror/mirrored.o
i686-pc-linux-gnu-gcc -c -I. -I../include -DHAVE_CONFIG_H -march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer -march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -O2 -march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -O2 activate/dev_manager.c -o activate/dev_manager.o
distcc[23222] ERROR: compile /var/tmp/ccache/mirrored.tmp.weird.23214.i on localhost failed
mirror/mirrored.c: In function `_add_log':
mirror/mirrored.c:255: error: `DM_CORELOG' undeclared (first use in this function)
mirror/mirrored.c:255: error: (Each undeclared identifier is reported only once
mirror/mirrored.c:255: error: for each function it appears in.)
make[1]: *** [mirror/mirrored.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/lvm2-2.02.06/work/LVM2.2.02.06/lib'
make: *** [lib] Error 2

!!! ERROR: sys-fs/lvm2-2.02.06 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  lvm2-2.02.06.ebuild, line 86:   Called die

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


2.02.05 still emerges fine.


Portage 2.1.1_pre3-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/openldap/schema /etc/revdep-rebuild /etc/sane.d /etc/sound/events /etc/terminfo /etc/webmin /etc/xdg/xfce4 /usr/lib/X11/xkb /usr/share/texmf/dvips/config"
CXXFLAGS="-march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer"
DISTDIR="/data/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ rsync://ftp.snt.utwente.nl/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j7"
PKGDIR="/data/portage/hosts/weird/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="/data/portage/gentoo-portage"
PORTDIR_OVERLAY="/data/portage/local"
SYNC="rsync://zone.wonkology.org/gentoo-portage"
USE="x86 3dnow X aac aalib acl acpi aim alsa apache2 apm arts artswrappersuid audiofile avi bash-completion bcmath berkdb bitmap-fonts bluetooth bzip2 cdparanoia cdr clamav cli crypt ctype cups dbus dga dio directfb dlloader doc dri dvd dvdr dvdread eds emboss encode esd fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm ggi gif ginac gphoto gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas libg++ libwww lirc lm_sensors mad maildir matrox mikmod mime mmx mng motif mp3 mpeg ncurses nls nptl nsplugin ntpl ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php plotutils png ppds pppd python qt qt3 qt4 quicktime radius readline real recode reflection ruby samba scanner sdl session slang sndfile sockets sox speex spell spl sse sse2 ssl svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb videos vorbis win32codecs wmf wxwindows xine xml xmms xorg xosd xpm xv xvid zlib elibc_glibc fritzcapi_cards_fcpci input_devices_kbd input_devices_keyboard input_devices_mouse kernel_linux linguas_de lirc_devices_serial userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_vga video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Davidsaver 2006-08-06 20:22:21 UTC
I had the same problem on amd64.  lvm2-2.02.06 is set to require >=device-mapper-1.02.03, but a quick look at the dm source shows that the DM_CORELOG macro is defined in 1.02.07 but not .05 or .03.

I'm using 1.02.07 now that bug 131662 seems to be resolved.
Comment 2 Eric Edgar (RETIRED) gentoo-dev 2006-09-07 09:58:19 UTC
the ebuild has been updated to reflect this information.