Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788 - automake aclocal not functioning
Summary: automake aclocal not functioning
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: chouser (RETIRED)
Depends on:
Reported: 2002-02-20 19:13 UTC by Matthew Jimenez
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Jimenez 2002-02-20 19:13:16 UTC
Both automake 1.4-r2 and 1.4-p5 seem to have malfunctioning aclocal's. The 
aclocal command refused to create an aclocal.m4 even when an output file is 
specified. I tested automake 1.5b to see if it does the same on my system, but 
it works fine, although the output is not useful to me since it is 
incompatible with older versions of autoconf (2.13-r2). I would like some one 
to verify this and futher action can taken afterwards. Thank you for your time.
Comment 1 chouser (RETIRED) gentoo-dev 2002-02-20 21:41:39 UTC
I couldn't reproduce this using sys-devel/automake-1.4_p5.  I don't know
automake or aclocal very well, so I'm not sure that the resulting file was
correct.  However, I was able to cause aclocal to generate an aclocal.m4 file
without apparent problems.

Could you try running aclocal with the "--verbose" flag, and posting the results
here?  Thanks.
Comment 2 Matthew Jimenez 2002-02-20 22:56:45 UTC
Sure thing... I'll attach the output.
Comment 3 Matthew Jimenez 2002-02-20 23:35:15 UTC
FOUND IT! I decided to look at /usr/bin/aclocal after I found out it was a 
perl script. Anyway, I found the problem... at least with mine. 
line 110: if ( ! $exit_status)
line 111: {
line 112:     &write_aclocal;
line 113: }
line 116: exit $exit_status;
The file is not written if $exit_status is 1, which means an error occured 
earlier. I have not found this error yet. but changing $exit_status to 0 
before line 110 is a temporary fix. Thanks again for your time
Comment 4 Matthew Jimenez 2002-02-21 01:01:42 UTC
Error has been found. It is not a problem with gentoo or automake. The problem 
was duplicate macros found in /usr/share/aclocal These macros were put there 
by libticables, libticalcs, and libtiffep. They are libraries created for 
communication with a Texas Instrument calculator. Moving these m4 files out of 
that aclocal directory caused aclocal to once again behave normally. Sorry for 
any inconvenience. I'll inform the developers of thesse libraries about the