GNU bug report logs -
#25359
autoreconf no longer suffices
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Wed, 4 Jan 2017 19:37:01 UTC
Severity: wishlist
Found in version 26.0.50
Done: Glenn Morris <rgm <at> gnu.org>
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 25359 in the body.
You can then email your comments to 25359 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25359
; Package
emacs
.
(Wed, 04 Jan 2017 19:37:01 GMT)
Full text and
rfc822 format available.
Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: emacs
Version: 26.0.50
After cloning a fresh Emacs, one used to be able to do:
autoreconf -fi -I m4
then configure etc.
In current master, this no longer works:
automake: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
autoreconf: automake failed with exit status: 1
I think it is wrong to make autogen.sh compulsory in this way.
(Obviously the missing file is irrelevant anyway on non MS-Windows
platforms.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25359
; Package
emacs
.
(Wed, 04 Jan 2017 20:00:02 GMT)
Full text and
rfc822 format available.
Message #6 received at 25359 <at> debbugs.gnu.org (full text, mbox):
> From: Glenn Morris <rgm <at> gnu.org>
> Date: Wed, 04 Jan 2017 14:36:16 -0500
>
> After cloning a fresh Emacs, one used to be able to do:
>
> autoreconf -fi -I m4
>
> then configure etc.
>
> In current master, this no longer works:
>
> automake: error: cannot open < lib/../nt/gnulib.mk: No such file or directory
> autoreconf: automake failed with exit status: 1
>
> I think it is wrong to make autogen.sh compulsory in this way.
Why do you think it's wrong?
> (Obviously the missing file is irrelevant anyway on non MS-Windows
> platforms.)
Evidently, it isn't irrelevant, otherwise the error would have never
happened, right?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25359
; Package
emacs
.
(Fri, 06 Jan 2017 18:14:02 GMT)
Full text and
rfc822 format available.
Message #9 received at 25359 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii wrote:
>> I think it is wrong to make autogen.sh compulsory in this way.
>
> Why do you think it's wrong?
Perhaps it's just my opinion. It was the original intent of autogen.sh
to be just a convenience wrapper for sanity checks + autoreconf.
If this is no longer true, here are some places that need to be changed:
1) autogen.sh error output says: "If you know that the required versions
are in your PATH, but this script has made an error, then you can simply
run autoreconf -fi -I m4 instead of this script."
(INSTALL.REPO used to say this too, before the IMO unrelated a3f989d
removed it.)
2) make-dist with update=yes uses autoreconf
3) top-level Makefile needs updating as per bug#25372
4) autogen.sh should ensure the outputs are newer than the inputs.
nt/gnulib.mk is only tested for existence, not freshness.
Since we use autoreconf -f, I think you can simply unconditionally
create nt/gnulib.mk every time.
All in all, it would make lifer simpler if plain automake would still
work, but I can see it might be difficult to implement.
>> (Obviously the missing file is irrelevant anyway on non MS-Windows
>> platforms.)
>
> Evidently, it isn't irrelevant, otherwise the error would have never
> happened, right?
Eg "touch nt/gnulib.mk" works just as well on non-MS platforms, where
the contents of the file are completely irrelevant.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25359
; Package
emacs
.
(Fri, 06 Jan 2017 18:25:02 GMT)
Full text and
rfc822 format available.
Message #12 received at 25359 <at> debbugs.gnu.org (full text, mbox):
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: 25359 <at> debbugs.gnu.org
> Date: Fri, 06 Jan 2017 13:13:49 -0500
>
> Eli Zaretskii wrote:
>
> >> I think it is wrong to make autogen.sh compulsory in this way.
> >
> > Why do you think it's wrong?
>
> Perhaps it's just my opinion. It was the original intent of autogen.sh
> to be just a convenience wrapper for sanity checks + autoreconf.
AFAIR, many packages I've built require running autogen.sh as the
first step, which I interpret as a de-facto standard. Perhaps that's
just my misperception.
> 4) autogen.sh should ensure the outputs are newer than the inputs.
> nt/gnulib.mk is only tested for existence, not freshness.
The freshness is ensured by Makefile's. But to have Makefile's
generated we must have this file, because autoreconf needs it.
> >> (Obviously the missing file is irrelevant anyway on non MS-Windows
> >> platforms.)
> >
> > Evidently, it isn't irrelevant, otherwise the error would have never
> > happened, right?
>
> Eg "touch nt/gnulib.mk" works just as well on non-MS platforms, where
> the contents of the file are completely irrelevant.
The problem is not the command that generates the file, the problem is
where to put it and how to make sure it runs before Automake, because
it's Automake that needs it. If you can find a way to run the 'touch'
command, we can run the full Sed command in the same place and manner.
Severity set to 'wishlist' from 'normal'
Request was from
npostavs <at> users.sourceforge.net
to
control <at> debbugs.gnu.org
.
(Fri, 03 Feb 2017 03:29:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
25359 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 09 Apr 2017 00:29:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 07 May 2017 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.