GNU bug report logs - #11203
gawk, automake 1.11.4 and tcc

Previous Next

Package: automake;

Reported by: Aharon Robbins <arnold <at> skeeve.com>

Date: Sun, 8 Apr 2012 18:44:02 UTC

Severity: normal

Tags: notabug

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11203 in the body.
You can then email your comments to 11203 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#11203; Package automake. (Sun, 08 Apr 2012 18:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aharon Robbins <arnold <at> skeeve.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Sun, 08 Apr 2012 18:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aharon Robbins <arnold <at> skeeve.com>
To: bug-automake <at> gnu.org
Subject: gawk, automake 1.11.4 and tcc
Date: Sun, 08 Apr 2012 15:38:43 +0300
Hello all.

When I try to use tcc to compile gawk, I have problems after the initial
run of make.  I have just moved the gawk-4.0-stable branch of gawk
to using automake 1.11.4.  I then run things like this:

	CC=tcc ./configure && make

This goes fine.  However, any subsequent makes fail. For example:

$ rm main.o ; make
make 'CFLAGS=-g -DARRAYDEBUG -DYYDEBUG' 'LDFLAGS=' all-recursive
make[1]: Entering directory `/d/home/arnold/Gnu/gawk/gawk.git'
Making all in .
make[2]: Entering directory `/d/home/arnold/Gnu/gawk/gawk.git'
main.c \ :
/bin/bash: ./main.c: Permission denied
make[2]: *** [main.o] Error 126
make[2]: Leaving directory `/d/home/arnold/Gnu/gawk/gawk.git'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/home/arnold/Gnu/gawk/gawk.git'
make: *** [all] Error 2

Would someone kindly investigate? Is there something I'm doing wrong?

Thanks,

Arnold




Information forwarded to bug-automake <at> gnu.org:
bug#11203; Package automake. (Mon, 09 Apr 2012 08:56:01 GMT) Full text and rfc822 format available.

Message #8 received at 11203 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Aharon Robbins <arnold <at> skeeve.com>
Cc: 11203 <at> debbugs.gnu.org
Subject: Re: bug#11203: gawk, automake 1.11.4 and tcc
Date: Mon, 09 Apr 2012 10:54:03 +0200
tags 11203 + moreinfo
thanks

On 04/08/2012 02:38 PM, Aharon Robbins wrote:
> Hello all.
>
Hi Aharon, thanks for the report.

> When I try to use tcc to compile gawk, I have problems after the initial
> run of make.  I have just moved the gawk-4.0-stable branch of gawk
> to using automake 1.11.4.  I then run things like this:
> 
> 	CC=tcc ./configure && make
>
A not on style: you should use always override variables for ./configure
on the command line, not from the environment; see:

 <http://www.gnu.org/software/autoconf/manual/autoconf.html#Defining-Variables>

> This goes fine.  However, any subsequent makes fail. For example:
> 
> $ rm main.o ; make
> make 'CFLAGS=-g -DARRAYDEBUG -DYYDEBUG' 'LDFLAGS=' all-recursive
> make[1]: Entering directory `/d/home/arnold/Gnu/gawk/gawk.git'
> Making all in .
> make[2]: Entering directory `/d/home/arnold/Gnu/gawk/gawk.git'
> main.c \ :
> /bin/bash: ./main.c: Permission denied
> make[2]: *** [main.o] Error 126
> make[2]: Leaving directory `/d/home/arnold/Gnu/gawk/gawk.git'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/d/home/arnold/Gnu/gawk/gawk.git'
> make: *** [all] Error 2
> 
> Would someone kindly investigate?
>
I cannot reproduce this error with the gawk 'master' branch and tcc
"0.9.26~git20120104.83d" (as installed from debian packages).  Which
version of tcc are you using exactly?

Regards,
  Stefano




Added tag(s) moreinfo. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 09 Apr 2012 08:56:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#11203; Package automake. (Mon, 09 Apr 2012 09:21:01 GMT) Full text and rfc822 format available.

