On Sat, May 06, 2023 at 10:27:54PM +0200, Sven Joachim wrote:
> On 2023-05-06 15:11 -0400, Thomas Dickey wrote:
> 
> > On Sat, May 06, 2023 at 08:01:22PM +0200, Sven Joachim wrote:
> >> On 2023-05-06 19:15 +0200, Sven Joachim wrote:
> >> 
> >> > Source: ncurses
> >> > Version: 6.4-3
> >> > Severity: important
> >> > Tags: ftbfs
> >> >
> >> > On at least three architectures (hurd-i386, powerpc and x32) ncurses
> >> > FTBFS with the following error:
> >> >
> >> > ,----
> >> > | dh_autoreconf autoreconf-dickey -- -f -i
> >
> > autoreconf calls automake, which doesn't do any good.
> >
> > At most, it would be replacing config.sub and config.guess with
> > whatever version it happens to have available -- sometimes that's
> > a downgrade, sometimes not - but _very_ rarely would an upgrade of
> > those files benefit Debian.
> 
> Not that it matters, but the config.sub and config.guess files are
> already replaced by the ones in the autotools-dev package, as per Debian
> Policy ยง 4.3[1].
> 
> And while automake and aclocal are not useful, bypassing them (e.g. via
> "AUTOMAKE=true ACLOCAL=true autoreconf-dickey -f -i") does not help
> either, unfortunately.
> 
> >> So autoreconf-dickey picks up the backup of configure.in below the .pc/
> >> directory and runs aclocal.  As there is no aclocal.m4 in that
> >> directory, the above warning and error about AM_LANGINFO_CODESET ensue,
> >> answering the second question.  That still leaves the first one open,
> >> though.
> >
> > yes - I expect that something in the externals has changed.
> 
> What really has changed is that I am patching ncurses' configure.in for
> the first time in the package's history.  Now the quilt patchsystem
> creates a backup file with the same name below the .pc directory, and I
> do not know how to tell autoreconf to ignore it.
> 
> Since Autoconf 2.53 subdirectories are only processed if they are in
> AC_CONFIG_SUBDIRS or explicitly given on the command line[2], but at
> least for now I have to make do with Autoconf 2.52.20230114.
hmm - incorporating that change isn't what I had in mind.

I'd just use autoconf-dickey (rather than autoreconf-dickey, in any case),
since only the first part of this is useful:

       Run  `autoconf'  (and  `autoheader', `aclocal', `automake', `autopoint'
       (formerly `gettextize'), and `libtoolize' where appropriate) repeatedly
       to remake the GNU Build System files in specified DIRECTORIES and their
       subdirectories (defaulting to `.').

-- 
Thomas E. Dickey <dic...@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to