Hi! Since I want to upgrade kernel from 2.6.17 to 2.6.19, I need to upgrade evms, but latest evms-2.5.5-r4 fails on amd64 - see attachment. Portage 2.1.2_rc2-r5 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r6 x86_64) ================================================================= System uname: 2.6.17-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.5 Last Sync: Fri, 08 Dec 2006 08:00:01 +0000 ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -funroll-loops" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF8" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" LINGUAS="en" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/usr/portage/local /usr/portage/local/layman/haskell /usr/portage/local/layman/cinelerra" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa alsa_cards_intel8x0,usb-audio amr apache2 avahi bash-completion bashlogger beagle berkdb bitmap-fonts bogofilter branding browserplugin cairo caps cddb cdparanoia cdr chm cli cracklib crypt css cups dar64 dbus dga dlloader doc dri dts dv dvd dvdr dvdread dvi eds elibc_glibc emboss emul-linux-x86 encode epiphany esd evo evolution exif fam fame fbcon ffmpeg firefox flac fltk font-server fortran freetype2 galago gdbm gedit gif gimp gimpprint glade glitz gmail gnome gnomedb gpgme gpm grammar gstreamer gtk gtk2 gtkhtml hal haskell hddtemp howl i8x0 iconv ieee1394 imap innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog jikes jpeg jpeg2k kernel_linux ladspa ldap libg++ libgda libnotify libsamplerate libsexy linguas_en lm_sensors logitech-mouse lzo mad maildir mailwrapper md5 md5sum mikmod mime mjpeg mmap mono mozsvg mp3 mp4 mpeg musepack musicbrainz nautilus ncurses nls nntp noamazon nptl nptlonly nsplugin numeric nvtv ogg oggvorbis openexr opengl oss pam pccts pcre pda pdf perl pic png pop ppds pppd python quicktime rar readline reflection sasl sdl sensord session sftp silc smime sndfile sounds sox spell spl sqlite sqlite3 ssl svg t1lib tagwriting tcpd tetex theora thesaurus threads tidy tiff truetype truetype-fonts type1-fonts ucs2 udev unicode userland_GNU vcd video_cards_nv video_cards_nvidia video_cards_vesa vim-with-x visualization vorbis wv wxwindows x264 xface xine xml xorg xprint xscreensaver xv xvid yv12 zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS Sincerely, Gour
Created attachment 103609 [details] evms-2.5.5-r4 ebuild fails - log Hi! Here is part of log file showing how ebuild fails. Sincerely, Gour
On a side note: sticking '-Wl,--enable-new-dtags -s' into LDFLAGS is 200% pointless...
I'm sorry, but I can't reproduce it here: [...] x86_64-pc-linux-gnu-gcc -I../../include -I../../intl -I/usr/include/ncurses -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DENABLE_NLS -DPACKAGE=\"evms\" -DLOCALEDIR=\"/usr/share/locale\" -DMAJOR_VERSION=2 -DMINOR_VERSION=5 -DPATCH_LEVEL=5 -DVERSION=\"2.5.5\" -DDATE=\"12/08/06\" -Wall -fPIC -fno-strict-aliasing -O2 -march=nocona -pipe -mno-tls-direct-seg-refs -c window.c -o window.o x86_64-pc-linux-gnu-gcc -L../../engine -o evmsn activation.o add.o backup.o callbacks.o clist.o common.o container.o convert.o create.o delete.o dialog.o enum.o fsutils.o main.o menu.o modify.o mount.o object.o options.o plugin.o readable.o remove.o replace.o resize.o save.o selwin.o settings.o task.o value.o views.o volume.o window.o -levms -Wl,-dn -lpanel -lglib-2.0 -Wl,-dy -lncurses -lm -lpthread make[2]: Leaving directory `/var/tmp/portage/sys-fs/evms-2.5.5-r4/work/evms-2.5.5/ui/ncurses' make[2]: Entering directory `/var/tmp/portage/sys-fs/evms-2.5.5-r4/work/evms-2.5.5/ui/utils' x86_64-pc-linux-gnu-gcc -E -M -I../../include -I../../intl -DENABLE_NLS -DPACKAGE=\"evms\" -DLOCALEDIR=\"/usr/share/locale\" -DMAJOR_VERSION=2 -DMINOR_VERSION=5 -DPATCH_LEVEL=5 -DVERSION=\"2.5.5\" -DDATE=\"12/08/06\" evms_activate.c evms_metadata_backup.c evms_metadata_restore.c evms_query.c evmsd.c > .depend x86_64-pc-linux-gnu-gcc -I../../include -I../../intl -DENABLE_NLS -DPACKAGE=\"evms\" -DLOCALEDIR=\"/usr/share/locale\" -DMAJOR_VERSION=2 -DMINOR_VERSION=5 -DPATCH_LEVEL=5 -DVERSION=\"2.5.5\" -DDATE=\"12/08/06\" -Wall -fPIC -fno-strict-aliasing -O2 -march=nocona -pipe -mno-tls-direct-seg-refs -c evms_activate.c -o evms_activate.o [...] Please check whether glib-2* is installed (it may sometimes happen that the dependencies aren't in the right order, especially when doing a large update). And get sane LDFLAGS.
... and please check whether /usr/lib points to /usr/lib64
(In reply to comment #3) > I'm sorry, but I can't reproduce it here: [...] > > Please check whether glib-2* is installed (it may sometimes happen that the > dependencies aren't in the right order, especially when doing a large update). I had glib-2.12.4 installed, but the fix is to upgrade to glib-2.12.4-r1 which fixes http://bugs.gentoo.org/show_bug.cgi?id=153807. So, RDEPEND in 2.5.5-r4 should reflect it, 'cause #153807 is not reflected in: ncurses? ( sys-libs/ncurses =dev-libs/glib-2* )" > And get sane LDFLAGS. Thank you for pointing out. Now I put simple LDFLAGS="-Wl,-O1" ;) You can close the bug as far as I'm concerned. Sincerely, Gour
Fixed in CVS, thanks!