On 2021-02-07 Paul Gevers <elb...@debian.org> wrote: > Source: libassuan > Version: 2.5.4-1 > X-Debbugs-CC: debian...@lists.debian.org > Severity: serious > User: debian...@lists.debian.org > Usertags: regression
> Dear maintainer(s), > With a recent upload of libassuan the autopkgtest of libassuan fails in > testing when that autopkgtest is run with the binary packages of > libassuan from unstable. It passes when run with only packages from > testing. In tabular form: [...] > autopkgtest [05:10:59]: test build: [----------------------- > /usr/bin/ld: /tmp/cc0iMBm7.o: undefined reference to symbol > 'gpg_strerror@@GPG_ERROR_1.0' [...] Hello, gpg-error has been moved from Requires to Requires.private in libassuan.pc. Fix is trivial: ------------- diff -NurBbp libassuan-2.5.4.orig/debian/tests/build libassuan-2.5.4/debian/tests/build --- libassuan-2.5.4.orig/debian/tests/build 2021-01-16 05:40:32.000000000 +0100 +++ libassuan-2.5.4/debian/tests/build 2021-02-07 11:41:17.786312247 +0100 @@ -4,7 +4,7 @@ set -e gcc -pedantic -Wall -Werror -o test-run \ debian/tests/simple-build.c \ - $(pkg-config --cflags --libs libassuan) + $(pkg-config --cflags --libs libassuan gpg-error) ./test-run rm -f test-run diff -NurBbp libassuan-2.5.4.orig/debian/tests/control libassuan-2.5.4/debian/tests/control --- libassuan-2.5.4.orig/debian/tests/control 2021-01-16 05:40:32.000000000 +0100 +++ libassuan-2.5.4/debian/tests/control 2021-02-07 11:41:03.246573513 +0100 @@ -1,5 +1,5 @@ Tests: build -Depends: libassuan-dev, build-essential, pkg-config +Depends: libassuan-dev, libgpg-error-dev (>= 1.33), build-essential, pkg-config Test-Command: debian/tests/build-windows i686 Features: test-name=win32 ------------ The change to debian/tests/control is necessary since older versions of libgpg-error-dev did not ship a pkg-config file. Alternatively (better) the dependency of libassuan-dev on libgpg-error-dev could be tightened. cu Andreas