Hi,
For some months now, I have exactly the same problem than:
http://marc.info/?t=129859684200007&r=1&w=2
and I carefully read the post of Philip.
I have a local repo (synced through cvsync) and it seems that updating
sources with a local repo triggers a problem.
I checked out /usr/src this way:
cd /usr && opencvs -d /home/OpenBSD_cvsync co src -P
and I used this command to update:
cd /usr/src && opencvs up -CAPd
/home/OpenBSD_cvsync is my local OpenBSD repo:
$ ls -l /home/OpenBSD_cvsync/
total 72
drwxr-xr-x 4 oc wsrc 2048 May 26 14:09 CVSROOT
drwxr-xr-x 6 oc wsrc 512 Sep 22 2009 X11
drwxr-xr-x 7 oc wsrc 512 Sep 22 2009 XF4
drwxr-xr-x 2 oc wsrc 512 Sep 22 2009 cvsync
drwxr-xr-x 61 oc wsrc 1536 May 16 14:09 ports
drwxr-xr-x 19 oc wsrc 512 Apr 25 14:10 src
drwxr-xr-x 46 oc wsrc 5632 May 26 14:13 www
drwxr-xr-x 16 oc wsrc 512 May 8 14:12 xenocara
$ pwd
/usr/src/lib/libssl/src/crypto/pqueue
$ cat CVS/Root
/home/OpenBSD_cvsync
$ rm pqueue.h
$ opencvs up pqueue.h
opencvs update: warning: pqueue.h was lost
U pqueue.h
opencvs update: failed to open history file
$ grep compat pqueue.h
#include <openssl/pq_compat.h>
$ md5 pqueue.h
MD5 (pqueue.h) = a1fd3f944a2777bb249d0e420d965c7f
$ rm pqueue.h
$ cvs -d :ext:[email protected]:/cvs up pqueue.h
U pqueue.h
$ grep compat pqueue.h
$ md5 pqueue.h
MD5 (pqueue.h) = 08e291548d9a920f534ea0717ee3ed88
As you see, using remote (:ext:) mode gives me the right version of the
file but not using local mode.
However, it says it is fetching version 1.1.1.2 :
$ rm pqueue.h
$ opencvs -t up pqueue.h
C-> cvs_parse_configfile()
C-> cvs_parse_modules()
C-> cvs_file_walklist: element 'pqueue.h'
C->
cvs_repository_lock(/home/OpenBSD_cvsync/src/lib/libssl/src/crypto/pqueue,
0)
C-> cvs_update_local(pqueue.h)
C-> cvs_file_classify(pqueue.h, none)
C-> cvs_ent_open(.)
opencvs update: warning: pqueue.h was lost
C-> cvs_checkout_file(pqueue.h, 1.1.1.2, 0) -> to disk
C-> cvs_ent_open(.)
C-> cvs_ent_remove(./CVS/Entries, pqueue.h)
C-> cvs_ent_add(./CVS/Entries, /pqueue.h/1.1.1.2/Fri May 27 08:05:19
2011//)
U pqueue.h
C-> cvs_history_add(`U', `pqueue.h', `(null)')
opencvs update: failed to open history file
C-> cvs_cleanup: removing locks
C-> cvs_cleanup: removing temp files
C-> cvs_ent_close(./CVS/Entries.Backup, 1)
$
but it doesn't get the content of the version 1.1.1.2:
Any idea ?
Thanks,
--
Olivier Cherrier - Symacx.com
mailto:[email protected]