Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 240754

Summary: net-fs/am-utils: acloca failed (broken autotools handling)
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: EclassesAssignee: Network Filesystems <net-fs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kjensen
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

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
Hi,

I solved the problems by using a patch by Karel Zak <kzak@redhat.com> 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"
make
cd "${S}"

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


I hope this help in some way.


[1]: http://cvs.fedora.redhat.com/viewvc/devel/am-utils/am-utils-6.1.5-buildsys.patch?revision=1.2
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 ***