Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168546 - dev-libs/libgcrypt-1.2.2-r1 crosscompile with build x86_64-pc-linux-gnu and host/target i386-pc-linux-uclibc fails
Summary: dev-libs/libgcrypt-1.2.2-r1 crosscompile with build x86_64-pc-linux-gnu and h...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 10:37 UTC by impulze
Modified: 2007-03-02 17:53 UTC (History)
1 user (show)

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


Attachments
ebuild patch for libgcrypt-1.2.2-r1 (ebuildpatch,1.62 KB, text/plain)
2007-02-27 10:38 UTC, impulze
Details
libtool-cross-compile.patch (libtool-cross-compile.patch,384 bytes, patch)
2007-02-27 10:39 UTC, impulze
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description impulze 2007-02-27 10:37:32 UTC
when emerge the current stable ebuild of libgcrypt with the xmerge script it fails because of linking to the wrong library (multilib issue) which was stated in this thread:
http://lists.gnupg.org/pipermail/gcrypt-devel/2006-February/000925.html
also some tests have to be tweaked (i think that's arch independent) for x86_64 i had to explicity disable asm to get it to work otherwise it'll lead to symbol issues during the build when linking libgcrypt.so

i'm not too familar with ebuilds nor bug-reporting nor cross-compiling so i'll attach a patch for the ebuild and the libtool patch
if anyone can confirm that i could supply patches for device-mapper lvm2 and cryptsetup-luks which also fail on x86_64....gnu to i386...uclibc

Thanks for your time :)
Comment 1 impulze 2007-02-27 10:38:41 UTC
Created attachment 111392 [details]
ebuild patch for libgcrypt-1.2.2-r1
Comment 2 impulze 2007-02-27 10:39:47 UTC
Created attachment 111394 [details, diff]
libtool-cross-compile.patch
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-01 16:50:10 UTC
SpanKY: Is there any policy regarding this?
Comment 4 SpanKY gentoo-dev 2007-03-02 17:53:10 UTC
this isnt a libgcrypt specific issue and will be solved in a more general manner, so dont apply anything remotely like these patches to any of our ebuilds ...