emerge fam fails, here is a sample of the output rm -fr .libs/libfam.la .libs/libfam.* .libs/libfam.* g++ "{ global:" > .libs/libfam.ver g++: { global:: No such file or directory g++: no input files make[2]: *** [libfam.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/fam-2.7.0/work/fam-2.7.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/fam-2.7.0/work/fam-2.7.0' make: *** [all] Error 2 !!! ERROR: app-admin/fam-2.7.0 failed. !!! Function src_compile, Line 418, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1.emerge fam 2. 3. Actual Results: fam fails to build Expected Results: build and install fam bash-2.05b# emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-gentoo) ================================================================= System uname: 2.6.1-gentoo i686 AMD Athlon(TM) XP2000+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer " CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb cdr crypt cups dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
bug confirmed
Created attachment 25330 [details] modified ebuild Here is a modified ebuild for app-admin/fam v2.7.0. Basically, since we are not patching configure.in and friends (ala the largefile and nostatvfs things which affected 2.6.10), I don't see a reason for the src_unpack() trickery. This isn;t necessarily a fix, but it is a work around which got me back on track. If anyone knows a reason to libtoolize, aclocal and then autoconf the fam-2.7.0 source, lets hear it.
same bug here...
Adding myself on the "/me too" list. There are two problems: a) ./configure is read-only, but autom4te needs write-access b) After rolling a new tar-ball I got the problem written down above. The modified ebuild works fine.
Hi, I have taken a look at what libtoolize pulls in when it is done in the src_unpack function of the ebuild. The following lines are from /usr/share/libtool/libldtl/acinclude.m4 --- linux*) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac if test $supports_anon_versioning = yes; then archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libn ame.ver -o $lib' else $archive_expsym_cmds="$archive_cmds" fi else ld_shlibs=no fi ;; -- The line that says: archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ Appears to be what is causing this problem. I have libtool-1.4.3-r3 and this is a known bug for version 1.4.3 of libtool. See here: http://mail.gnome.org/archives/garnome-list/2003-August/msg00070.html and here: http://mail.gnome.org/archives/garnome-list/2003-August/msg00073.html I think this deserves a new bug entry for libtool-1.4.3-r3.
i get something else: #emerge fam Calculating dependencies ...done! >>> emerge (1 of 1) app-admin/fam-2.7.0 to / >>> md5 src_uri ;-) fam-2.7.0.tar.gz >>> Unpacking source... >>> Unpacking fam-2.7.0.tar.gz to /var/tmp/portage/fam-2.7.0/work autom4te-2.59: cannot open configure: Permission denied !!! ERROR: app-admin/fam-2.7.0 failed. !!! Function src_unpack, Line 22, Exitcode 1 !!! autoconf failed
Updating libtool to latest unstable (1.5.2-r1) solves the problem for me.
updating to the latest unstable libtool also worked for me, this bug should be closed and filed as a libtool bug me thinks.
the same *** This bug has been marked as a duplicate of 41013 ***
IMPORTANT: Try suggested ebuild, it compiles fine, but /etc/init.d/famd WAS NOT created. Tested on a new installed system. Gentoo Base System version 1.4.3.13 Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-rc1-gentoo) ================================================================= System uname: 2.6.3-rc1-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 acpi amd autofs avi berkdb bidi bluetooth bonobo cjk crypt cups dga dnd doc dv dvb dvd encode ethereal fbcon flac flash gif gimpprint glade gnome gnomedb gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib input_devices_synaptics ipv6 irda javascript jpeg mad mikmod mldonkeypango mmx motif mpeg mpeg4 ncurses nls nptl offensive oggvorbis opengl oss pam pcmcia pda pdflib perl pic pie png pnp python quicktime radeon readline sdl slang spell sse ssl svg svga tcpd threads tiff truetype trusted type1 unicode usb video_cards_radeon videos wmf x86 xinerama xml2 xmms xv zlib"