[pkg-gnupg-maint] Bug#1022289: libassuan: FTBFS: configure: error: libgpg-error was not found

Andreas Metzler ametzler at bebt.de
Sun Oct 23 17:37:16 BST 2022


On 2022-10-23 Lucas Nussbaum <lucas at debian.org> wrote:
> Source: libassuan
> Version: 2.5.5-4
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20221023 ftbfs-bookworm

> Hi,

> During a rebuild of all packages in sid, your package failed to build
> on amd64.


> Relevant part (hopefully):
> > ../configure: line 15745: /usr/i686-w64-mingw32/bin/gpg-error-config: No such file or directory
[...]


Hello,

Caused by new gpg-error dropping gpg-error-config, this works for me:

--- libassuan-2.5.5/debian/rules        2022-04-30 17:47:12.000000000 +0200
+++ patched/libassuan-2.5.5.patched/debian/rules        2022-10-23 18:23:40.505849321 +0200
@@ -27,7 +27,6 @@
        for cpu in i686 x86_64; do \
         mkdir -p build-$$cpu-w64-mingw32 && \
         cd build-$$cpu-w64-mingw32 && $(WIN_FLAGS) ../configure \
-           --with-libgpg-error-prefix=/usr/$$cpu-w64-mingw32 \
            --prefix=/usr/$$cpu-w64-mingw32 \
            --enable-static \
            --host $$cpu-w64-mingw32 && \

and a successful build with gpg-error 1.46 and a patched build with 1.47 look
almost identical except for configure messages changing:
-checking for gpg-error-config... /usr/x86_64-w64-mingw32/bin/gpg-error-config
+checking for gpg-error-config... no
 checking for gpgrt-config... /usr/bin/gpgrt-config
 configure: Use gpgrt-config with /usr/x86_64-w64-mingw32/lib as gpg-error-config
-checking for GPG Error - version >= 1.17... yes (1.45)
+checking for GPG Error - version >= 1.17... yes (1.46)

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