Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 493974

Summary: dev-libs/nettle - add multilib support
Product: Gentoo Linux Reporter: Austin English (RETIRED) <wizardedit>
Component: [OLD] LibraryAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: alonbl, multilib+disabled, tetromino
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 501436    
Bug Blocks: 454644, 493166    
Attachments: diff against 2.7.1
ebuild itself
nettle-2.7.1.ebuild.patch
nettle-2.7.1.ebuild.diff

Description Austin English (RETIRED) gentoo-dev 2013-12-11 22:08:59 UTC
dev-libs/nettle currently lacks multilib support. This patch enables it.

This is my first patch for an ebuild, so if I've done something wrong, feedback would be appreciated.

Reproducible: Always

Steps to Reproduce:
USE=abi_x86_32 emerge -v nettle && ls /usr/lib32/libnettle.so
Comment 1 Austin English (RETIRED) gentoo-dev 2013-12-11 22:09:11 UTC
Created attachment 365118 [details, diff]
diff against 2.7.1
Comment 2 Austin English (RETIRED) gentoo-dev 2013-12-11 22:09:22 UTC
Created attachment 365120 [details]
ebuild itself
Comment 3 Michael Mair-Keimberger (iamnr3) 2014-01-26 18:59:47 UTC
Created attachment 368806 [details, diff]
nettle-2.7.1.ebuild.patch

Updated patch - Please review:
* add emul-baselibs blocker
* minor changes
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2014-02-15 21:45:20 UTC
Thanks!

nettle-2.7.1-r1
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2014-02-16 00:29:21 UTC
Reopen per bug#501436
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2014-02-16 00:29:41 UTC
Created attachment 370528 [details, diff]
nettle-2.7.1.ebuild.diff
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2014-02-16 01:29:53 UTC
OK, learn new fact about this emul libs, I hope now I set it correctly.
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-02-16 05:56:41 UTC
You forgot to remove nettle's libhogweed from emul-linux-x86-baselibs :)

 * Detected file collision(s):
 * 
 * 	/usr/lib32/libhogweed.so.2.5
 * 	/usr/lib32/pkgconfig/hogweed.pc
 * 	/usr/lib32/libhogweed.so
 * 	/usr/lib32/libhogweed.so.2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-libs/nettle-2.7.1-r1:0::gentoo
 * 	/usr/lib32/libhogweed.so
 * 	/usr/lib32/libhogweed.so.2
 * 	/usr/lib32/libhogweed.so.2.5
 * 	/usr/lib32/pkgconfig/hogweed.pc


Should be fixed in -r18:

+*emul-linux-x86-baselibs-20131008-r18 (16 Feb 2014)
+
+  16 Feb 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
+  +emul-linux-x86-baselibs-20131008-r18.ebuild,
+  +files/remove-native-20131008-r18:
+  Also remove migrated libhogweed (part of dev-libs/nettle).
Comment 9 Alon Bar-Lev (RETIRED) gentoo-dev 2014-02-16 09:04:33 UTC
(In reply to Alexandre Rostovtsev from comment #8)
> You forgot to remove nettle's libhogweed from emul-linux-x86-baselibs :)

Thank you, sorry!