Message #13 received at 11203 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Aharon Robbins <arnold <at> skeeve.com>
Cc: 11203 <at> debbugs.gnu.org
Subject: Re: bug#11203: gawk, automake 1.11.4 and tcc
Date: Mon, 09 Apr 2012 11:19:02 +0200
tags 11203 - moreinfo
tags 11203 + notabug
close 11203
thanks

On 04/09/2012 10:54 AM, Stefano Lattarini wrote:
>
> I cannot reproduce this error with the gawk 'master' branch
>
But I can reproduce with what you have committed to the 'gawk-4.0-stable'
branch (sorry for missing that part in your previous message).  And the
reason is that you've *not* completely updated your build system to
automake 1.11.4 -- in particular, the 'depcomp' script is still the one
provided by an older automake (it is *six*  years old!):

 $ ./depcomp --version
 depcomp 2006-10-15.18

I'm thus closing this report as "not a bug".  Feel free to re-open it if
the problem persist after you have truly and completely upgraded to the
use of automake 1.11.4.

And FWIW, to avoid issues like this in the future, I'd advise you to stop
committing generated (or automake-provided) files into the git repository
of gawk (like is done by many other GNU packages).  If you *really* don't
want to do so, remember to run automake with the '--force-missing' option
whenever you upgrade to a new automake version.

HTH,
  Stefano






Removed tag(s) moreinfo. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 09 Apr 2012 09:21:02 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 09 Apr 2012 09:21:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 11203 <at> debbugs.gnu.org and Aharon Robbins <arnold <at> skeeve.com> Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 09 Apr 2012 09:21:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#11203; Package automake. (Mon, 09 Apr 2012 14:15:01 GMT) Full text and rfc822 format available.

Message #22 received at 11203 <at> debbugs.gnu.org (full text, mbox):

From: Aharon Robbins <arnold <at> skeeve.com>
To: stefano.lattarini <at> gmail.com
Cc: 11203 <at> debbugs.gnu.org
Subject: Re: bug#11203: gawk, automake 1.11.4 and tcc
Date: Mon, 09 Apr 2012 17:13:42 +0300
Hi Stefano.

> Date: Mon, 09 Apr 2012 11:19:02 +0200
> From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
> To: Aharon Robbins <arnold <at> skeeve.com>
> CC: 11203 <at> debbugs.gnu.org
> Subject: Re: bug#11203: gawk, automake 1.11.4 and tcc
>
> tags 11203 - moreinfo
> tags 11203 + notabug
> close 11203
> thanks
>
> On 04/09/2012 10:54 AM, Stefano Lattarini wrote:
> >
> > I cannot reproduce this error with the gawk 'master' branch
> >
> But I can reproduce with what you have committed to the 'gawk-4.0-stable'
> branch (sorry for missing that part in your previous message).  And the
> reason is that you've *not* completely updated your build system to
> automake 1.11.4 -- in particular, the 'depcomp' script is still the one
> provided by an older automake (it is *six*  years old!):

OK - that makes sense. Thanks for the help in tracing this down.

>  $ ./depcomp --version
>  depcomp 2006-10-15.18
>
> I'm thus closing this report as "not a bug".  Feel free to re-open it if
> the problem persist after you have truly and completely upgraded to the
> use of automake 1.11.4.
>
> And FWIW, to avoid issues like this in the future, I'd advise you to stop
> committing generated (or automake-provided) files into the git repository
> of gawk (like is done by many other GNU packages).

This is on purpose. It allows gawk users out in the wild to simply check out
the gawk repository, run a simple script to touch some files to get the
modification dates correct, and then invoke the usual configure + make
incantation.

I think it's a serious inconvenience for people who want the latest code
to have to have all the infrastructure stuff too, just to get to the
stage where they can run configure.

> If you *really* don't want to do so, remember to run automake with the
> '--force-missing' option whenever you upgrade to a new automake version.

Adding --force-missing did the trick and things work well now.  I will
use that option in the future.

Thanks for the help!

> HTH,
>   Stefano

Arnold




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 May 2012 11:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.