# emerge info | grep SYNC SYNC="rsync://localhost:13873/gentoo-portage" # emerge sync Note: (-2, 'Name or service not known') >>> starting rsync with rsync://localhost:13873/gentoo-portage... >>> checking server timestamp ... receiving file list ... (snip) And this is a patch. --- emerge.orig 2004-01-02 14:43:22.000000000 +0900 +++ emerge 2004-01-02 14:55:13.000000000 +0900 @@ -1778,7 +1778,7 @@ maxretries=3 #default number of retries retries=0 - hostname=re.split("rsync://([^/]*)",syncuri)[1]; + hostname=re.split("rsync://([^:/]*)",syncuri)[1]; updatecache_flg=True while (1): try: Reproducible: Always Steps to Reproduce: 1. 2. 3. # emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r2) ================================================================= System uname: 2.4.22-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://localhost:13873/gentoo-portage" USE="X aalib apm avi berkdb bonobo cdr cjk crypt encode foomaticdb gdbm gif gtk gtk2 jpeg libg++ libwww mikmod motif mozilla moznocompose moznoirc ncurses nls opengl pam pdflib perl png python quicktime readline ruby sdl slang ssl svga tcpd truetype x86 xml2 xmms xv zlib"
I've modifed the patch a little, then included it. Thanks,
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.