Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334431 - dev-libs/libgcrypt-1.4.6: fails to crosscompile
Summary: dev-libs/libgcrypt-1.4.6: fails to crosscompile
Status: RESOLVED DUPLICATE of bug 267479
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 12:25 UTC by Radek "Mrkva" Pilar
Modified: 2010-12-02 18:14 UTC (History)
0 users

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


Attachments
build log (build.log,104.54 KB, text/plain)
2010-08-25 12:26 UTC, Radek "Mrkva" Pilar
Details
Ebuild patch (libgcrypt-1.4.6.diff,615 bytes, patch)
2010-08-25 12:28 UTC, Radek "Mrkva" Pilar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***