Summary: | emerge fam :: ERROR: app-admin/fam-2.7.0 failed. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Molchanov Alexander <xorader> |
Component: | Current packages | Assignee: | foser (RETIRED) <foser> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | andre, dju, floeff, geert, gentoo, geoffm, Jonathan.M.Hanson, matt, nimrod, vapier, wolf31o2 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Error compiling app-admin/fam-2.7.0-r2 |
Description
Molchanov Alexander
2004-02-10 22:27:06 UTC
# emerge -v 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.58: cannot open configure: Permission denied !!! ERROR: app-admin/fam-2.7.0 failed. !!! Function src_unpack, Line 22, Exitcode 1 !!! autoconf failed # tar tzvf fam-2.7.0.tar.gz | egrep "/configure$" -r-xr-xr-x mraymond/os 347684 2003-11-26 22:47:26 fam-2.7.0/configure ----- ok, change ebuild: # diff -U4 fam-2.7.0.ebuild.old fam-2.7.0.ebuild --- fam-2.7.0.ebuild.old 2004-02-11 09:20:17.044287962 +0300 +++ fam-2.7.0.ebuild 2004-02-11 09:20:40.575239062 +0300 @@ -17,8 +17,9 @@ src_unpack() { unpack ${A} cd ${S} libtoolize -c -f || die "libtoolize failed" + chmod u+w configure aclocal || die "aclocal failed" autoconf || die "autoconf failed" } ---- # emerge -v 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 >>> Source unpacked. [... skiped ...] make[2]: Entering directory `/var/tmp/portage/fam-2.7.0/work/fam-2.7.0/lib' [... skiped ...] /bin/sh ../libtool --mode=link g++ -O2 -mcpu=i686 -pipe -o libfam.la -rpath /usr/lib -export-symbols fam.sym Client.lo fam.lo -lstdc++ -lrpcsvc 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] ïÛÉÂËÁ 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 -v fam 2. 3. Actual Results: # emerge -v 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.58: cannot open configure: Permission denied # gcc --version gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # autoconf --version autoconf (GNU Autoconf) 2.58 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # make --version GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # emerge -pv glibc These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-libs/glibc-2.3.2-r9 -build +nls -nptl -pic 0 kB # ldd --version ldd (GNU libc) 2.3.2 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. ------------- 1) batang_gentoo wrote: " The following: Code: # cd ${S} # libtoolize -c -f || die "libtoolize failed" # aclocal || die "aclocal failed" # autoconf || die "autoconf failed" works because this was the cause of the problem as I have pointed out above in my previous post. But the question is, why did the ebuild author find it necessary to update the autotools files in the FAM package when they are working just fine as they are? I think there is a bug in the aclocal.m4 file that comes with the libtool-1.4.3-r3 package which is causing the compile error. EDIT: This is a confirmed bug in libtool-1.4.3 that causes this. I already filed a bug report #41140. See here for references: http://mail.gnome.org/archives/garnome-list/2003-August/msg00070.html http://mail.gnome.org/archives/garnome-list/2003-August/msg00073.html " ------------- 2) solution: +++ a) nano -w /usr/portage/app-admin/fam/fam-2.7.0.ebuild src_unpack() { unpack ${A} chmod u+w ${S}/configure # cd ${S} # libtoolize -c -f || die "libtoolize failed" # aclocal || die "aclocal failed" # autoconf || die "autoconf failed" } +++ b) emerge app-admin/fam-2.7.0 <error occurs> cd /var/tmp/portage/fam-2.7.0/work/fam-2.7.0/lib ../libtool g++ -g -O2 -o libfam.la -rpath /usr/local/lib -export-symbols fam.sym Client.lo fam.lo -lstdc++ -lrpcsvc ebuild /usr/portage/app-admin/fam/fam-2.7.0.ebuild compile ebuild /usr/portage/app-admin/fam/fam-2.7.0.ebuild merge ------------- P.S. sorry for spam, guys :( I can confirm the bug and the solution. @vapier, you make changes to a pack assigned to me in a marked stable ebuild and i don't even get notified. This is _wrong_, very wrong, all of it. Solve it yourself. *** Bug 41140 has been marked as a duplicate of this bug. *** Confirmed. This BTW only happens in a "stable" 2.6 kernel-based installation. I also have un unstable (ACCEPT="~x86") 2.6 installation where fam-2.7.0 compiled without errors a few days ago. *** Bug 41214 has been marked as a duplicate of this bug. *** fam-2.7.0 fails while trying to build KDE 3.2 on a fresh x86 gentoo system. Last few lines of console look like this: g++ "{ global:" > .libs/libfam.* .libs/libfam.* 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/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/fam-2.7.0' make: *** [all] Error 2 !!! ERROR: app-admin/fam-2.7.0 failed. !!! Function src_compile, Line 410, Exitcode 2 !!! emake failed foser: mind if I fix this rather than waiting around for SpanKY? I don't care who fixes it. It's holding up a lot of people who want to emerge the latest KDE version. That's nice... except that I have enough respect for other devs to NOT touch ANY package which is actively maintained by another dev without first getting his permission... even if it IS a simple fix... Sorry about that last comment... it came out quite a bit worse than I had intended... <seemant> what happened with fam? <wolf31o2-work> just a sec and I'll pull the bug # <wolf31o2-work> http://bugs.gentoo.org/show_bug.cgi?id=41201 <wolf31o2-work> anyway... I have a fixed local copy... <seemant> and you can fix with having both foser's and spank's changes in it? <seemant> if so, please do commit them <seemant> if anyone has a problem with it, I'll take the heat I applied the fix submitted by Molchanov Alexander <xorader@mail.ru> to the ebuild, so everything should be hunky-dory now. emerged fine just by modifying the src_unpack() function like this: src_unpack() { unpack ${A} chmod u+w ${S}/configure # cd ${S} # libtoolize -c -f || die "libtoolize failed" # aclocal || die "aclocal failed" # autoconf || die "autoconf failed" } now, i hope there will be a commit to cvs soon, otherwise marking this bug as fixed makes no sense. The fix has already been applied to CVS when I posted my last message. Try emerge sync and see if you have the new version. alright, i'll pass libtool bugs your way next time, sorry about that also, i hope you put a DEPEND=">libtool-1.5.2-r2" otherwise you'll might start getting people with broken fams again (libs without a .so) but this is your package so i wont touch it again err, that wouldnt work since 1.5.2 is in unstable at any rate, that autotools code worked for stable and unstable and people who arent using latest libtool will have broken fam's again *** Bug 41324 has been marked as a duplicate of this bug. *** i did a sync before posting my comment, but i think the mirror wouldn't have been up to date. i synced this morning, the ebuild is fixed. sorry for inconvenience. *** Bug 41352 has been marked as a duplicate of this bug. *** *** Bug 41397 has been marked as a duplicate of this bug. *** *** Bug 41436 has been marked as a duplicate of this bug. *** Fix confirmed. *** Bug 41479 has been marked as a duplicate of this bug. *** Created attachment 47382 [details]
Error compiling app-admin/fam-2.7.0-r2
|