[pkg-gnupg-maint] Bug#1126602: libgpg-error: FTBFS with the nocheck build profile

Andreas Metzler ametzler at bebt.de
Thu Jan 29 17:40:04 GMT 2026


On 2026-01-29 Santiago Vila <sanvila at debian.org> wrote:
> Package: src:libgpg-error
[...]
> If you cannot reproduce the bug please contact me privately, as I
> am willing to provide ssh access to a virtual machine where the bug is
> fully reproducible.

> If this is really a bug in one of the build-depends, please use
> reassign and add an affects on src:libgpg-error, so that this is still
> visible in the BTS web page for this package.

> Thanks.

> --------------------------------------------------------------------------------
> [...]
>  debian/rules clean
> dh clean
>    dh_clean
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
> libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
> libtoolize: copying file 'build-aux/ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> libtoolize: copying file 'm4/libtool.m4'
> libtoolize: copying file 'm4/ltoptions.m4'
> libtoolize: copying file 'm4/ltsugar.m4'
> libtoolize: copying file 'm4/ltversion.m4'
> libtoolize: copying file 'm4/lt~obsolete.m4'
> configure.ac:150: error: possibly undefined macro: AC_MSG_WARN
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> autoreconf: error: /usr/bin/autoconf failed with exit status: 1
> dh_autoreconf: error: autoreconf -f -i returned exit code 1
> make: *** [debian/rules:10: binary] Error 255
> dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
> --------------------------------------------------------------------------------

Hello Santiago,

I have tried in vain to reproduce this either in a local chroot or on 
barriere.debian.org with up to date sid.

I tried this:
ametzler at barriere:~$ schroot --begin-session -c sid -n ametzler ; printf \\a ; dd-schroot-cmd -c ametzler apt-get update && dd-schroot-cmd -c ametzler apt-get -y dist-upgrade ; dd-schroot-cmd  -c ametzler apt-get -y install build-essential debhelper
schroot --run-session -c ametzler
# fetch sourcecode then run
DEB_BUILD_OPTIONS=nocheck dpkg-checkbuilddeps
# and install the missing packages
ametzler at barriere:~$ dd-schroot-cmd  -c ametzler apt-get -y install pkgconf texinfo mingw-w64

Then try to build with the command in your buildlog:
dpkg-buildpackage --sanitize-env -Pnocheck -us -uc -b

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the pkg-gnupg-maint mailing list