[pkg-gnupg-maint] Bug#904683: gnupg2: FTBFS on x32: Failed tests: tests/openpgp/decrypt-session-key.scm

Thorsten Glaser tg at mirbsd.de
Thu Jul 26 16:39:44 BST 2018


Source: gnupg2
Version: 2.2.9-1
Severity: important
Justification: fails to build from source (but built successfully in the past), on d-ports arch

https://buildd.debian.org/status/fetch.php?pkg=gnupg2&arch=x32&ver=2.2.9-1&stamp=1532234964&raw=0

has the full build log.


What we have in possibly relevant warnings is:

../../sm/minip12.c:2516:35: warning: '*((void *)&seqlist+8)' may be used uninitialized in this function [-Wmaybe-uninitialized]

../../../tests/gpgscm/scheme.c:3553:10: warning: this statement may fall through [-Wimplicit-fallthrough=]

Warning: Creating socket directory failed: gpgconf: socketdir is '/tmp/gpgscm-20180722T044318-run-tests-5ip0WJ'

gpgconf: error running '/<<PKGBUILDDIR>>/build/tools/gpg-connect-agent': terminated
gpgconf: error running '/<<PKGBUILDDIR>>/build/tools/gpg-connect-agent scd killscd': General error

It does not say clearly why this fails…


x32 is a 64-bit architecture with 32-bit pointers (amd64ilp32),
it defines __x86_64__ just like amd64 but also __ILP32__ unlike
amd64, so if you have any assembly code that needs to distinguish
use these predefined cpp macros.


More information about the pkg-gnupg-maint mailing list