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

Bug 334431

Summary: dev-libs/libgcrypt-1.4.6: fails to crosscompile
Product: Gentoo Linux Reporter: Radek "Mrkva" Pilar <rpilar>
Component: [OLD] LibraryAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
Ebuild patch

Description Radek "Mrkva" Pilar 2010-08-25 12:25:56 UTC
When cross-compiling dev-libs/libgcrypt-1.4.6 (with emerge-armv7a-none-linux-uclibcgnueabi) libtool tries to link against library on the host (/usr/lib/libgpg-error.so) - where linking fails. 

Reproducible: Always

Steps to Reproduce:
1. Create cross-compiler toolchain
2. Try to cross-compile libgcrypt

Actual Results:  
Compilation fails in linking phase

Expected Results:  
It just compiles :)
Comment 1 Radek "Mrkva" Pilar 2010-08-25 12:26:48 UTC
Created attachment 244533 [details]
build log
Comment 2 Radek "Mrkva" Pilar 2010-08-25 12:28:38 UTC
Created attachment 244535 [details, diff]
Ebuild patch

Proposed patch - libgcrypt needs eautoreconf in ebuild. This fixes this issue for me.
Comment 3 Dane Smith (RETIRED) gentoo-dev 2010-12-02 18:14:51 UTC
The ebuild currently contains eautoreconf. Are you still having the issue? Also, this is a dupe of bug 267479 so I'm going to close this out. If you are in fact still having problems, please post there. Thanks!

*** This bug has been marked as a duplicate of bug 267479 ***