On Thu, Jun 26, 2014 at 10:19:09AM +0100, Stuart Henderson wrote: > On 2014/06/26 11:02, Mike Belopuhov wrote: > > On 26 June 2014 08:53, patrick keshishian <sids...@boxsoft.com> wrote: > > > On Wed, Jun 25, 2014 at 10:01:06PM -0700, patrick keshishian wrote: > > >> On Thu, Jun 26, 2014 at 06:37:00AM +0200, Alexander Hall wrote: > > >> > On 06/25/14 20:52, Bob Beck wrote: > > >> > >If you or someone you love runs an anoncvs server, they need to see > > >> > >this. > > >> > > > > >> > >As you know we recently added commitid support to cvs, and we had > > >> > >you update your cvsync binary. > > >> > > > > >> > >Unfortunately, the fix wasn't quite right. We ran into problems > > >> > >with the synching of commitid files. naddy managed to cook > > >> > >a correct fix for us. > > >> > > > > >> > >anoncvs.ca (the fanout machine) has been fixed - again. What you > > >> > >need to do is to update your cvsync to the latest one that was > > >> > >just committed into ports (cvsync-0.25.0pre0 or later). Remove your > > >> > >scanfile (if any). > > >> > > > > >> > >Once you do that, re-run cvsync and you should be back in business. > > >> > > > >> > Is it known whether this requires a fixed upstream cvsync first, or if > > >> > it is ok to apply the fix and your repo will become fine whenever the > > >> > upstream is fixed? > > >> > > > >> > Anyone with insight, please feel free to chime in. > > >> > > >> > > >> The commit message suggests, at least, the server must be > > >> updated: > > >> > > >> | Add full support for commitid and bump protocol version > > >> | Old clients will receive updates with commitid stripped out. > > > > > > > > > It seems, running updated cvsync against an "un-updated" > > > cvsyncd (I assume) results in failure: > > > > > > Connecting to anoncvs1.usa.openbsd.org port 7777 > > > Connected to 149.20.54.217 port 7777 > > > Running... > > > Updating (collection openbsd-src/rcs) > > > Updater(RCS): UPDATE(delta): error > > > Updater(RCS): UPDATE: > > > /cvs/anoncvs/cvs/obsd/src/lib/libc/string/timingsafe_bcmp.3,v > > > Updater: RCS Error > > > Socket Error: recv: 2 residue 2 > > > Receiver Error: recv > > > Mux(SEND) Error: not running: 0 > > > DirScan: RCS Error > > > Mux(SEND) Error: not running: 1 > > > FileScan(RCS): UPDATE /cvs/anoncvs/cvs/obsd/src/sbin/pfctl/parse.y,v > > > FileScan: RCS Error > > > Failed > > > > > > > > > > removing offending files locally and restarting cvsync helps. > > > > I suspect this may only help until they receive another commit.
I was thinking it would be bit of a pain to keep running cvsync, have it fail, remove files, run it again, repeat. I stopped after three cycles. > The server *must* be updated - though it looks like there may still be > some problems. Run with -v option per Stuart Henderson's comment. Parsing a file /etc/obsd-cvsync... Connecting to anoncvs1.usa.openbsd.org port 7777 Connected to 149.20.54.217 port 7777 Protocol: 0.25 Hash: MD5 Exchanging collection list... collection name "openbsd-src" release "rcs" umask 002 collection name "openbsd-xenocara" release "rcs" umask 002 collection name "openbsd-ports" release "rcs" umask 002 Compression: zlib Trying to establish the multiplexed channel... Running... Updating (collection openbsd-src/rcs) Updater(RCS): UPDATE(delta): error Updater(RCS): UPDATE: /cvs/anoncvs/cvs/obsd/src/lib/libcrypto/crypto/getentropy_linux.c,v Updater: RCS Error Socket Error: recv: 1691 residue 334 Receiver(DATA) Error: recv Mux(SEND) Error: not running: 1 FileScan(RCS): UPDATE /cvs/anoncvs/cvs/obsd/src/usr.sbin/installboot/i386_installboot.h,v FileScan: RCS Error Mux(SEND) Error: not running: 0 DirScan: RCS Error Failed I suspect this is because 'there still are some problems'. Is there anther way to update one's source trees for the time being? Best, --patrick