Source: libsodium Version: 1.0.8-3 Severity: serious Justification: fails to build from source
Builds of libsodium for non-x86 architectures all failed due to missing nearly all crypto_aead_aes256gcm_* symbols (with the exception of crypto_aead_aes256gcm_is_available). Could you please conditionalize these symbols accordingly, on (arch=any-amd64|arch=any-i386|arch=any-x32)? Incidentally, a look at https://buildd.debian.org/status/fetch.php?pkg=libsodium&arch=kfreebsd-amd64&ver=1.0.8-3&stamp=1454614422 and https://buildd.debian.org/status/fetch.php?pkg=libsodium&arch=x32&ver=1.0.8-3&stamp=1454615900 indicates that the existing (arch=amd64) symbols can and should be (arch=any-amd64|arch=any-x32). (Not any-i386 here, though!) Thanks! Example output from a failed build: -- debian/libsodium18.symbols (libsodium18_1.0.8-3_arm64) +++ dpkg-gensymbolsCvZMfM 2016-02-04 19:31:33.339724319 +0000 @@ -6,17 +6,17 @@ (arch=amd64)_crypto_scalarmult_curve25519_sandy2x_ladder_base@Base 1.0.8 (arch=amd64)_crypto_stream_salsa20@Base 0.6.0 (arch=amd64)_crypto_stream_salsa20_xor_ic@Base 0.6.0 - crypto_aead_aes256gcm_abytes@Base 1.0.8 - crypto_aead_aes256gcm_beforenm@Base 1.0.8 - crypto_aead_aes256gcm_decrypt@Base 1.0.8 - crypto_aead_aes256gcm_decrypt_afternm@Base 1.0.8 - crypto_aead_aes256gcm_encrypt@Base 1.0.8 - crypto_aead_aes256gcm_encrypt_afternm@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_abytes@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_beforenm@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_decrypt@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_decrypt_afternm@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_encrypt@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_encrypt_afternm@Base 1.0.8 crypto_aead_aes256gcm_is_available@Base 1.0.8 - crypto_aead_aes256gcm_keybytes@Base 1.0.8 - crypto_aead_aes256gcm_npubbytes@Base 1.0.8 - crypto_aead_aes256gcm_nsecbytes@Base 1.0.8 - crypto_aead_aes256gcm_statebytes@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_keybytes@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_npubbytes@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_nsecbytes@Base 1.0.8 +#MISSING: 1.0.8-3# crypto_aead_aes256gcm_statebytes@Base 1.0.8 crypto_aead_chacha20poly1305_abytes@Base 0.6.0 crypto_aead_chacha20poly1305_decrypt@Base 0.6.0 crypto_aead_chacha20poly1305_encrypt@Base 0.6.0 dh_makeshlibs: failing due to earlier errors debian/rules:11: recipe for target 'binary-arch' failed make: *** [binary-arch] Error 2