Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540942 - dev-libs/nettle-2.7.1-r1 does not build multilib libhogweed
Summary: dev-libs/nettle-2.7.1-r1 does not build multilib libhogweed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-21 20:50 UTC by Robin Johnson
Modified: 2015-02-28 21:39 UTC (History)
1 user (show)

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


Attachments
dev-libs:nettle-2.7.1-r2 missing lib32/libhogweed (dev-libs:nettle-2.7.1-r2:20150218-043815.log,174.71 KB, text/plain)
2015-02-28 21:28 UTC, Robin Johnson
Details
dev-libs:nettle-2.7.1-r2 with lib32/libhogweed (dev-libs:nettle-2.7.1-r2:20150228-212120.log,201.41 KB, text/x-log)
2015-02-28 21:29 UTC, Robin Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-02-21 20:50:35 UTC
multilib gnutls is only building libnettle as multilib, not libhogweed. This causes failures with any app that tries to build against libhogweek (eg rtmpdump) while building multilib.

[ebuild   R    ] net-libs/gnutls-3.3.12::gentoo  USE="crywrap cxx nls zlib -dane -doc -examples -guile -pkcs11 -static-libs {-test}" ABI_X86="32 (64) (-x32)" LINGUAS="en -cs -de -fi -fr -it -ms -nl -pl -sv -uk -vi -zh_CN" 0 KiB

# qlist dev-libs/nettle  |grep /lib |sort
/usr/lib32/libnettle.so
/usr/lib32/libnettle.so.4
/usr/lib32/libnettle.so.4.7
/usr/lib32/pkgconfig/nettle.pc
/usr/lib64/libhogweed.so
/usr/lib64/libhogweed.so.2
/usr/lib64/libhogweed.so.2.5
/usr/lib64/libnettle.so
/usr/lib64/libnettle.so.4
/usr/lib64/libnettle.so.4.7
/usr/lib64/pkgconfig/hogweed.pc
/usr/lib64/pkgconfig/nettle.pc
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2015-02-21 20:54:17 UTC
Hi!
I am confused, are you sure $subject should be gnutls and not nettle?
I may miss something.
Thanks!
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-02-28 21:21:04 UTC
My bad, I fixed the summary now.

[ebuild   R    ] dev-libs/nettle-2.7.1-r2:0/4::gentoo  USE="gmp -doc (-neon) -static-libs {-test}" ABI_X86="32 (64) (-x32)" 0 KiB
# qlist dev-libs/nettle |grep /lib |sort
/usr/lib32/libnettle.so
/usr/lib32/libnettle.so.4
/usr/lib32/libnettle.so.4.7
/usr/lib32/pkgconfig/nettle.pc
/usr/lib64/libhogweed.so
/usr/lib64/libhogweed.so.2
/usr/lib64/libhogweed.so.2.5
/usr/lib64/libnettle.so
/usr/lib64/libnettle.so.4
/usr/lib64/libnettle.so.4.7
/usr/lib64/pkgconfig/hogweed.pc
/usr/lib64/pkgconfig/nettle.pc
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-02-28 21:28:47 UTC
Created attachment 397704 [details]
dev-libs:nettle-2.7.1-r2 missing lib32/libhogweed

Hmm, weird, I rebuilt it, and this time it did include it. I'm attaching logs.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-02-28 21:29:02 UTC
Created attachment 397706 [details]
dev-libs:nettle-2.7.1-r2 with lib32/libhogweed
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-02-28 21:32:22 UTC
Traced it, the gmp depend is missing [${MULTILIB_USEDEP}], so nettle was rebuilt before gmp; leading to the gmp dep failing.

I'll revbump with the fix.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2015-02-28 21:35:52 UTC
Thanks!
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-02-28 21:39:40 UTC
InCVS.