Opened 11 years ago

Closed 10 years ago

#45 closed defect (fixed)

initial checkout of project fails

Reported by: bryang Owned by:
Priority: major Milestone: 0.9.8
Component: pb Version: 0.9.6
Keywords: Cc:

Description

For the linuxcoe project, if one starts with a completely empty "pbdefdir" and also empty "pbprojdir" (with a known working .pbrc) the inital checkout of the project fails with:

Checking out cvs://:pserver:anonymous@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe/cvs to /home/pb/project-builder/linuxcoecvs ... child (cd /home/pb/project-builder/linuxcoecvs ; cvs -d :pserver:anonymous@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe/cvs co -D "2009-03-16 21:00:12" .) exited with value 1 cvs checkout: authorization failed: server linuxcoe.cvs.sourceforge.net rejected access to /cvsroot/linuxcoe/cvs for user anonymous cvs checkout: used empty password; try "cvs login" with a real password

even though the PB user is definitely able to do the cvs login/checkout just fine, and even if the appropriate ~/.cvspass is present

Change History (3)

comment:1 Changed 11 years ago by bryang

fwiw, this is during the invocation of "pb -r cvs -p linuxcoe cms2pkg"

comment:2 Changed 10 years ago by bruno

  • Milestone changed from 0.9.7 to 0.9.8

comment:3 Changed 10 years ago by bruno

  • Resolution set to fixed
  • Status changed from new to closed

I just checked with version rev [897], on a new machine with a new account without pb conf previously made. I created the following .pbrc in its home directory:

pbdefdir linuxcoe = $ENV{'HOME'}/pb/projects
pbconfurl linuxcoe = svn+ssh://svn.project-builder.org/mondo/svn/pb/projects/linuxcoe/pbconf
pburl linuxcoe = cvs://:pserver:anonymous@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe

And run successfully the following:

$ pb -r cvs -p linuxcoe cms2pkg                                                              
Project: linuxcoe
Action: cms2pkg
Packages: linuxcoe-sd-docs,linuxcoe-sd-base
[...]

rpm packages generated:  SRPMS/linuxcoe-sd-docs-4.2-0.20091110005729.mdv2010.0.src.rpm RPMS/noarch/linuxcoe-sd-docs-4.2-0.20091110005729.mdv2010.0.noarch.rpm SRPMS/linuxcoe-sd-base-4.2-0.20091110005729.mdv2010.0.src.rpm RPMS/noarch/linuxcoe-sd-base-4.2-0.20091110005729.mdv2010.0.noarch.rpm

So it should be fixed by now. Please check if you have time.

Note: See TracTickets for help on using tickets.