Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267603 - dev-libs/glib-2.18.4-r1 fails to croscompile because of libtool relinking
Summary: dev-libs/glib-2.18.4-r1 fails to croscompile because of libtool relinking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 21:26 UTC by Andrei Slavoiu
Modified: 2010-07-14 10:43 UTC (History)
0 users

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


Attachments
Full build log (build.log,424.71 KB, text/plain)
2009-04-27 05:51 UTC, Andrei Slavoiu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2009-04-26 21:26:45 UTC
Making the elibtoolize call in the ebuild unconditional fixed this. (right now elibtoolize is only called for freebsd)

Reproducible: Always

Steps to Reproduce:
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-26 21:49:58 UTC
you are going to need to provide a bit more explanations for us to change anything.
Comment 2 Andrei Slavoiu 2009-04-27 05:51:38 UTC
Created attachment 189586 [details]
Full build log
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-27 06:42:52 UTC
So the error is this block right ?

libtool: install: warning: relinking `libgmodule-2.0.la'
libtool: install: (cd /var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/gmodule; /bin/sh /var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/libtool  --tag CC --mode=relink armv4tl-softfloat-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -Os -pipe -Wall -Wl,--export-dynamic -version-info 1800:4:1800 -export-dynamic -Wl,-O1 -o libgmodule-2.0.la -rpath /usr/lib gmodule.lo -ldl ../glib/libglib-2.0.la -inst-prefix-dir /var/tmp/portage/dev-libs/glib-2.18.4-r1/image/)
libtool: relink: armv4tl-softfloat-linux-gnueabi-gcc -shared  .libs/gmodule.o   -ldl -L/var/tmp/portage/dev-libs/glib-2.18.4-r1/image//usr/lib -L/usr/lib -lglib-2.0  -march=armv4t -mtune=arm920t -Wl,--export-dynamic -Wl,-O1   -Wl,-soname -Wl,libgmodule-2.0.so.0 -o .libs/libgmodule-2.0.so.0.1800.4
/usr/lib/libdl.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
libtool: install: error: relink `libgmodule-2.0.la' with the above command before installing it
make[4]: *** [install-libLTLIBRARIES] Error 1


could you please post your emerge --info ?
Comment 4 Andrei Slavoiu 2009-04-27 20:30:51 UTC
Portage 2.2_rc31 (default/linux/arm/2008.0, gcc-4.3.3, unavailable, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-AMD_Phenom-tm-_9350e_Quad-Core_Processor-with-gentoo-2.0.0
Timestamp of tree: Mon, 27 Apr 2009 05:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 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.28-r1
ACCEPT_KEYWORDS="arm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=armv4t -mtune=arm920t -Os -pipe"
CHOST="armv4tl-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=armv4t -mtune=arm920t -Os -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--root-deps --with-bdeps y"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs preserved-rebuild protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.evolva.ro/gentoo http://ftp.roedu.net/pub/mirrors/gentoo.org http://mirrors.xservers.ro/gentoo http://distfiles.gentoo.org"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ro en eo"
MAKEOPTS="-j5 --load-average=8"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arm consolekit cracklib crypt fam hal ipv6 ncurses nls nptl pam passwdqc readline sha512 sqlite symlink truetype unicode xcb xml 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_iduserdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en eo" USERLAND="GNU" VIDEO_CARDS="fbdev"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-04 21:35:01 UTC
btw, tried without ccache ?
Comment 6 Andrei Slavoiu 2009-05-04 22:29:12 UTC
(In reply to comment #5)
> btw, tried without ccache ?
> 

Just did that, doesn't change anything except for compile time.
Comment 7 Andrei Slavoiu 2009-10-22 22:51:17 UTC
Still happening with dev-libs/glib-2.20.5
Comment 8 Pacho Ramos gentoo-dev 2010-05-08 08:36:57 UTC
Maybe we should run always elibtoolize if still failing with glib-2.22* :-/
Comment 9 Pacho Ramos gentoo-dev 2010-06-13 15:24:07 UTC
Still the same issue with 2.24.1?
Comment 10 Andrei Slavoiu 2010-07-13 23:07:31 UTC
Well, dev-libs/glib-2.24.1 still fails to emerge, but dev-libs/glib-2.24.1-r1 works as eautoreconf was added for one of the patches.
Comment 11 Pacho Ramos gentoo-dev 2010-07-14 10:43:13 UTC
+  14 Jul 2010; Pacho Ramos <pacho@gentoo.org> glib-2.24.1-r1.ebuild:
+  Add a comment in ebuild for remembering to keep eautoreconf in the future
+  due bug #267603 (by Andrei Slavoiu).