Page MenuHome GnuPG

gnupg-2.08 fails to build against libgcrypt-1.4.0
Closed, InvalidPublic

Description

Encountering a build error when building against libgcrypt-1.4.0.
Tried unsetting CFLAGS, passing --disable-optimization, stepping back to
gnupg-2.0.7, all ended with the same error.
Building against libgcrypt-1.2.4 does not produce the error.

Here is the error I receive:
make[4]: Entering directory `/usr/src/work/gnupg-2.0.8/tests/openpgp'
echo '#!/bin/sh' >./gpg_dearmor
echo "../../g10/gpg2 --no-options --no-greeting \

--no-secmem-warning --batch --dearmor" >>./gpg_dearmor

chmod 755 ./gpg_dearmor
./gpg_dearmor > ./pubring.gpg < ./pubring.asc
./gpg_dearmor: line 2: 3286 Segmentation
fault ../../g10/gpg2 --no-options --no-greeting --no-secmem-warning --batch --dearmor
make[4]: * [pubring.gpg] Error 139
make[4]: Leaving directory `/usr/src/work/gnupg-2.0.8/tests/openpgp'
make[3]:
* [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/work/gnupg-2.0.8/tests'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/work/gnupg-2.0.8'
make[1]:
* [all] Error 2
make[1]: Leaving directory `/usr/src/work/gnupg-2.0.8'
make: *** [gnupg] Error 2

Event Timeline

So, after many failures building against libgcrypt-1.4.0, then building fine
against 1.2.4, I filed this report. Tried again vs. 1.4.0 to get error
message, then tried again vs. 1.2.4 and started getting the same error. It
looks like there is a deeper issue on my end that I will need to look into.

Apologies for wasting time here.

werner lowered the priority of this task from High to Normal.
werner removed a project: Bug Report.