Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240754 - net-fs/am-utils: acloca failed (broken autotools handling)
Summary: net-fs/am-utils: acloca failed (broken autotools handling)
Status: RESOLVED DUPLICATE of bug 220177
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Network Filesystems
Depends on:
Reported: 2008-10-09 20:50 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-08-09 16:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

Build log (aclocal-6814.out,324 bytes, text/plain)
2008-10-09 20:51 UTC, Diego Elio Pettenò (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-09 20:50:59 UTC
The acinclude.m4 file should be removed, and m4 should be added to AT_M4_DIR, instead, possibly removing libtool files, otherwise it fails with a message about serials.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-09 20:51:23 UTC
Created attachment 167794 [details]
Build log
Comment 2 Klaus Birkelund Jensen 2009-03-03 15:33:38 UTC

I solved the problems by using a patch by Karel Zak <> from the FC10 CVS tree [1]. For the patch to work, eautoreconf must be removed and the uts_release-patch must be changed to modify the m4/macros/linux_headers.m4 file directly.

Instead of doing eautoreconf I explicitly call the bootstrap script in ${S}.

This made econf complete successfully. During make another problem presented itself though. I didn't go into the Makefile to see why it fails to properly run `make` in ${S}/fsinfo. Instead I did something ugly and inserted:

cd "${S}/fsinfo"
cd "${S}"

in src_compile(). This could be fixed prettier :)

I hope this help in some way.

Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-03 15:38:09 UTC
Calling bootstrap is wrong, eautoreconf should be used.
Comment 4 Klaus Birkelund Jensen 2009-03-03 16:22:54 UTC
Ok, with the addition of:

epatch "${FILESDIR}/${P}-buildsys.patch"
mv acinclude.m4 acinclude.m4.old
AT_M4DIR="m4/macros" eautoreconf

to src_unpack() everything works. Same patch as mentioned before.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-09 16:01:12 UTC

*** This bug has been marked as a duplicate of bug 220177 ***