GNU bug report logs - #62482
Unclear configure errors about "gl_PROG_CC_C99" and "gl_EARLY"

Previous Next

Package: emacs;

Reported by: bug-gnu-emacs <at> gnu.org

Date: Mon, 27 Mar 2023 13:15:04 UTC

Severity: normal

Tags: notabug

Done: Stefan Kangas <stefankangas <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 62482 in the body.
You can then email your comments to 62482 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-gnu-emacs <at> gnu.org:
bug#62482; Package emacs. (Mon, 27 Mar 2023 13:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to bug-gnu-emacs <at> gnu.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 27 Mar 2023 13:15:04 GMT) Full text and rfc822 format available.

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

From: c.buhtz <at> posteo.jp
To: bug-gnu-emacs <at> gnu.org
Subject: Unclear configure errors about "gl_PROG_CC_C99" and "gl_EARLY"
Date: Mon, 27 Mar 2023 08:55:14 +0000
Hello,

beside I'm interested into how to solve that problem (what is IMHO 
off-topic on that list) this message main intention is a bug report to 
improve the output of a configure script.

I have this two errors (?) running "configure". It is unclear what they 
are mean. Even if I look into the "configure" script the meaning is 
unclear to me.

    ./configure: line 5063: gl_PROG_CC_C99: command not found
    ./configure: line 5196: gl_EARLY: command not found

Please improve the output of the script to make it easier to understand 
it for the users, to prevent further support questions and lower the 
workload for emacs "support channels".

To reproduce:

I cloned from git and switch to "emacs-29" branch. The machine is a 
Raspberry Pi4 with Debian 11 (pure Debian, not rasbian).

Because the configure script is missing (bug-report exists) I checked 
the content of "configure.ac". It points out to use "autoconf" to 
generate such a script. I did.

$ autoconf
configure.ac:55: error: possibly undefined macro: AS_ECHO
      If this token and others are legitimate, please use 
m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:1777: error: possibly undefined macro: m4_default

Two errors are there. I don't understand. But a "./configure" was 
created. So I tried.

$ ./configure
checking for xcrun... no
checking for GNU Make... make
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
./configure: line 5063: gl_PROG_CC_C99: command not found
checking whether gcc and cc understand -c and -o together... yes
./configure: line 5196: gl_EARLY: command not found
checking whether gcc accepts -g3 -O2... yes
checking whether the compiler is clang... no
checking how to run the C preprocessor... gcc -E
./configure: line 5555: syntax error near unexpected token `-Wno-switch'
./configure: line 5555: `     gl_WARN_ADD(-Wno-switch)'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62482; Package emacs. (Mon, 27 Mar 2023 13:24:01 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> suse.de>
To: c.buhtz <at> posteo.jp
Cc: 62482 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#62482: Unclear configure errors about "gl_PROG_CC_C99" and
 "gl_EARLY"
Date: Mon, 27 Mar 2023 15:23:23 +0200
Please read INSTALL.REPO.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62482; Package emacs. (Mon, 27 Mar 2023 13:24:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62482; Package emacs. (Mon, 27 Mar 2023 13:26:01 GMT) Full text and rfc822 format available.

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

From: Gregory Heytings <gregory <at> heytings.org>
To: c.buhtz <at> posteo.jp
Cc: 62482 <at> debbugs.gnu.org
Subject: Re: bug#62482: Unclear configure errors about "gl_PROG_CC_C99" and
 "gl_EARLY"
Date: Mon, 27 Mar 2023 13:25:14 +0000
>
> I have this two errors (?) running "configure". It is unclear what they 
> are mean. Even if I look into the "configure" script the meaning is 
> unclear to me.
>
>    ./configure: line 5063: gl_PROG_CC_C99: command not found
>    ./configure: line 5196: gl_EARLY: command not found
>

Do you see these errors if you use "./autogen.sh", as explained in the 
INSTALL.REPO file?





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62482; Package emacs. (Mon, 27 Mar 2023 13:55:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Cc: 62482 <at> debbugs.gnu.org
Subject: Re: bug#62482: Unclear configure errors about "gl_PROG_CC_C99" and
 "gl_EARLY"
Date: Mon, 27 Mar 2023 16:54:08 +0300
tags 62482 notabug
thanks

> Date: Mon, 27 Mar 2023 08:55:14 +0000
> From: c.buhtz <at> posteo.jp
> 
> Hello,
> 
> beside I'm interested into how to solve that problem (what is IMHO 
> off-topic on that list) this message main intention is a bug report to 
> improve the output of a configure script.
> 
> I have this two errors (?) running "configure". It is unclear what they 
> are mean. Even if I look into the "configure" script the meaning is 
> unclear to me.
> 
>      ./configure: line 5063: gl_PROG_CC_C99: command not found
>      ./configure: line 5196: gl_EARLY: command not found
> 
> Please improve the output of the script to make it easier to understand 
> it for the users, to prevent further support questions and lower the 
> workload for emacs "support channels".
> 
> To reproduce:
> 
> I cloned from git and switch to "emacs-29" branch. The machine is a 
> Raspberry Pi4 with Debian 11 (pure Debian, not rasbian).
> 
> Because the configure script is missing (bug-report exists) I checked 
> the content of "configure.ac". It points out to use "autoconf" to 
> generate such a script. I did.
> 
> $ autoconf
> configure.ac:55: error: possibly undefined macro: AS_ECHO
>        If this token and others are legitimate, please use 
> m4_pattern_allow.
>        See the Autoconf documentation.
> configure.ac:1777: error: possibly undefined macro: m4_default

Please read INSTALL.REPO, which tells you to run ./autogen.sh script
instead.  Then such errors ought not to happen.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62482; Package emacs. (Mon, 27 Mar 2023 13:55:02 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 27 Mar 2023 13:55:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62482; Package emacs. (Thu, 30 Mar 2023 06:24:02 GMT) Full text and rfc822 format available.

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

From: Jean Louis <bugs <at> gnu.support>
To: 62482 <at> debbugs.gnu.org
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#62482: Acknowledgement (Unclear configure errors about
 "gl_PROG_CC_C99" and "gl_EARLY")
Date: Thu, 30 Mar 2023 09:18:14 +0300
* GNU bug Tracking System <help-debbugs <at> gnu.org> [2023-03-27 17:35]:
> Thank you for filing a new bug report with debbugs.gnu.org.

> If you wish to submit further information on this problem, please
> send it to 62482 <at> debbugs.gnu.org.

I do not understand why am I receiving the confirmation of bug report
I have not filed.

--
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62482; Package emacs. (Thu, 30 Mar 2023 06:24:04 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Sun, 03 Sep 2023 10:38:01 GMT) Full text and rfc822 format available.

Notification sent to bug-gnu-emacs <at> gnu.org:
bug acknowledged by developer. (Sun, 03 Sep 2023 10:38:01 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 62482-done <at> debbugs.gnu.org
Subject: Re: bug#62482: Unclear configure errors about "gl_PROG_CC_C99" and
 "gl_EARLY"
Date: Sun, 3 Sep 2023 03:37:38 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

> tags 62482 notabug
> thanks
[...]
>
> Please read INSTALL.REPO, which tells you to run ./autogen.sh script
> instead.  Then such errors ought not to happen.

I'm therefore closing this bug report.




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

This bug report was last modified 206 days ago.

Previous Next


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