[p4] cvs2p4 conversion errors - please help - urgent

Vinnakota_Rohini at emc.com Vinnakota_Rohini at emc.com
Thu Feb 28 05:43:53 PST 2008


I just tried with cvs2p4-2.5 version and the test worked fine not only with the default OS rlog but also with the new rlog binary I generated.

I suppose the errors with the latest version “cvs2p4-3.0b6” might be due to new rlog’s incompatibility with it.

 

Thanks,

Rohini

-----Original Message-----
From: Robert Cowham [mailto:robert at vaccaperna.co.uk] 
Sent: Thursday, February 28, 2008 6:36 PM
To: Vinnakota, Rohini; perforce-user at perforce.com
Subject: RE: [p4] cvs2p4 conversion errors - please help - urgent

 

Personally I would try configuring and running the scripts on your live

stuff (well a copy of it :)

 

It has been known for test scripts to not be quite up to date with the

scripts themselves...

 

Regards

Robert 

 

---------------------------------------------------------------------------------------------------------------------------

Hi,

 

I am using CVS2P4 conversion scripts downloaded from Perforce web-site. I followed the steps mentioned in README file. I am running the conversion on RedHat Linux ES 4 server.

Execution of MANIFEST reported “All ok”.

Compiled RCS-5.7 source with rlog.c patch that is provided and copied the rlog binary to cvs2p4/bin directory.

The p4 and p4d paths in test/config.test are fine.

Executing “runtest” reported following errors, can someone please help me resolve them?

 

[perforce at perforce test]$ ./runtest

runtest> rm -rf /home/perforce/cvs2p4-3.0b6/test_conv_dir

runtest> mkdir /home/perforce/cvs2p4-3.0b6/test_conv_dir

runtest> cp /home/perforce/cvs2p4-3.0b6/test/config.test /home/perforce/cvs2p4-3

.0b6/test_conv_dir/config

runtest> cp /home/perforce/cvs2p4-3.0b6/test/brmap.pl /home/perforce/cvs2p4-3.0b

6/test_conv_dir

runtest> cp /home/perforce/cvs2p4-3.0b6/test/exclude_branches /home/perforce/cvs

2p4-3.0b6/test_conv_dir

runtest> cp /home/perforce/cvs2p4-3.0b6/test/exclude_tags /home/perforce/cvs2p4-

3.0b6/test_conv_dir

runtest: create bad filename "\002"

runtest: create bad filename "x\001y"

runtest: create bad filename "bad\177\377\324\003\004\005dab"

runtest > chdir /home/perforce/cvs2p4-3.0b6

runtest> bin/genmetadata test_conv_dir

genmetadata: loaded 0 tag exclusions from test_conv_dir/exclude_tags.

genmetadata: loaded 0 branch tag exclusions from test_conv_dir/exclude_branches.

eval'ed test_conv_dir/brmap.pl ok.

genmetadata> /bin/rm -rf test_conv_dir/logmsgs test_conv_dir/logmsgs.db test_con

v_dir/logmsgs.pag test_conv_dir/logmsgs.dir test_conv_dir/p4root test_conv_dir/c

hanges test_conv_dir/p4 test_conv_dir/tags.txt test_conv_dir/tags test_conv_dir/

tags.db test_conv_dir/tags.pag test_conv_dir/tags.dir test_conv_dir/tagfiles.txt

 test_conv_dir/tagfiles test_conv_dir/tagfiles.db test_conv_dir/tagfiles.pag tes

t_conv_dir/tagfiles.dir test_conv_dir/brtags.txt test_conv_dir/brtags.db test_co

nv_dir/brtags.pag test_conv_dir/brtags.dir test_conv_dir/revmap test_conv_dir/re

vmap.db test_conv_dir/revmap.pag test_conv_dir/revmap.dir test_conv_dir/labels

========== test/star*file,vrlog: output error: Invalid argument

rlog aborted

 ok

========== test/dollar$file,vrlog: output error: Invalid argument

rlog aborted

 ok

========== test/pound#file,vrlog: output error: Invalid argument

rlog aborted

 ok

========== test/Attic/datefile,vrlog: output error: Invalid argument

rlog aborted

 ok

genmetadata: RCS filename with non-printable characters (skipped): \002,v

========== test/phone.gif,vrlog: output error: Invalid argument

rlog aborted

 ok

========== test/file,vrlog: output error: Invalid argument

rlog aborted

 ok

genmetadata: RCS filename with non-printable characters (skipped): bad\177\377\3

24\003\004\005dab,v

========== test/percent_%file,vrlog: output error: Invalid argument

rlog aborted

 ok

========== test/at at file,vrlog: output error: Invalid argument

rlog aborted

 ok

========== test/space file,vrlog: output error: Invalid argument

rlog aborted

 ok

========== test/datefile_readd,vrlog: output error: Invalid argument

rlog aborted

 ok

genmetadata: RCS filename with non-printable characters (skipped): x\001y,v

Wrote test_conv_dir/tags.txt

genmetadata> rm -f test_conv_dir/tags test_conv_dir/tags.db test_conv_dir/tags.p

ag test_conv_dir/tags.dir

genmetadata> rm -f test_conv_dir/tagfiles test_conv_dir/tagfiles.db test_conv_di

r/tagfiles.pag test_conv_dir/tagfiles.dir

Wrote test_conv_dir/brtags.txt

genmetadata> rm -f test_conv_dir/brtags test_conv_dir/brtags.db test_conv_dir/br

tags.pag test_conv_dir/brtags.dir

===== Lines referenced:

cabesa

chupa

curly

curly2

curly3

ha

larry

vtag

xxx

yyy

runtest> diff /home/perforce/cvs2p4-3.0b6/test/lines.good /home/perforce/cvs2p4-

3.0b6/test_conv_dir/lines

9d8

< shemp

runtest: *** "diff /home/perforce/cvs2p4-3.0b6/test/lines.good /home/perforce/cv

s2p4-3.0b6/test_conv_dir/lines" exited with signal 0 status 1

runtest: *** genmetadata bad results

runtest> rm -f /home/perforce/cvs2p4-3.0b6/test/☻,v

runtest> rm -f /home/perforce/cvs2p4-3.0b6/test/x☺y,v

runtest> rm -f /home/perforce/cvs2p4-3.0b6/test/bad ╘♥♦dab,v

 

 

Thanks,

Rohini

 

 



More information about the perforce-user mailing list