On Wed, Dec 22, 2010 at 06:51:09AM -0500, Josh Boyer wrote:
The other way is just as a package maintainer. It's really no
different than using the primary koji hub. The only thing you need to
do is point your build/scratch-build at this hub instead. You can
either create a separate koji config pointing to this hub, or just use
the -s option:
koji -s
http://ppc.koji.fedoraproject.org/kojihub build <whatever>
It's setup to use your existing Fedora cert already.
I tried a scratch build with a SRPM and got an error:
koji -s
http://ppc.koji.fedoraproject.org/kojihub build --scratch dist-rawhide
/media/raidhome/adrian/fedora/binutils/binutils-2.20.51.0.12-2.fc15.src.rpm
Uploading srpm:
/media/raidhome/adrian/fedora/binutils/binutils-2.20.51.0.12-2.fc15.src.rpm
[====================================] 100% 00:01:20 15.87 MiB 201.19 KiB/sec
Created task: 114591
Task info:
http://koji.fedoraproject.org/koji/taskinfo?taskID=114591
Watching tasks (this may be safely interrupted)...
114591 build (dist-rawhide, binutils-2.20.51.0.12-2.fc15.src.rpm): open (dooku)
114591 build (dist-rawhide, binutils-2.20.51.0.12-2.fc15.src.rpm): open (dooku) ->
FAILED: Fault: <Fault 1: 'Traceback (most recent call last):\n File
"/usr/sbin/kojid", line 1437, in runTask\n response = (handler.run(),)\n
File "/usr/sbin/kojid", line 1513, in run\n return
self.handler(*self.params,**self.opts)\n File "/usr/sbin/kojid", line 1934, in
handler\n h = self.readSRPMHeader(srpm)\n File "/usr/sbin/kojid", line 2006,
in readSRPMHeader\n fo = koji.openRemoteFile(relpath, **opts)\n File
"/usr/lib/python2.6/site-packages/koji/__init__.py", line 1361, in
openRemoteFile\n fo = open(fn)\nIOError: [Errno 2] No such file or directory:
\'/mnt/koji/work/cli-build/1293028721.705156.veLRzoZF/binutils-2.20.51.0.12-2.fc15.src.rpm\'\n'>
0 free 0 open 0 done 1 failed
114591 build (dist-rawhide, binutils-2.20.51.0.12-2.fc15.src.rpm) failed
and
koji -s
http://ppc.koji.fedoraproject.org/kojihub build --scratch dist-rawhide
git://pkgs.fedoraproject.org/binutils?#531a74d49fbcb04b3bf2d012f5c82d6cab...
gives me
DEBUG util.py:267: file:///mnt/koji/repos/dist-f14-build/24304/ppc/repodata/repomd.xml:
[Errno 14] Could not open/read
file:///mnt/koji/repos/dist-f14-build/24304/ppc/repodata/repomd.xml
DEBUG util.py:267: Trying other mirror.
DEBUG util.py:267: Error: Cannot retrieve repository metadata (repomd.xml) for
repository: build. Please verify its path and try again
Adrian