Summary: | When trying to emerge FAM 2.7.0 ebuild fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brian Bianco <geekbri> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | cynick.young, dju, jpalko, pylon, s.cloherty, sam |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | modified ebuild |
Description
Brian Bianco
2004-02-09 23:21:26 UTC
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" |