Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17893 - [bug] sometime automake is not found
Summary: [bug] sometime automake is not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 15:51 UTC by Alberto Ornaghi
Modified: 2003-03-21 08:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Ornaghi 2003-03-20 15:51:42 UTC
if I force automake 1.7 with the "export WANT_AUTOMAKE=1.7" sometimes when I run
automake I get:

WARNING: `automake-1.7' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `automake-1.7' program.

if I rerun it, it works fine.
what is the problem ?

thanks

bye

Reproducible: Sometimes
Steps to Reproduce:
1. export WANT_AUTOMAKE=1.7
2. automake
3. automake

Actual Results:  
WARNING: `automake-1.7' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `automake-1.7' program.


Expected Results:  
run the automake-1.7 script.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-21 04:37:56 UTC
You need to give an example where you get the failure.
Comment 2 Alberto Ornaghi 2003-03-21 05:08:51 UTC
it is a program written by me.

cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/ettercap login
cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/ettercap co ettercap_ng

it needs automake 1.7

try this:
export WANT_AUTOMAKE=1.7
./autogen.sh
./configure
make
cd src
vi Makefile.am    (modify the file, it is sufficient to add a comment)
make


then it tries to rerun the automake script since the Makefile.am was changed.
at this point the script fails. if you launch make again, it works.

bye
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-21 06:14:34 UTC
It looks to be a problem with configure.in:

----------------------------------------------------------
azarah@nosferatu src $ echo "# regen" >> Makefile.am 
azarah@nosferatu src $ make
cd .. && \
  /bin/sh /home/azarah/tmp/ettercap_ng/missing --run automake-1.7 --foreign  src/Makefile
cd .. && /bin/sh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
make: Nothing to be done for `all'.
azarah@nosferatu src $ 
---------------------------------------------------------

More precise:  If I comment 'AC_FUNC_MALLOC' at line 204 of configure.in
               I get above correct behaviour, else the 'missing' script
               catches the error about missing 'src/malloc.c', and thinks
               there are no automake-1.7 ...

---------------------------------------------------------
azarah@nosferatu src $ make
cd .. && \
  /bin/sh /home/azarah/tmp/ettercap_ng/missing --run automake-1.7 --foreign  src/Makefile
src/Makefile.am:64: required file `src/malloc.c' not found
WARNING: `automake-1.7' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `automake-1.7' program.
make: *** [Makefile.in] Error 1
azarah@nosferatu src $ 
---------------------------------------------------------

Which is why it works the second time ... then 'src/Makefile' is already 
regenerated although automake did error out on missing 'src/malloc.c'.


Comment 4 Alberto Ornaghi 2003-03-21 06:25:03 UTC
ok. many thanks. I though that the malloc.c error was ingored..

so the bug can be marked as INVALID.

bye
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-21 08:17:14 UTC
Glad to be of assistance.