Hide Forgot
Description of problem: On a package review, I push first my package to the @fedorapeople.org and then I build it with koji CLI but I'm unable to use an http URL to the src.rpm file. I have to re-upload to the fedora infrastructure again. Version-Release number of selected component (if applicable): koji-1.6.0-2.fc15.noarch How reproducible: always To Reproduce: $ koji build --scratch f17 http://davidcl.fedorapeople.org/scilab-5.3.3-3.fc16.src.rpm Created task: 3505189 Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=3505189 Watching tasks (this may be safely interrupted)... 3505189 build (f17, /scilab-5.3.3-3.fc16.src.rp:http://davidcl.fedorapeople.org/scilab-5.3.3-3.fc16.src.rpm): free 3505189 build (f17, /scilab-5.3.3-3.fc16.src.rp:http://davidcl.fedorapeople.org/scilab-5.3.3-3.fc16.src.rpm): free -> open (x86-15.phx2.fedoraproject.org) 3505189 build (f17, /scilab-5.3.3-3.fc16.src.rp:http://davidcl.fedorapeople.org/scilab-5.3.3-3.fc16.src.rpm): open (x86-15.phx2.fedoraproject.org) -> FAILED: Fault: <Fault 1: 'Traceback (most recent call last):\n File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 1114, in runTask\n response = (handler.run(),)\n File "/usr/lib/python2.6/site-packages/koji/tasks.py", line 146, in run\n return self.handler(*self.params,**self.opts)\n File "/usr/sbin/kojid", line 731, in handler\n h = self.readSRPMHeader(srpm)\n File "/usr/sbin/kojid", line 802, in readSRPMHeader\n fo = koji.openRemoteFile(relpath, **opts)\n File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1376, in openRemoteFile\n fo = open(fn)\nIOError: [Errno 2] No such file or directory: \'/mnt/koji/work/http://davidcl.fedorapeople.org/scilab-5.3.3-3.fc16.src.rpm\'\n'> 0 free 0 open 0 done 1 failed 3505189 build (f17, /scilab-5.3.3-3.fc16.src.rp:http://davidcl.fedorapeople.org/scilab-5.3.3-3.fc16.src.rpm) failed
Well, there shouldn't be a traceback, however that's not how the URL option works. Users probably shouldn't be using the URL option directly, it's more for use after a srpm is uploaded to the koji system for the builders to be able to find it.
I suppose we should make the usage info a bit clearer. - usage = _("usage: %prog build [options] target URL") + usage = _("usage: %prog build [options] target <srpm path or scm url>")
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
it seems that this fix has been delivered to f17.