Bug#1071832: aircrack-ng: FTBFS against libgcrypt 1.11

Andreas Metzler ametzler at bebt.de
Sat May 25 12:35:49 BST 2024


Source: aircrack-ng
Version: 1.7+git20230807.4bf83f1a-1
Severity: important
Tags: ftbfs
User: ametzler at debian.org
Usertags: libgcrypt-config-removal
Control: block 714589 by -1

Hello,

aircrack-ng FTBFS against libgcrypt 1.11 which drops libgcrypt-config.
Since it ships an outdated copy of libgcrypt.m4 in
./build/m4/libgcrypt.m4 that cannoz handle this autoreconf does not
help.

Removing this copy lets the build continue but it later fails with:
libtool: link: gcc -DUSE_GCRYPT -DEXPENSIVE_TESTS -Wall -O3 -std=gnu99 -fcommon -Wstrict-overflow=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/dev/shm/GCRY/aircrack-ng-1.7+git20230807.4bf83f1a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -rdynamic -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-calc-one-pmk test/unit/calc_one_pmk-test-calc-one-pmk.o  -L/usr/lib/x86_64-linux-gnu ./.libs/libaccrypto.a ./.libs/libaircrack-ce-wpa.so ./.libs/libaircrack.a -lpthread -lz /dev/shm/GCRY/aircrack-ng-1.7+git20230807.4bf83f1a/.libs/libaircrack-osdep.so -lnl-3 -lnl-genl-3 -lpcre2-8 -lgcrypt -lhwloc -lcmocka -ldl -lm -pthread
/usr/bin/ld: ./.libs/libaircrack-ce-wpa.so: undefined reference to `Digest_SHA256_Destroy'
/usr/bin/ld: ./.libs/libaircrack-ce-wpa.so: undefined reference to `Digest_SHA256_Create'
/usr/bin/ld: ./.libs/libaircrack-ce-wpa.so: undefined reference to `Digest_SHA256_Update'
/usr/bin/ld: ./.libs/libaircrack-ce-wpa.so: undefined reference to `Digest_SHA256_Init'
/usr/bin/ld: ./.libs/libaircrack-ce-wpa.so: undefined reference to `Digest_SHA256_Finish'
collect2: error: ld returned 1 exit status

A development snapshot of the yet-unreleased libgcrypt 1.11 is available
in experimental.

cu Andreas



More information about the Pkg-gnutls-maint mailing list