Re: [PATCH] Improve execl* functions
"Richard Earnshaw (lists)" <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On 31/01/2025 12:59, Federico Terraneo wrote: > On 31/01/25 11:55, Richard Earnshaw (lists) wrote: >> You need to use the vanilla autoconf obtainable from the FSF. Debian's version contains changes that generate the extra verbage that you are seeing. > > Hi, > I tried installing autoconf and automake from sources, see the command list attached below, but I'm still getting the same long list of changes in newlib/Makefile.in. > > However, the first of these changes in the patch is the removal of the line > > @HAVE_LIBC_SYS_XTENSA_DIR_TRUE@am__append_64 = libc/sys/xtensa/creat.c libc/sys/xtensa/isatty.c libc/sys/xtensa/clibrary_init.c > > and I don't have the newlib/libc/sys/xtensa directory. I'm making my patch starting from commit > > d52d983e5b69457c706c34097a328a7678107b1a > Author: Corinna Vinschen <[email protected]> 2025-01-28 16:50:12 > Cygwin: implement posix_close > > Is it possible that the directory libc/sys/xtensa got removed, somebody did not run autoreconf and thus Makefile.in is in a somewhat inconsistent state in the git repository? > > > --- > How I installed autoconf & automake > > wget https://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz > wget https://ftpmirror.gnu.org/automake/automake-1.15.1.tar.gz > mkdir autobins > PFX=`pwd`/autobins > tar xvf autoconf-2.69.tar.gz > cd autoconf-2.69 > ./configure --prefix=$PFX > make > make install > cd .. > tar xvf automake-1.15.1.tar.gz > cd automake-1.15.1 > ./configure --prefix=$PFX > make > make install > cd .. > export PATH=`pwd`/autobins/bin:$PATH > It can be tricky. Unfortunately, some people don't properly rebuild things after changing the master files. I'd start from a clean repo and try to get to the point where running autoconf is a no-op. Then you'll know that your changes aren't the source of the problems. If you can't then we can dig through the git history to try to identify where things went wrong. R.