GNU bug report logs - #23034
AC_CHECK_HEADERS after GUILE_FLAGS loses $CPP

Previous Next

Package: guile;

Reported by: Bernd Jendrissek <bernd <at> bpj-code.co.za>

Date: Thu, 17 Mar 2016 01:50:01 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.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 23034 in the body.
You can then email your comments to 23034 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-guile <at> gnu.org:
bug#23034; Package guile. (Thu, 17 Mar 2016 01:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bernd Jendrissek <bernd <at> bpj-code.co.za>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Thu, 17 Mar 2016 01:50:02 GMT) Full text and rfc822 format available.

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

From: Bernd Jendrissek <bernd <at> bpj-code.co.za>
To: bug-guile <at> gnu.org
Subject: AC_CHECK_HEADERS after GUILE_FLAGS loses $CPP
Date: Thu, 17 Mar 2016 03:47:04 +0200
[Message part 1 (text/plain, inline)]
I have a reduced test case where adding GUILE_FLAGS in shell dead code
before a call to AC_CHECK_HEADERS causes configure to lose $CPP, which
results in warnings like this one:

checking stdarg.h usability... yes
checking stdarg.h presence... no
configure: WARNING: stdarg.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: stdarg.h: proceeding with the compiler's result
checking for stdarg.h... yes

Versions:

/usr/share/aclocal/guile.m4: guile-2.0-dev from Debian jessie (2.0.11+1-9)
autoconf: 2.69

Attached:

configure.ac
guile.m4

To reproduce:

Find a config.rpath somewhere (perhaps steal it from gettext).
autoreconf -fi
./configure

I noticed that a random recent git HEAD of autoconf avoids this
problem; it turns out that in commit
11f520c61d8b21f1522968d6e6afb899070f0a6f autoconf transitions to
compilation-only header checks.
[configure.ac (application/octet-stream, attachment)]
[guile.m4 (application/x-m4, attachment)]

Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Tue, 28 Feb 2017 15:04:01 GMT) Full text and rfc822 format available.

Notification sent to Bernd Jendrissek <bernd <at> bpj-code.co.za>:
bug acknowledged by developer. (Tue, 28 Feb 2017 15:04:01 GMT) Full text and rfc822 format available.

Message #10 received at 23034-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Bernd Jendrissek <bernd <at> bpj-code.co.za>
Cc: 23034-done <at> debbugs.gnu.org
Subject: Re: bug#23034: AC_CHECK_HEADERS after GUILE_FLAGS loses $CPP
Date: Tue, 28 Feb 2017 16:03:28 +0100
On Thu 17 Mar 2016 02:47, Bernd Jendrissek <bernd <at> bpj-code.co.za> writes:

> I have a reduced test case where adding GUILE_FLAGS in shell dead code
> before a call to AC_CHECK_HEADERS causes configure to lose $CPP, which
> results in warnings like this one:
>
> checking stdarg.h usability... yes
> checking stdarg.h presence... no
> configure: WARNING: stdarg.h: accepted by the compiler, rejected by
> the preprocessor!
> configure: WARNING: stdarg.h: proceeding with the compiler's result
> checking for stdarg.h... yes
>
> Versions:
>
> /usr/share/aclocal/guile.m4: guile-2.0-dev from Debian jessie (2.0.11+1-9)
> autoconf: 2.69
>
> Attached:
>
> configure.ac
> guile.m4
>
> To reproduce:
>
> Find a config.rpath somewhere (perhaps steal it from gettext).
> autoreconf -fi
> ./configure
>
> I noticed that a random recent git HEAD of autoconf avoids this
> problem; it turns out that in commit
> 11f520c61d8b21f1522968d6e6afb899070f0a6f autoconf transitions to
> compilation-only header checks.

AFAIU then this is an autoconf bug?  Weird.  Weird also that autoconf is
just not releasing these days!  I guess we close this from the Guile
point of view though, no?

Regarding autoconf releases:

  http://lists.gnu.org/archive/html/autoconf/2016-12/msg00005.html

So, I will optimistically close this and this problem will go away once
autoconf 2.70 is out.

Andy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 29 Mar 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 143 days ago.

Previous Next


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