Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 310629

Summary: app-text/dos2unix fails linking -lintl
Product: Gentoo Linux Reporter: Andrew John Hughes <gnu_andrew>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew John Hughes 2010-03-21 23:36:42 UTC
make -j5 prefix=/usr LDFLAGS_EXTRA=-lintl 
powerpc-unknown-linux-gnu-gcc  -DVER_REVISION=\"5.0\" -DVER_DATE=\"2010-02-16\"  -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -O2 -Wall -D_LARGEFILE_SOURCE  -c dos2unix.c -o dos2unix.o
powerpc-unknown-linux-gnu-gcc  -DVER_REVISION=\"5.0\" -DVER_DATE=\"2010-02-16\"  -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"unix2dos\" -O2 -Wall -D_LARGEFILE_SOURCE  -c unix2dos.c -o unix2dos.o
ln -sf dos2unix.1 mac2unix.1
ln -sf unix2dos.1 unix2mac.1
powerpc-unknown-linux-gnu-gcc dos2unix.o -Wl,-O1 -lintl -o dos2unix
powerpc-unknown-linux-gnu-gcc unix2dos.o -Wl,-O1 -lintl -o unix2dos
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.3/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make: *** [dos2unix] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.3/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make: *** [unix2dos] Error 1

Happens on both amd64 and ppc.

Reproducible: Always




Portage 2.2_rc67 (default/linux/powerpc/ppc64/10.0/32bit-userland/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo.omega ppc64)
=================================================================
System uname: Linux-2.6.33-gentoo.omega-ppc64-PPC970MP,_altivec_supported-with-gentoo-2.0.1
Timestamp of tree: Sun, 21 Mar 2010 02:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.51.0.6
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE="@FSF-APPROVED-EXT @X11-LICENSES @PRESUMED-FOSS @CREATIVE-COMMONS adobe-ps freedist"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
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="/var/lib/layman/kde-sunset /var/lib/layman/java-overlay /usr/local/portage/ppc64 /usr/local/portage/xmmsroot2_overlay /usr/local/portage/fixes-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl addbookmarks alias alsa altivec asf autoreplace avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cli connectionstatus consolekit contactnotes cracklib crypt cups curl cvs cxx daap dbus dga dia dirac djvu doc dri dts dv dvd dvdnav dvdr dvdread dvi eds effects emacs emboss emf encode evo examples exif fam fame ffmpeg fftw firefox flac fortran fping gcc64 gcj gdbm gif gimp git gmp gnome gnome-keyring gnutls gpac gpgme gphoto2 gpm gstreamer gtk hal hfs highlight history iconv id3tag idn ieee1394 imagemagick imap imlib ipod ipv6 irc jack java java5 javascript jingle jpeg jpeg2k kde kerberos ladspa lame lapack latex lcms libnotify live lzma lzo mad matroska mbox mikmod mjpeg mmap mng modules mp2 mp3 mp4 mpeg mpi mplayer mudflap musepack musicbrainz ncurses netmeeting network nls nntp nowlistening nptl nptlonly nsplugin ogg openal openexr opengl openmp optimisememory oss pam pcre pdf perl pidgin plotutils png pnm policykit pop postscript ppc ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection rtc sasl scanner schroedinger sdl session shout slp smime smp sms smtp snmp sox speex spell spl sqlite ssl startup-notification statistics stream subtitles subversion svg sysfs syslog t1lib tcpd tetex texteffect tga theora threads thunar tiff translator truetype twolame unicode usb v4l2 vcd visualization vorbis vram webkit webpresence wifi wmf x264 xattr xchattext xcomposite xine xinerama xml xmmsroot2 xorg xscreensaver xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nv fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrew John Hughes 2010-03-21 23:37:08 UTC
>>> Configuring source in /var/tmp/portage/app-text/dos2unix-5.0/work/dos2unix-5.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-text/dos2unix-5.0/work/dos2unix-5.0 ...
make -j9 prefix=/usr LDFLAGS_EXTRA=-lintl 
x86_64-pc-linux-gnu-gcc  -DVER_REVISION=\"5.0\" -DVER_DATE=\"2010-02-16\"  -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dos2unix\" -O2 -Wall -D_LARGEFILE_SOURCE  -c dos2unix.c -o dos2unix.o
x86_64-pc-linux-gnu-gcc  -DVER_REVISION=\"5.0\" -DVER_DATE=\"2010-02-16\"  -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"unix2dos\" -O2 -Wall -D_LARGEFILE_SOURCE  -c unix2dos.c -o unix2dos.o
ln -sf dos2unix.1 mac2unix.1
ln -sf unix2dos.1 unix2mac.1
x86_64-pc-linux-gnu-gcc dos2unix.o -Wl,-O1 -lintl -o dos2unix
x86_64-pc-linux-gnu-gcc unix2dos.o -Wl,-O1 -lintl -o unix2dos
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make: *** [dos2unix] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make: *** [unix2dos] Error 1
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-03-21 23:46:10 UTC

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