GPG does not build on SuSE SLES 11

Florian Schwind f.schwind at chili-radiology.com
Fri Nov 19 12:28:02 CET 2010


On 19.11.2010 11:12, Florian Schwind wrote:
> Hi all,
>
> I was not able to run the "make ckeck" for GPG 1.4.10 on a SLES 11
> (i386) successfully (I also tried 1.4.11). Since I'm not sure if there
> is some configuration issue with my server, I'm sending this to the
> bug-address and the user-list as well.
>
> Maybe someone experienced similar problems with GPG on a SLES 11 and
> might help me to figure out what's wrong? (On my SuSE 11.3 x86 it
> compiles without problems)

Hi,

I just found out that there seems to be a problem with gcc 4.3.2 and 
rijndael.c witch is already known. 
(http://lists.gnupg.org/pipermail/gnupg-devel/2008-December/024721.html).

Option 1 is to updated to gcc 4.5.0 which works or the use CFLAGS="-O1" 
instead of O2 and don't optimize the code heavily.

Perhaps someone wants to look into rijndael.c and find out where the 
optimizationproblems with gcc come from?

Greetings
  Florian

> If I try to encrypt with the build gpg I get following errors:
>
> florian at davinci:~/gnupg/davinci> gnupg-1.4.11-bin/bin/gpg --encrypt -r
> test plaintext.txt
> Rijndael-128 test encryption failed.
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: weak key created - retrying
> gpg: fatal: cannot avoid weak key for symmetric cipher; tried 16 times!
> secmem usage: 2048/2112 bytes in 4/5 blocks of pool 2112/32768
>
>
> This is the result of "make check":
>
> florian at davinci:~/gnupg/davinci/gnupg-1.4.11> make check
> Making check in m4
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/m4'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/m4'
> Making check in intl
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/intl'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/intl'
> Making check in zlib
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/zlib'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/zlib'
> Making check in util
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/util'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/util'
> Making check in mpi
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/mpi'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/mpi'
> Making check in cipher
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/cipher'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/cipher'
> Making check in tools
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/tools'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/tools'
> Making check in g10
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/g10'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/g10'
> Making check in keyserver
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/keyserver'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/keyserver'
> Making check in po
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/po'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/po'
> Making check in doc
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/doc'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/doc'
> Making check in checks
> make[1]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/checks'
> ../g10/gpg --homedir . --quiet --yes --no-permission-warning --import
> ./pubdemo.asc
> echo timestamp >./prepared.stamp
> make check-TESTS
> make[2]: Entering directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/checks'
> gpg (GnuPG) 1.4.11
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Home: .
> Supported algorithms:
> Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
> Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
> CAMELLIA192, CAMELLIA256
> Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
> Compression: Uncompressed, ZIP, ZLIB
> PASS: version.test
> PASS: mds.test
> PASS: decrypt.test
> PASS: decrypt-dsa.test
> MD5 SHA1 RIPEMD160 SHA256 SHA384 SHA512 SHA224 | PASS: sigs.test
> PASS: sigs-dsa.test
> FAIL: encrypt.test
> 3DES CAST5 BLOWFISH AES FAIL: encrypt-dsa.test
> FAIL: seat.test
> PASS: clearsig.test
> FAIL: encryptp.test
> PASS: detach.test
> PASS: armsigs.test
> FAIL: armencrypt.test
> FAIL: armencryptp.test
> FAIL: signencrypt.test
> PASS: signencrypt-dsa.test
> FAIL: armsignencrypt.test
> PASS: armdetach.test
> PASS: armdetachm.test
> PASS: detachm.test
> PASS: genkey1024.test
> 3DES CAST5 BLOWFISH AES FAIL: conventional.test
> 3DES CAST5 BLOWFISH AES FAIL: conventional-mdc.test
> PASS: multisig.test
> PASS: verify.test
> PASS: armor.test
> ==================================
> 10 of 27 tests failed
> Please report to bug-gnupg at gnu.org
> ==================================
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/checks'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory
> `/data/home/florian/gnupg/davinci/gnupg-1.4.11/checks'
> make: *** [check-recursive] Error 1
>
> Thanks
> Florian
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users



More information about the Gnupg-users mailing list