Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303565 - failed rebuilding net-misc/rsync-3.0.6 and more application wich require iconv
Summary: failed rebuilding net-misc/rsync-3.0.6 and more application wich require iconv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 12:00 UTC by Dmitry
Modified: 2010-02-07 03:52 UTC (History)
0 users

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 Dmitry 2010-02-05 12:00:48 UTC
#emerge system
crashed when program linking with iconv:

x86_64-pc-linux-gnu-gcc -std=gnu99 -I. -I. -march=nocona -O2 -pipe -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter  -c zlib/crc32.c -o zlib/crc32.o
x86_64-pc-linux-gnu-gcc -std=gnu99 -march=nocona -O2 -pipe -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -Wl,-O1 -o rsync flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o io.o compat.o hlink.o token.o uidlist.o socket.o hashtable.o fileio.o batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o  zlib/deflate.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o zlib/zutil.o zlib/adler32.o zlib/compress.o zlib/crc32.o  -lacl -lpopt 
rsync.o: In function `iconvbufs':
rsync.c:(.text+0xf10): undefined reference to `libiconv'
rsync.c:(.text+0x104f): undefined reference to `libiconv'
rsync.o: In function `setup_iconv':
rsync.c:(.text+0x1168): undefined reference to `libiconv_open'
rsync.c:(.text+0x1186): undefined reference to `libiconv_open'
rsync.c:(.text+0x1222): undefined reference to `libiconv_open'
clientserver.o: In function `rsync_module':
clientserver.c:(.text+0x16ab): undefined reference to `libiconv_close'
clientserver.c:(.text+0x16cc): undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [rsync] Error 1
 * ERROR: net-misc/rsync-3.0.6 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2636:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =net-misc/rsync-3.0.6',
 * the complete build log and the output of 'emerge -pqv =net-misc/rsync-3.0.6'.
 * The complete build log is located at '/var/tmp/portage/net-misc/rsync-3.0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/rsync-3.0.6/temp/environment'.
 * S: '/var/tmp/portage/net-misc/rsync-3.0.6/work/rsync-3.0.6'


Reproducible: Always

Steps to Reproduce:
1. installing stage3-amd64
2. change portage profile from multilib to amd64 only 
3. emerge system; emerge -e system




Portage 2.1.7.16 (default/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32.2 x86_64)
=================================================================
System uname: Linux-2.6.32.2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 04 Feb 2010 22:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
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="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/sunrise /home/diff/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apm berkdb bzip2 cairo cdr ciao cli consolekit cracklib crypt cups cxx dbus dri dvd dvdr ffmpeg fontconfig fortran ftp fts3 fuse gd gdbm gimp glitz gnome gpm gps gtk hal iconv icq ipv6 jabber jingle lame lm_sensors mmx modules mp3 mpeg mplayer mtp mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pda pdf perl pppd python readline reflection ru samba session spl sqlite sse sse2 ssl subversion svg sysfs tao tcpd truetype unicode v4l v4l2 wifi xemacs xft xinerama xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dmitry 2010-02-07 02:03:41 UTC
dev-libs/libiconv-1.13.1 (masked by: missing keyword)
libiconv.so missing in library directories.

Why glibc do not building libiconv?
Comment 2 Dmitry 2010-02-07 03:52:06 UTC
fixed.
uninstal libiconv installed to /usr/local and recompile glibc.