Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296195 - >=sys-fs/lvm2-2.02.56-r1 breaks >=sys-fs/dmraid-1.0.0-rc16 and as-needed
Summary: >=sys-fs/lvm2-2.02.56-r1 breaks >=sys-fs/dmraid-1.0.0-rc16 and as-needed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 15:36 UTC by Roman v. Gemmeren
Modified: 2010-01-20 21:51 UTC (History)
4 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 Roman v. Gemmeren 2009-12-08 15:36:48 UTC
hi,

just upgraded the above packages and noticed, dmraid wouldn't build anymore.
Downgrade to lvm2-2.02.51-r3 solved the problem.
here is the log from dmraid:
make[1]: Entering directory `/var/tmp/portage/sys-fs/dmraid-1.0.0_rc16-r1/work/dmraid/1.0.0.rc16/tools'
x86_64-pc-linux-gnu-gcc -MM -MF dmraid.d -I  -I. -I../include -I../lib -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef
 -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings
 -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c; \
        x86_64-pc-linux-gnu-gcc -c -I  -I. -I../include -I../lib -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcas
t-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winl
ine -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c -o dmraid.o
x86_64-pc-linux-gnu-gcc -MM -MF commands.d -I  -I. -I../include -I../lib -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wund
ef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strin
gs -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c; \
        x86_64-pc-linux-gnu-gcc -c -I  -I. -I../include -I../lib -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcas
t-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winl
ine -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c -o commands.o
x86_64-pc-linux-gnu-gcc -MM -MF toollib.d -I  -I. -I../include -I../lib -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wunde
f -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-string
s -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c; \
        x86_64-pc-linux-gnu-gcc -c -I  -I. -I../include -I../lib -O2 -march=native -mtune=native -pipe -fomit-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcas
t-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winl
ine -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c -o toollib.o
x86_64-pc-linux-gnu-gcc -o dmraid dmraid.o commands.o toollib.o -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu -Wl,-znow -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-s
tyle=gnu -Wl,-znow -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu -Wl,-znow -rdynamic -L../lib \
              -L/usr/lib64 -ldmraid -ldevmapper -ldevmapper-event -ldmraid -ldevmapper  -ldl
../lib/libdmraid.so: undefined reference to `dm_task_get_uuid'
/lib64/libdevmapper-event.so: undefined reference to `dm_log_with_errno'
../lib/libdmraid.so: undefined reference to `dm_log_init'
/lib64/libdevmapper-event.so: undefined reference to `dm_task_set_major'
../lib/libdmraid.so: undefined reference to `dm_task_set_uuid'
/lib64/libdevmapper-event.so: undefined reference to `dm_asprintf'
/lib64/libdevmapper-event.so: undefined reference to `dm_log_is_non_default'
../lib/libdmraid.so: undefined reference to `dm_task_run'
/lib64/libdevmapper-event.so: undefined reference to `dm_malloc_aux'
../lib/libdmraid.so: undefined reference to `dm_get_next_target'
../lib/libdmraid.so: undefined reference to `dm_task_add_target'
../lib/libdmraid.so: undefined reference to `dm_task_create'
../lib/libdmraid.so: undefined reference to `dm_task_get_versions'
../lib/libdmraid.so: undefined reference to `dm_task_no_open_count'
../lib/libdmraid.so: undefined reference to `dm_task_destroy'
../lib/libdmraid.so: undefined reference to `dm_task_get_names'
/lib64/libdevmapper-event.so: undefined reference to `dm_task_get_name'
../lib/libdmraid.so: undefined reference to `dm_lib_release'
../lib/libdmraid.so: undefined reference to `dm_dir'
../lib/libdmraid.so: undefined reference to `dm_task_set_name'
/lib64/libdevmapper-event.so: undefined reference to `dm_log'
/lib64/libdevmapper-event.so: undefined reference to `dm_task_set_minor'
../lib/libdmraid.so: undefined reference to `dm_lib_exit'
../lib/libdmraid.so: undefined reference to `dm_task_get_driver_version'
../lib/libdmraid.so: undefined reference to `dm_task_get_info'
collect2: ld returned 1 exit status
make[1]: *** [dmraid] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/dmraid-1.0.0_rc16-r1/work/dmraid/1.0.0.rc16/tools'
make: *** [tools] Error 2
 * ERROR: sys-fs/dmraid-1.0.0_rc16-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   49:  Called src_compile
 *   environment, line 3522:  Called _eapi2_src_compile
 *     ebuild.sh, line  629:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =sys-fs/dmraid-1.0.0_rc16-r1',
 * the complete build log and the output of 'emerge -pqv =sys-fs/dmraid-1.0.0_rc16-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-fs/dmraid-1.0.0_rc16-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/dmraid-1.0.0_rc16-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-fs/dmraid-1.0.0_rc16-r1/work/dmraid/1.0.0.rc16'



