Re: cvs checkout of src,ports and xenocara gives duplicate key msg

2019-12-16 Thread Stefan Sperling
On Mon, Dec 16, 2019 at 10:55:17AM +0530, putridsou...@gmail.com wrote:
> Currently I'm running the -stable OPENBSD-6.6
> I want to set up the ports repository so 
> I followed the faqs to set up a /usr/ports partition,
> changed the group to wsrc and file modes to 775.
> Then I added my local user to wsrc group.
> After changing directory to /usr, I hit the following
> command
> 
> cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs checkout  \
>  -rOPENBSD_6_6 -P ports
> 
> The output;
> cvs server: duplicate key found for 'y'
> U ports/.cvsignore
> U ports/Makefile
> ..and then the normal output followed.


Based on cvs code inspection it looks like the CVSROOT/val-tags
file is broken on the server.

I can reproduce this with a reposync'd CVS repository, too.
The last line in that file looks suspect. It contains no tag name:

$ tail CVSROOT/val-tags  
mesa-19_0_5 y
mesa-19_0_8 y
LLVM_8_0_0 y
LLVM_8_0_1 y
UNBOUND_1_9_3 y
OPENBSD_6_6 y
OPENBSD_6_6_BASE y
libdrm_2_4_100 y
kn y
 y
$ 



Re: cvs checkout of src,ports and xenocara gives duplicate key msg

2019-12-15 Thread putridsoul66
Currently I'm running the -stable OPENBSD-6.6
I want to set up the ports repository so 
I followed the faqs to set up a /usr/ports partition,
changed the group to wsrc and file modes to 775.
Then I added my local user to wsrc group.
After changing directory to /usr, I hit the following
command

cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs checkout  \
 -rOPENBSD_6_6 -P ports

The output;
cvs server: duplicate key found for 'y'
U ports/.cvsignore
U ports/Makefile
..and then the normal output followed.






Re: cvs checkout of src,ports and xenocara gives duplicate key msg

2019-12-15 Thread Nick Holland
On 2019-12-15 09:42, putridsou...@gmail.com wrote:
> I recently did a checkout of the src,ports and xenocara
> repositories and was greeted by the following message on 
> each checkout. After this the command proceeds smoothly.
> Also doing "echo $?" gives "0" so it's not a error.
> 
> cvs server: duplicate key found for 'y'
> 
> A quick search online tied this message to file corruption.
> On further testing, the message repeated itself. Can anyone
> indicate if this has something to do with my hard disk or
> anoncvs server.

You left out an incredible amount of information and context
here, so I'm going to say there's a PEBKAC here somewhere.

Now, if you want to tell us in detail what you are doing and
what is actually happening.  Otherwise, best I can say is
something ain't right.

Nick.



cvs checkout of src,ports and xenocara gives duplicate key msg

2019-12-15 Thread putridsoul66
I recently did a checkout of the src,ports and xenocara
repositories and was greeted by the following message on 
each checkout. After this the command proceeds smoothly.
Also doing "echo $?" gives "0" so it's not a error.

cvs server: duplicate key found for 'y'

A quick search online tied this message to file corruption.
On further testing, the message repeated itself. Can anyone
indicate if this has something to do with my hard disk or
anoncvs server.