[pkg-gnupg-maint] Bug#1081807: FTFBS: multiple definition of `get_max_fds'
Andreas Metzler
ametzler at bebt.de
Sun Sep 15 06:36:33 BST 2024
Package: gnupg2
Version: 2.4.5-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
No idea what broke here:
i686-w64-mingw32-gcc -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/in
clude -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include -Wall -Wno
-format-zero-length -Wno-pointer-sign -Wpointer-arith -g -Os -Xlinker --no-inse
rt-timestamp -static -o gpgv.exe gpgv.o build-packet.o compress.o free-packet.o
getkey.o expand-group.o call-keyboxd.o keydb.o keyring.o seskey.o kbnode.o main
proc.o armor.o mdfilter.o textfilter.o progress.o misc.o rmd160.o openfile.o key
id.o parse-packet.o cpr.o plaintext.o sig-check.o keylist.o pkglue.o objcache.o
ecdh.o verify.o ../kbx/libkeybox.a ../common/libcommonpth.a ../regexp/libregexp.
a ../common/libgpgrl.a -lz -L/usr/i686-w64-mingw32/lib -lgcrypt -L/usr/i686-w6
4-mingw32/lib -lassuan -L/usr/i686-w64-mingw32/lib -lnpth -L/usr/i686-w64-mingw3
2/lib -lgpg-error -lws2_32 gpgv-w32info.o
/usr/bin/i686-w64-mingw32-ld: /usr/i686-w64-mingw32/lib/libgpg-error.a(libgpg_er
ror_la-spawn-w32.o): in function `get_max_fds':
./build-i686-w64-mingw32/src/../../src/spawn-w32.c:111: multiple definition of `
get_max_fds'; ../common/libcommonpth.a(libcommonpth_a-exechelp-w32.o):/tmp/GNUPG2/gnupg2/build-gpgv-win32/common/../../common/exechelp-w32.c:120: first defined here
collect2: error: ld returned 1 exit status
I do not think the presence/absence of get_max_fds in
/usr/i686-w64-mingw32/lib/libgpg-error.a has changed recently. This does
not show up on 2.2.
cu Andreas
More information about the pkg-gnupg-maint
mailing list