Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575630 - dev-libs/nettle-3.2 build failure on x86
Summary: dev-libs/nettle-3.2 build failure on x86
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-25 11:49 UTC by PetaMem R&D
Modified: 2016-05-17 10:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nettle-3.2 build.log @ x86 (build.log,296.17 KB, text/x-log)
2016-02-25 11:49 UTC, PetaMem R&D
Details
emerge --info (emerge_info.txt,3.45 KB, text/plain)
2016-03-02 08:54 UTC, PetaMem R&D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PetaMem R&D 2016-02-25 11:49:01 UTC
emerging nettle-3.2 fails at linking with tons of "multiple definition" errors:


i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname=libnettle.so.6 aes-decrypt-internal.o aes-decrypt.o aes-encrypt-internal.o aes-encrypt.o aes-encrypt-table.o aes-invert-internal.o aes-set-key-internal.o aes-set-encrypt-key.o aes-set-decrypt-key.o aes128-set-encrypt-key.o aes128-set-decrypt-key.o aes128-meta.o aes192-set-encrypt-key.o aes192-set-decrypt-key.o aes192-meta.o aes256-set-encrypt-key.o aes256-set-decrypt-key.o aes256-meta.o arcfour.o arcfour-crypt.o arctwo.o arctwo-meta.o blowfish.o base16-encode.o base16-decode.o base16-meta.o base64-encode.o base64-decode.o base64-meta.o base64url-encode.o base64url-decode.o base64url-meta.o buffer.o buffer-init.o camellia-crypt-internal.o camellia-table.o camellia-absorb.o camellia-invert-key.o camellia128-set-encrypt-key.o camellia128-crypt.o camellia128-set-decrypt-key.o camellia128-meta.o camellia192-meta.o camellia256-set-encrypt-key.o camellia256-crypt.o camellia256-set-decrypt-key.o camellia256-meta.o cast128.o cast128-meta.o cbc.o ccm.o ccm-aes128.o ccm-aes192.o ccm-aes256.o chacha-crypt.o chacha-core-internal.o chacha-poly1305.o chacha-poly1305-meta.o chacha-set-key.o chacha-set-nonce.o ctr.o des.o des3.o des-compat.o eax.o eax-aes128.o eax-aes128-meta.o gcm.o gcm-aes.o gcm-aes128.o gcm-aes128-meta.o gcm-aes192.o gcm-aes192-meta.o gcm-aes256.o gcm-aes256-meta.o gcm-camellia128.o gcm-camellia128-meta.o gcm-camellia256.o gcm-camellia256-meta.o gosthash94.o gosthash94-meta.o hmac.o hmac-md5.o hmac-ripemd160.o hmac-sha1.o hmac-sha224.o hmac-sha256.o hmac-sha384.o hmac-sha512.o knuth-lfib.o md2.o md2-meta.o md4.o md4-meta.o md5.o md5-compress.o md5-compat.o md5-meta.o memxor.o memxor3.o nettle-meta-aeads.o nettle-meta-armors.o nettle-meta-ciphers.o nettle-meta-hashes.o pbkdf2.o pbkdf2-hmac-sha1.o pbkdf2-hmac-sha256.o poly1305-aes.o poly1305-internal.o realloc.o ripemd160.o ripemd160-compress.o ripemd160-meta.o salsa20-core-internal.o salsa20-crypt.o salsa20r12-crypt.o salsa20-set-key.o salsa20-set-nonce.o salsa20-128-set-key.o salsa20-256-set-key.o sha1.o sha1-compress.o sha1-meta.o sha256.o sha256-compress.o sha224-meta.o sha256-meta.o sha512.o sha512-compress.o sha384-meta.o sha512-meta.o sha512-224-meta.o sha512-256-meta.o sha3.o sha3-permute.o sha3-224.o sha3-224-meta.o sha3-256.o sha3-256-meta.o sha3-384.o sha3-384-meta.o sha3-512.o sha3-512-meta.o serpent-set-key.o serpent-encrypt.o serpent-decrypt.o serpent-meta.o twofish.o twofish-meta.o umac-nh.o umac-nh-n.o umac-l2.o umac-l3.o umac-poly64.o umac-poly128.o umac-set-key.o umac32.o umac64.o umac96.o umac128.o version.o write-be32.o write-le32.o write-le64.o yarrow256.o yarrow_key_event.o   -Wl,--version-script=libnettle.map -o libnettle.so 
./eccdata 192 7 6 32 > ecc-192.hT && mv ecc-192.hT ecc-192.h
base64-encode.o: In function `atoi':
base64-encode.c:(.text+0x1b0): multiple definition of `atoi'
base16-decode.o:base16-decode.c:(.text+0x0): first defined here
base64-encode.o: In function `atol':

etc. - build.log attached

Reproducible: Always
Comment 1 PetaMem R&D 2016-02-25 11:49:41 UTC
Created attachment 426500 [details]
nettle-3.2 build.log @ x86
Comment 2 Pacho Ramos gentoo-dev 2016-03-01 17:38:26 UTC
please provide emerge --info output
Comment 3 PetaMem R&D 2016-03-02 08:54:03 UTC
Created attachment 427190 [details]
emerge --info
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2016-03-02 12:51:35 UTC
Please attach config.log (may be multiple files in workdir).
Comment 5 PetaMem R&D 2016-05-17 10:23:26 UTC
Seems to have stabilized, I cannot observe the problem anymore on any of the recently updated systems. Ticket can be closed.