On 2019-03-27 Matthias Klose <d...@debian.org> wrote: > Package: src:gnutls28 > Version: 3.6.6-3 > Severity: normal > Tags: sid bullseye > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-9 [...] > GCC 9 also passes the linker option --as-needed by default; typical > build issues are passing libraries before object files to the linker, > or underlinking of convenience libraries built from the same source. [...] > /usr/bin/ld: cipher-openssl-compat.o: in function `doit': > ./b4deb/tests/slow/../../../tests/slow/cipher-openssl-compat.c:194: undefined > reference to `OPENSSL_init_crypto'
Seems to be fixed by ----------- --- gnutls28-3.6.7.orig/tests/slow/Makefile.am +++ gnutls28-3.6.7/tests/slow/Makefile.am @@ -53,7 +53,7 @@ check_PROGRAMS = $(ctests) cipher-test c TESTS = $(ctests) test-ciphers.sh override-ciphers test-hash-large.sh crypto test-ciphers-api.sh if HAVE_LIBCRYPTO -cipher_openssl_compat_LDFLAGS = $(LDADD) $(LIBCRYPTO) +cipher_openssl_compat_LDADD = $(LDADD) $(LIBCRYPTO) dist_check_SCRIPTS += test-ciphers-openssl.sh check_PROGRAMS += cipher-openssl-compat ----------- 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'