Making the elibtoolize call in the ebuild unconditional fixed this. (right now elibtoolize is only called for freebsd) Reproducible: Always Steps to Reproduce:
you are going to need to provide a bit more explanations for us to change anything.
Created attachment 189586 [details] Full build log
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 ?
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
btw, tried without ccache ?
(In reply to comment #5) > btw, tried without ccache ? > Just did that, doesn't change anything except for compile time.
Still happening with dev-libs/glib-2.20.5
Maybe we should run always elibtoolize if still failing with glib-2.22* :-/
Still the same issue with 2.24.1?
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.
+ 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).