Question regarding the proper procedure to update packages in all branches
Paul Wouters
paul at cypherpunks.ca
Thu Nov 3 01:54:20 UTC 2005
Hi,
I am trying to upgrade two packages in fedora extras, and I'm trying
to find a consistent way of doing things, but I seem to be failing at
doing that. Could some one tell me what is wrong with the following
procedure. In this example I'm trying to upgrade gaim-otr to version
3.0.0-1. I already have devel, FC-3 and FC-4 branches.
cd fedora-extras/gaim-otr/devel
../common/cvs-import.sh /usr/src/redhat/SRPMS/gaim-otr-3.0.0-1.src.rpm
cvs -q upd -d
make tag
plague-client build gaim-otr gaim-otr-3_0_0-1_fc5 fc5
[this seems to work fine so far, though the build failed because the
build system does not yet have the new libotr installed which it built
15 minutes ago]
cd ../FC-3/devel
../common/cvs-import.sh -b FC-3 /usr/src/redhat/SRPMS/gaim-otr-3.0.0-1.src.rpm
[this gives an error but seems to be doing the work to upgrade the spec file
and the sources file.]
cvs -q upd -d
make tag
plague-client build gaim-otr gaim-otr-3_0_0-1_fc3 fc3
the buildsystem then gives the following error:
From: buildsys at fedoraproject.org To: paul at xelerance.com
Subject: Prep Error (Job 537): gaim-otr-3_0_0-1_fc3 on fedora-3-extras
Error: could not check out gaim-otr-3_0_0-1_fc3 from fedora-3-extras - output was:
cvs checkout: warning: cannot open /cvs/extras/CVSROOT/val-tags read/write: Permission denied
cvs [checkout aborted]: no such tag gaim-otr-3_0_0-1_fc3
but the tag does exist:
make tag
cvs tag -c gaim-otr-3_0_0-1_fc3
For more information on using the Fedora CVS repositories, please visit http://fedoraproject.org/wiki/UsingCvs
ERROR: Tag gaim-otr-3_0_0-1_fc3 has been already created.
[...]
gaim-otr-3_0_0-1_fc3:FC-3:pwouters:1130980908
Somehow, by trying various things, I did get libotr to build for the fc-3 branch, but for
the fc-4 branc I've managed to confuse it completely:
Error: could not make srpm for libotr-3_0_0-1_fc4 - output was:
Downloading libotr-2.0.2.tar.gz...
--19:42:38--
http://cvs.fedora.redhat.com/repo/extras/libotr/libotr-2.0.2.tar.gz/895598219517297fc7633456cd08e937/libotr-2.0.2.tar
.gz
=> `libotr-2.0.2.tar.gz'
Resolving cvs.fedora.redhat.com... 209.132.176.51
Connecting to cvs.fedora.redhat.com[209.132.176.51]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 368,896 [application/x-gzip]
19:42:38 (547.61 KB/s) - `libotr-2.0.2.tar.gz' saved [368,896/368,896]
FINISHED --19:42:38--
Downloaded: 368,896 bytes in 1 files
-rw-rw-rw- 1 root root 368896 Jun 17 22:46 libotr-2.0.2.tar.gz
rpmbuild --define "_sourcedir /tmp/533-libotr-3_0_0-1_fc4-1130978555/libotr/FC-4" --define "_builddir
/tmp/533-libotr-3_0_0-1_fc4-1130978555/libotr/FC-4" --define "_srcrpmdir
/tmp/533-libotr-3_0_0-1_fc4-1130978555/libotr/FC-4" --define "_rpmdir
/tmp/533-libotr-3_0_0-1_fc4-1130978555/libotr/FC-4" --define "dist .fc4" --define "fedora 4" --nodeps -bs libotr.spec
error: File /tmp/533-libotr-3_0_0-1_fc4-1130978555/libotr/FC-4/libotr-3.0.0.tar.gz: No such file or directory
make: *** [srpm] Error 1
Somewhere there is still a version "2.0.2" in the buildsystem, while I only have 3.0.0-1 versions.
Paul
--
"Happiness is never grand"
--- Mustapha Mond, World Controller (Brave New World)
More information about the fedora-extras-list
mailing list