This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: sim checkout broken
- From: Tom Tromey <tromey at redhat dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Wed, 26 Jun 2013 20:11:10 -0600
- Subject: Re: sim checkout broken
- References: <1371835865-15879-1-git-send-email-tromey at redhat dot com> <871u7rwodv dot fsf at fleche dot redhat dot com> <20130624224138 dot GC5326 at adacore dot com> <alpine dot BSF dot 2 dot 02 dot 1306242048260 dot 69392 at arjuna dot pair dot com> <87y59ythcd dot fsf at fleche dot redhat dot com> <20130625142141 dot GF5326 at adacore dot com> <87ppvatfsp dot fsf at fleche dot redhat dot com> <87bo6ute8b dot fsf at fleche dot redhat dot com> <alpine dot BSF dot 2 dot 02 dot 1306260702510 dot 73224 at arjuna dot pair dot com> <878v1wrghn dot fsf at fleche dot redhat dot com> <alpine dot BSF dot 2 dot 02 dot 1306261316340 dot 73224 at arjuna dot pair dot com>
Tom> Could you say exactly what you are doing?
H-P> Oh my, seems I'm a victim of the reproducibility-ignorance-demon
H-P> despite extensive training. Sorry about that. Hubris, I guess. :/
Don't worry about it.
Tom> Indeed, if I run the same "cvs co sim" command twice, the second time I
Tom> get:
Tom>
Tom> cvs checkout: existing repository /cvs/src/CVSROOT/Emptydir does not
Tom> match /cvs/src/src/gdb
Tom>
Tom> ... but cvs still exits with status 0 for me.
H-P> Odd; it being 1 for me doesn't seem version-dependent.
Ugh.
H-P> cvs checkout: existing repository /cvs/src/CVSROOT/Emptydir does not
H-P> match /cvs/src/src/gdb
H-P> I don't think it would. On another machine, at the second
H-P> checkout (with the first identical command populating the tree)
H-P> with a CVS version apparently matching yours, the same thing
H-P> happens:
H-P> cvs checkout: existing repository /cvs/src/CVSROOT/Emptydir does not
H-P> match /cvs/src/src/gdb
H-P> cvs checkout: ignoring module src/gdb/version.in
H-P> [hp@derp sim]$ echo $?
H-P> 1
H-P> [hp@derp sim]$ rpm -q cvs
H-P> cvs-1.11.23-25.fc17.x86_64
There must be some difference since:
barimba. cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co sim
[...]
cvs checkout: Updating src/intl
cvs checkout: existing repository /cvs/src/CVSROOT/Emptydir does not match /cvs/src/src/gdb
cvs checkout: ignoring module src/gdb/version.in
barimba. echo $?
0
I have:
barimba. rpm -q cvs
cvs-1.11.23-29.fc18.x86_64
Based on "rpm -q --changelog" it is hard to believe that anything
between -25 and -29 changed this.
H-P> But what is the cause of the error? Can't we just remove that
H-P> Emptydir or revert what was done? The message above seems to
H-P> indicate an operational error in whatever was done.
Based on my searches it seems to be a CVS issue.
CVS, IIUC, puts "Emptydir" into the Repository file of some directories
in some situations. This later confuses it.
I don't really understand this, though, since no Repository file in my
checkout actually has this.
Maybe we should just give up on part of this patch and move the
version.in file back out of "common".
sim really should not be using this file.
Tom