Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399733 - sys-devel/gettext-0.18.1.1-r1 fails to compile - directories in linking???
Summary: sys-devel/gettext-0.18.1.1-r1 fails to compile - directories in linking???
Status: RESOLVED DUPLICATE of bug 271942
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-22 13:45 UTC by Tibor Vago
Modified: 2012-01-22 15:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tibor Vago 2012-01-22 13:45:14 UTC
libtool try to link library with directories:

/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99  -w -O2 -march=native -pipe -release 0.18.1 ../gnulib-lib/libgettextlib.la  -lc   -Wl,-O1 -Wl,--as-needed -o libgettextsrc.la -rpath /usr/lib64 message.lo po-error.lo po-xerror.lo read-catalog-abstract.lo po-lex.lo po-gram-gen.lo po-charset.lo read-po.lo read-properties.lo read-stringtable.lo open-catalog.lo dir-list.lo str-list.lo read-catalog.lo color.lo write-catalog.lo write-properties.lo write-stringtable.lo write-po.lo msgl-ascii.lo msgl-iconv.lo msgl-equal.lo msgl-cat.lo msgl-header.lo msgl-english.lo msgl-check.lo file-list.lo msgl-charset.lo po-time.lo plural-exp.lo plural-eval.lo plural-table.lo format.lo format-c.lo format-sh.lo format-python.lo format-lisp.lo format-elisp.lo format-librep.lo format-scheme.lo format-java.lo format-csharp.lo format-awk.lo format-pascal.lo format-ycp.lo format-tcl.lo format-perl.lo format-perl-brace.lo format-php.lo format-gcc-internal.lo format-gfc-internal.lo format-qt.lo format-qt-plural.lo format-kde.lo format-boost.lo   
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/message.o .libs/po-error.o .libs/po-xerror.o .libs/read-catalog-abstract.o .libs/po-lex.o .libs/po-gram-gen.o .libs/po-charset.o .libs/read-po.o .libs/read-properties.o .libs/read-stringtable.o .libs/open-catalog.o .libs/dir-list.o .libs/str-list.o .libs/read-catalog.o .libs/color.o .libs/write-catalog.o .libs/write-properties.o .libs/write-stringtable.o .libs/write-po.o .libs/msgl-ascii.o .libs/msgl-iconv.o .libs/msgl-equal.o .libs/msgl-cat.o .libs/msgl-header.o .libs/msgl-english.o .libs/msgl-check.o .libs/file-list.o .libs/msgl-charset.o .libs/po-time.o .libs/plural-exp.o .libs/plural-eval.o .libs/plural-table.o .libs/format.o .libs/format-c.o .libs/format-sh.o .libs/format-python.o .libs/format-lisp.o .libs/format-elisp.o .libs/format-librep.o .libs/format-scheme.o .libs/format-java.o .libs/format-csharp.o .libs/format-awk.o .libs/format-pascal.o .libs/format-ycp.o .libs/format-tcl.o .libs/format-perl.o .libs/format-perl-brace.o .libs/format-php.o .libs/format-gcc-internal.o .libs/format-gfc-internal.o .libs/format-qt.o .libs/format-qt-plural.o .libs/format-kde.o .libs/format-boost.o   -Wl,-rpath -Wl,/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools/gnulib-lib/.libs ../gnulib-lib/.libs/libgettextlib.so /usr/bin /usr/sbin /bin /sbin -L/usr/lib64 -lxml2 -lncurses -lc  -march=native -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libgettextsrc-0.18.1.so -o .libs/libgettextsrc-0.18.1.so
/usr/bin: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[4]: *** [libgettextsrc.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools'
make: *** [all-recursive] Error 1
emake failed

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-devel/gettext-
2.
3.
Actual Results:  
gettext didn't compile

Expected Results:  
success compile of gettext

# emerge --info
Portage 2.1.10.41 (default/linux/amd64/10.0/no-multilib, gcc-4.5.3, glibc-2.13-r4, 3.0.13-std241-amd64 x86_64)
=================================================================
System uname: Linux-3.0.13-std241-amd64-x86_64-Intel-R-_Core-TM-_i5_CPU_M_580_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 22 Jan 2012 00:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-w -O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-w -O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="hu"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 bzip2 cli cracklib crypt cups cxx dri glibc-omitfp gmp iconv ipv6 ithreads mmx modules ncurses nls nptl nptlonly optimization pam pcre pppd python2 python3 readline session sse sse2 sse3 sse4_1 ssl ssse3 strong-optimization sysfs unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-01-22 13:55:49 UTC
The error is coming from a .la file you have installed, not from gettext itself, so it's not possible for anyone else than you to reproduce this (approx.)

Try this first,

# emerge lafilefixer
# lafilefixer --justfixit
# emerge -1 gettext
Comment 2 Tibor Vago 2012-01-22 13:57:24 UTC
Detailed steps to reproduce:
1.: start a stage3 install
2.: emerge -evp @system
Comment 3 Tibor Vago 2012-01-22 14:52:36 UTC
lafilefixer didn't help.

I recompiled binutils glibc gcc and after that issued "env-update && source /etc/profile" but gettext still doesn't compile.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-01-22 15:01:02 UTC
Are you using SystemRescueCD?  It's known to be a bad installation media for Gentoo, causing bugs like bug 271942
Comment 5 Tibor Vago 2012-01-22 15:19:34 UTC
Yes, the cause was the sysresccd environment settings. Now everithings compiles fine.
Many thanks to help to solve the problem.

Tibor
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-01-22 15:41:39 UTC

*** This bug has been marked as a duplicate of bug 271942 ***