Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274157 - net-misc/rsync-3.0.5 can't load libiconv.so.2 when syncing with different platform (openwrt)
Summary: net-misc/rsync-3.0.5 can't load libiconv.so.2 when syncing with different pla...
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-14 20:33 UTC by ferryk
Modified: 2009-07-05 20:22 UTC (History)
1 user (show)

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


Attachments
output of emerge --info The correct one (emerge-info-output.txt,2.45 KB, text/plain)
2009-06-25 11:29 UTC, ferryk
Details
output ls * on /etc (output-ls-star_on_etc.txt,1.77 KB, text/plain)
2009-06-27 09:58 UTC, ferryk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ferryk 2009-06-14 20:33:46 UTC
While trying to sync the /etc directory on an openwrt installation - different platform - from an x86 gentoo box, the following happens:

dust tmp # rsync root@bucket:/etc .
rsync: can't load library 'libiconv.so.2'
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.5]

#emerge libiconv 

installs virtual/libiconv-0 but does not solve the issue.

Reproducible: Always
Comment 1 ferryk 2009-06-14 20:39:01 UTC
I should add that:
- the same command works flawless between gentoo boxes
- I've re-emerged rsync after emerging libiconv which does not solve it as well
Comment 2 Wormo (RETIRED) gentoo-dev 2009-06-24 03:03:25 UTC
It is pretty weird that rsync thinks it needs separate libiconv since standard glibc includes all the iconv stuff. Please show your "emerge --info" output.

Also, might want to check over stuff you have installed in /usr/local, in case anything is interfering, e.g. http://forums.gentoo.org/viewtopic-t-553180.html
Comment 3 ferryk 2009-06-25 11:29:32 UTC
Created attachment 195743 [details]
output of emerge --info

The correct one
Comment 4 ferryk 2009-06-25 11:46:28 UTC
Comment on attachment 195743 [details]
output of emerge --info

The correct one

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-xen-r4 i686)
=================================================================
System uname: Linux-2.6.29-xen-r4-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-glibc2.0
Timestamp of tree: Tue, 23 Jun 2009 09:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi apache2 berkdb bluetooth bzip2 calendar cdparanoia cdr cli cracklib crypt cups dbus dng dri dvd encode ethereal exif expat ffmpeg flac fortran gdbm gpm hal iconv imap ipv6 isdnlog jpeg kerberos ldap lm_sensors midi mmx mp3 mpeg mpi mudflap mysql ncurses nfs nls nptl nptlonly ogg openmp pam pcre pef perl png pppd python radiusskey readline reflection samba session sockets spl sse ssl sysfs tcpd threads tiff unicode usb vim-syntax vorbis x86 xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-25 14:20:30 UTC
Can you give any information about the types of files that you are trying to sync? For instance, are there any weird characters in the filenames?
Comment 6 ferryk 2009-06-27 09:58:46 UTC
Created attachment 195868 [details]
output ls * on /etc
Comment 7 ferryk 2009-06-27 10:04:46 UTC
(In reply to comment #2)
> It is pretty weird that rsync thinks it needs separate libiconv since standard
> glibc includes all the iconv stuff. Please show your "emerge --info" output.

See above

> Also, might want to check over stuff you have installed in /usr/local, in case
> anything is interfering, e.g. http://forums.gentoo.org/viewtopic-t-553180.html

I've checked, but on this system /usr/local/lib is empty and /usr/local/include does not exist. revdep-rebuild gives a "consistent" result. 
Comment 8 Wormo (RETIRED) gentoo-dev 2009-06-30 07:01:08 UTC
Ok, more ideas of stuff to look at...

* Output of 'iconv --list | head'
* Output of 'ldd /usr/bin/rsync' 
* Build log from rebuilding rsync
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-07-04 23:12:48 UTC
Check the copy of rsync on the openwrt box. I'm pretty certain it's missing the libiconv there. If you can run rsync ON the openwrt box directly, then reopen this bug.
Comment 10 ferryk 2009-07-05 20:22:29 UTC
Indeed:

bucket# rsync
rsync: can't load library 'libiconv.so.2'