| Summary: | dev-libs/opensc-0.11.12 fails to cross-compile for arm | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sergey Mironov <ierton> |
| Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ierton |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Full build log
dev-libs/opensc/opensc-0.11.12 patch forces re-generating Makefiles |
||
|
Description
Sergey Mironov
2010-04-26 11:33:17 UTC
My host (arm) system's emerge-arm-module2-linux-gnueabi --info Portage 2.1.6.13 (embedded, gcc-4.4.0, glibc-2.8_p20080602-r1, 2.6.31-gentoo-r6-my5 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r6-my5-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 16 Apr 2010 01:45:02 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.4.4-r13, 2.5.4-r2, 2.6.4 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 3.4.6-r2, 4.1.2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="arm" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -pipe -fomit-frame-pointer -I/usr/arm-module2-linux-gnueabi/usr/include/ -I/usr/arm-module2-linux-gnueabi/include/" CHOST="arm-module2-linux-gnueabi" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-Os -pipe -fomit-frame-pointer -I/usr/arm-module2-linux-gnueabi/usr/include/ -I/usr/arm-module2-linux-gnueabi/include/" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/" LANG="en_US.utf8" LDFLAGS="-L/usr/arm-module2-linux-gnueabi/lib -L/usr/arm-module2-linux-gnueabi/usr/lib" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/arm-module2-linux-gnueabi/packages/" PORTAGE_CONFIGROOT="/usr/arm-module2-linux-gnueabi/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/usr/arm-module2-linux-gnueabi/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/smironov/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="arm bindist crypt kdrive loop-aes make-symlinks minimal modules multicall openct zlib" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse tslib" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev dummy" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 229225 [details]
Full build log
Created attachment 229231 [details, diff]
dev-libs/opensc/opensc-0.11.12 patch forces re-generating Makefiles
Here is a patch which fixes the problem for me. Throw I can't understand exactly why does it works. Probably, eautoreconf triggers some libtool workaround for cross-compiling. Please, check.
Please next time remember to set category as well. Fixed (slightly differently) in -r1. |