Bug #230

Debugging csup for DragonFly

Added by wa1ter about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

FreeBSD-current has csup in the base system, and I've tried using it
twice on DF with mixed results.

The FBSD sources compile on DF without modification, and the binary
will fetch a freshly checked-out src/ from DF.

The problem is that csup will choke with a 'Protocol error' when
importing any changes from the server. If I delete the outdated
files then csup will check out the new versions with no problem.

While trying to debug this problem I used a packet sniffer to look
at the network traffic and ran across a different puzzle: I have
no /usr/src/kerberosIV directory, even though I can see the network
traffic talking about all the files that should be in it, and the
'checkouts' file in /usr/sup/ includes the kerberosIV directory.
Any ideas?

Is anyone here using csup successfully? If not, how is everyone
updating sources?

History

#1 Updated by joerg about 8 years ago

On Fri, Jul 07, 2006 at 09:20:57AM -0700, walt wrote:
> While trying to debug this problem I used a packet sniffer to look
> at the network traffic and ran across a different puzzle: I have
> no /usr/src/kerberosIV directory, even though I can see the network
> traffic talking about all the files that should be in it, and the
> 'checkouts' file in /usr/sup/ includes the kerberosIV directory.
> Any ideas?

src/kerberosIV contained the krb4 implementation and all the files are
in the Attic. It still has to scan them e.g. if they match the current
branch etc. This is entirely expected.

Joerg

#2 Updated by skrueger about 8 years ago

good old cvsup, or if you want a complete repro, cvsync

take care

#3 Updated by wa1ter about 8 years ago

wrote:

> src/kerberosIV contained the krb4 implementation and all the files are
> in the Attic...

Thanks. You snipped the more important question: how do you update
your DF sources?

#4 Updated by joerg about 8 years ago

On Fri, Jul 07, 2006 at 10:52:37AM -0700, walt wrote:
> wrote:
>
> > src/kerberosIV contained the krb4 implementation and all the files are
> > in the Attic...
>
> Thanks. You snipped the more important question: how do you update
> your DF sources?

:-) currently I have a few trees directly checked out from crater using
cvs and a local repo copy from grappa.unix-ag.uni-kl.de using cvsync.

Joerg

#5 Updated by corecode about 8 years ago

Stefan Krüger wrote:
> walt wrote:
>> Is anyone here using csup successfully? If not, how is everyone
>> updating sources?
> good old cvsup, or if you want a complete repro, cvsync

I am using rsync from chlamydia to get the repo, then cvs up from there - or mercurial, of course.

cvsup does not compile and thus can't be used without hassle and cvsync creates broken RCS files which can't be always used by CVS. I reported this bug over one year ago to the author but he didn't seem that he intends to fix it or even add it as an errata item.

cheers
simon

#6 Updated by wa1ter about 8 years ago

Simon 'corecode' Schubert wrote:
> Stefan Krüger wrote:
>> walt wrote:
>>> Is anyone here using csup successfully? If not, how is everyone
>>> updating sources?
>> good old cvsup, or if you want a complete repro, cvsync
>
> I am using rsync from chlamydia to get the repo, then cvs up from there
> - or mercurial, of course.
>
> cvsup does not compile...

Yes, that's why I've been using mostly CVS for the past months, using
the one CVS server I know of. I discovered a month ago that the cvsup
binary from my FBSD box would actually run on DF -- until my last build
of world/kernel. Now cvsup just segfaults :o(

The good news is that csup *almost* works -- in fact I think maybe I
can debug it myself (perhaps with a little help). Have you lost all
interest in CVS in favor of Hg?

#7 Updated by joerg about 8 years ago

On Fri, Jul 07, 2006 at 11:52:51AM -0700, walt wrote:
> Simon 'corecode' Schubert wrote:
> > Stefan Krüger wrote:
> >> walt wrote:
> >>> Is anyone here using csup successfully? If not, how is everyone
> >>> updating sources?
> >> good old cvsup, or if you want a complete repro, cvsync
> >
> > I am using rsync from chlamydia to get the repo, then cvs up from there
> > - or mercurial, of course.
> >
> > cvsup does not compile...
>
> Yes, that's why I've been using mostly CVS for the past months, using
> the one CVS server I know of. I discovered a month ago that the cvsup
> binary from my FBSD box would actually run on DF -- until my last build
> of world/kernel. Now cvsup just segfaults :o(

ftp://packages.stura.uni-rostock.de/bsdinstaller/dragonfly-1.4/cvsup-bin-16.1h.tgz
should still work.

Joerg

#8 Updated by swildner about 8 years ago

walt wrote:
> Yes, that's why I've been using mostly CVS for the past months, using
> the one CVS server I know of. I discovered a month ago that the cvsup
> binary from my FBSD box would actually run on DF -- until my last build
> of world/kernel. Now cvsup just segfaults :o(

This one:

http://pkgbox.dragonflybsd.org/DragonFly-pkgsrc-packages/i386/1.4.4-RELEASE-BUILD/cvsup-bootstrap-20051229.tgz

works fine here.

Sascha

#9 Updated by wa1ter about 8 years ago

On Fri, 7 Jul 2006, wrote:

> On Fri, Jul 07, 2006 at 11:52:51AM -0700, walt wrote:
> > Simon 'corecode' Schubert wrote:
> > > Stefan Krüger wrote:
> > >> walt wrote:
> > >>> Is anyone here using csup successfully? If not, how is everyone
> > >>> updating sources?
> > >> good old cvsup, or if you want a complete repro, cvsync
> > >
> > > I am using rsync from chlamydia to get the repo, then cvs up from there
> > > - or mercurial, of course.
> > >
> > > cvsup does not compile...
> >
> > Yes, that's why I've been using mostly CVS for the past months, using
> > the one CVS server I know of. I discovered a month ago that the cvsup
> > binary from my FBSD box would actually run on DF -- until my last build
> > of world/kernel. Now cvsup just segfaults :o(
>
> ftp://packages.stura.uni-rostock.de/bsdinstaller/dragonfly-1.4/cvsup-bin-16.1h.tgz
> should still work.

Thanks. I tried the package suggested by Sascha and it works, so I'll keep
on using it until it doesn't work.

Meanwhile, is anyone interested in getting csup to work? ;o)

#10 Updated by corecode about 8 years ago

can we close this?

#11 Updated by wa1ter about 8 years ago

Simon 'corecode' Schubert wrote:
> Simon 'corecode' Schubert <> added the comment:
>
> can we close this?
>
> _______________________________________________________
> DragonFly issue tracker <>
> <http://bugs.dragonflybsd.org/issue230>
> _______________________________________________________
>

Yes. I just noticed that Maxime has released an updated csup
and I'm going to try it on DF today.

Also available in: Atom PDF