Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43778 - emerge sync does not work when multiple RSYNC mirrors specified in make.conf
Summary: emerge sync does not work when multiple RSYNC mirrors specified in make.conf
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-05 01:07 UTC by Kim Pedersen
Modified: 2004-05-10 09:56 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 Kim Pedersen 2004-03-05 01:07:12 UTC
If I specify multiple mirrors in the /etc/make.conf file e.g.

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage
      rsync://rsync.gentoo.org/gentoo-portage"

I get the following error when I run emerge sync:

77176 files to consider
mkdir "/root/rsync://rsync.gentoo.org/gentoo-portage/metadata/timestamp.chk" failed: No such file or directory
rsync error: error in file IO (code 11) at main.c(327)
!!! Rsync has reported....((some more))

The error does NOT occur if I only specify one RSYNC mirror.

Reproducible: Always
Steps to Reproduce:
1. Edit make.conf to have more than one mirror in the RSYNC variable
2. Run emerge sync
3. Get the error after retrieving file list

Actual Results:  
emerge sync stopped with an error

Expected Results:  
The downloaded filelist should have been synced with mine.

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-
r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -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/s
hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.linux.no/                  ftp://ftp.uninett.no/pu
b/linux/Gentoo                  http://212.219.247.19/sites/www.ibiblio.org/gent
oo/                  http://212.219.247.20/sites/www.ibiblio.org/gentoo/        
         http://gentoo.oregonstate.edu                  http://www.ibiblio.org/p
ub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb crypt emacs encode foomaticdb gdbm gif g
pm gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurse
s nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl 
slang ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-09 17:03:38 UTC
RSYNC can't be set more than 1 mirror.

Comment 2 Kim Pedersen 2004-05-10 03:59:39 UTC
The bug is not resolved as it is possible to set the sync variable with more than one value: 

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4#doc_chap2

Erge, there is a bug.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-05-10 08:39:28 UTC
That's a documentation bug then.
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2004-05-10 09:56:34 UTC
Not anymore *cough*" :)

Thanks for reporting. Fixed in CVS.