Reproducible: Always
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2009-12-15 14:55:14 UTC
Gut reaction is that they stripped out device-mapper from lvm2, but since i doubt that is actually true I'll do some research and see what's going on.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-12-15 20:54:05 UTC
Can you please test WITHOUT as-needed.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-12-15 20:54:20 UTC
Also, your emerge --info is missing
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-12-26 01:39:48 UTC
I need that info.
Comment 5 Roman v. Gemmeren 2009-12-26 11:05:16 UTC
(In reply to comment #4)
> I need that info.
> 
I am really sorry, i guess i lost track of this after having the flu.
Here is the info, as for the LDFLAGS i suppose they are set default by funtoo, i will try without --as-needed tonight (if i can move again after all the eating..;) or tomorrow morning.

root@Sleipnir:/home/strowi> emerge --info
Portage 2.2_rc60 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.31-zen10 x86_64)
=================================================================
System uname: Linux-2.6.31-zen10-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.1.6
Timestamp of tree: Wed, 23 Dec 2009 07:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.1.6
sys-apps/openrc:     0.5.0-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -mtune=amdfam10 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=amdfam10 -mtune=amdfam10 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fakeroot fixpackages metadata-transfer news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/             http://ftp.uni-erlangen.de/pub/mirrors/gentoo           http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/                 http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/            http://gentoo.mneisen.org/              ftp://de-mirror.org/distro/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages/sleipnir"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/kde-sunset /usr/portage/local/custom"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alac alsa amd64 berkdb branding bzip2 cairo ccache cdr cleartype cli cracklib crypt custom-cflags custom-cpuopts custom-optimization cxx dar64 dbus divx dri dts dv dvb dvd dvdr dvdread encode exif fam fbcondecor ffmpeg firefox flac fortran fuse gif git glitz gpm gs hal iconv imagemagick ithreads java jpeg jpeg2k kde kdehiddenvisibility lame lm_sensors logitech-mouse logrotate lzma lzo mad matroska mjpeg mmx mmxext mng modules mp3 mp4 mpeg mtp mudflap multilib musepack ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp optimized-qmake pam pcre pdf perl png pppd pthreads python qt3support qt4 quicktime rar rdesktop readline realmedia reflection resolvconf rss samba sdl session slp smp spl sqlite srt sse sse2 sse3 ssl ssse ssse2 ssse3 subversion svg sysfs syslog tcpd teletext theora threads tiff truetype truetype-fonts type1-fonts unicode urandom usb userlocales v4l2 vcd vdpau vorbis wavpack webkit wma wmf wmp x264 xcb xcomposite xine xml xmp xorg xscreensaver xv xvid zip zlib zsh-completion" ALSA_CARDS="snd_hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon fuji ptp2" DVB_CARDS="usb-af9015" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 6 Roman v. Gemmeren 2010-01-20 21:51:22 UTC
hi again,

got around and tried it again today, -rc16-r1, with LDFLAGS="" it installed as expected. So i guess it is a problem with --as-needed.