[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix an error during "./configure; make dist"
From: |
Patrice Dumas |
Subject: |
Re: Fix an error during "./configure; make dist" |
Date: |
Wed, 7 Aug 2024 22:37:43 +0200 |
On Wed, Aug 07, 2024 at 02:16:30AM +0100, Gavin Smith wrote:
> However, I hit another problem immediately:
>
> (cd tp_api && make top_distdir=../../texinfo-7.1.90
> distdir=../../texinfo-7.1.90/doc/tp_api \
> am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[5]: Entering directory '/home/g/src/texinfo/GIT/doc/tp_api'
> cd ../.. && /bin/bash /home/g/src/texinfo/GIT/build-aux/missing
> automake-1.16 --gnu doc/tp_api/Makefile
> automake-1.16: error: cannot open < doc/tp_api/texi2any_internals.texi: No
> such file or directory
> make[5]: *** [Makefile:1861: Makefile.in] Error 1
> make[5]: Leaving directory '/home/g/src/texinfo/GIT/doc/tp_api'
>
> I found it slightly hard to recover from this error and had to resort
> to reverting all my changes and running ./autogen.sh again.
>
> There is a comment in autogen.sh:
>
> # missing texi2any_internals.texi stops automake. Set up a fake
> # texi2any_internals.texi with a file timestamp set in the past,
> # if texi2any_internals.texi is not present
>
> But texi2any_internals.texi is in MAINTAINERCLEANFILES in
> doc/tp_api/Makefile.am, so will be deleted by "make maintainer-clean".
> I presume that there was some bootstrapping issue with this file that
> necessitated this in autogen.sh, so it is probably likely that many
> "make" targets, include "distcheck", will fail after running
> "make maintainer-clean".
That issue seems to me to be unavoidable. It seems to me that
texi2any_internals.texi in MAINTAINERCLEANFILES is logical as it is a
generated file. Then there is this bootstraping issue that requires
running ./autogen.sh or recreating texi2any_internals.texi otherwise.
> texi2any_internals.texi is not tracked in git so its absence is
> not evident from the output of "git status".
I agree that it is better to have those files in git, actually I already
have added texi2any_internals.texi and api_includes/*.texi to git in my
private postrelease wip branch.
--
Pat
- Re: Fix an error during "./configure; make dist", (continued)
- Re: Fix an error during "./configure; make dist", Bruno Haible, 2024/08/10
- Re: Fix an error during "./configure; make dist", Patrice Dumas, 2024/08/10
- Re: Fix an error during "./configure; make dist", Gavin Smith, 2024/08/10
- Re: Fix an error during "./configure; make dist", Patrice Dumas, 2024/08/10
- Re: Fix an error during "./configure; make dist", Patrice Dumas, 2024/08/10
- Re: Fix an error during "./configure; make dist", Bruno Haible, 2024/08/12
- release/7.1 build system fixes, Gavin Smith, 2024/08/29
- Re: Fix an error during "./configure; make dist", Bruno Haible, 2024/08/12
- Re: Fix an error during "./configure; make dist", Gavin Smith, 2024/08/10
- Re: Fix an error during "./configure; make dist", Gavin Smith, 2024/08/06
- Re: Fix an error during "./configure; make dist",
Patrice Dumas <=
- Re: Fix an error during "./configure; make dist", Patrice Dumas, 2024/08/08
- Re: Fix an error during "./configure; make dist", Gavin Smith, 2024/08/08
- Re: Fix an error during "./configure; make dist", Gavin Smith, 2024/08/07