Ticket #274 (new defect)
crossemerge net-libs/gnutls-2.8.1 failed : can't find libgcrypt
| Reported by: | pierrearinsal | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | milestone6 |
| Component: | target | Keywords: | |
| Cc: |
Description
hi crossemerge net-libs/gnutls-2.8.1 failed : can't find libgcrypt even if I've got dev-libs/libgcrypt-1.4.4 installed from overlay. emerge-armv4tl-softfloat-linux-gnueabi --info gives :
Portage 2.1.6.13 (!/usr/portage/local/freerunner/openmoko-overlay/openmoko-target/profiles/openmoko, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-58-with-gentoo-2.0.1 Timestamp of tree: Tue, 28 Jul 2009 15:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="arm ~arm" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -pipe -march=armv4t -mtune=arm920t" CHOST="armv4tl-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc /var/lib/hsqldb" 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/udev/rules.d" CXXFLAGS="-Os -pipe -march=armv4t -mtune=arm920t" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="C" LDFLAGS="-L/usr/armv4tl-softfloat-linux-gnueabi/lib -L/usr/armv4tl-softfloat-linux-gnueabi/usr/lib" LINGUAS="en" MAKEOPTS="-j1" PKGDIR="/usr/portage/local/moko" PORTAGE_CONFIGROOT="/usr/armv4tl-softfloat-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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/freerunner/openmoko-overlay/openmoko-target" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arm bash-completion bzip2 cairo dbus directfb dri gif gnutls gps gstreamer hal iconv jpeg midi minimal multicall ncurses nls nptl pam png python readline sdl sqlite ssl svg threads tiff truetype tslib xorg xpm zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="void evdev keyboard mouse tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glamo dummy" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
libgcrypt installs smoothly in /usr/arm.../usr/lib it creates files :
/usr/armv4tl-softfloat-linux-gnueabi/usr/share/aclocal/libgcrypt.m4 /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/pkgconfig/libgcrypt.pc /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libgcrypt.so.11.5.2 /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libgcrypt.so.11 /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libgcrypt.so /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libgcrypt.la /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libgcrypt.a /usr/armv4tl-softfloat-linux-gnueabi/usr/include/gcrypt.h /usr/armv4tl-softfloat-linux-gnueabi/usr/include/gcrypt-module.h /usr/armv4tl-softfloat-linux-gnueabi/usr/bin/libgcrypt-config /usr/armv4tl-softfloat-linux-gnueabi/usr/bin/hmac256 /usr/armv4tl-softfloat-linux-gnueabi/usr/bin/dumpsexp
config.log says :
configure:7517: checking for libgcrypt configure:7546: armv4tl-softfloat-linux-gnueabi-gcc -std=gnu99 -o conftest -Os -pipe -march=armv4t -mtune=arm920t -L/usr/armv4tl-softfloat-linux-gnueabi/lib -L/usr/armv4tl-softfloat-linux-gnueabi/usr/lib conftest.c /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so >&5 /usr/lib/libgcrypt.so: file not recognized: File format not recognized
of course, replacing /usr/lib/libgcrypt.so and /usr/lib/libgpg-error.so by /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libgcrypt.so /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/libgpg-error.so works...
in fact , even deleting both works :
armv4tl-softfloat-linux-gnueabi-gcc -std=gnu99 -o conftest -Os -pipe -march=armv4t -mtune=arm920t -L/usr/armv4tl-softfloat-linux-gnueabi/lib -L/usr/armv4tl-softfloat-linux-gnueabi/usr/lib conftest.c
as LDFLAGS is on...
anyway, the same error occurs without LDFLAGS...
pierre
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
