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.

Cheers,
       Sven


1. 
https://www.debian.org/doc/debian-policy/ch-source.html#changes-to-the-upstream-sources
2. 
https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob;f=NEWS;h=a48a0085800208dcd66142f410ac04c9dac42134;hb=9c0183724614517a67d0955065171465bab7154a#l1948

Reply via email to