Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 613978 - fedpkg scratch-build --srpm not working with dist-git
fedpkg scratch-build --srpm not working with dist-git
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: fedora-packager (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: Dennis Gilmore
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-13 08:23 EDT by Stanislav Ochotnicky
Modified: 2010-07-13 09:04 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-07-13 09:04:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stanislav Ochotnicky 2010-07-13 08:23:42 EDT
Description of problem:
When trying to build package from dist-git, koji.stg fails with:
Traceback (most recent call last):
  File "/usr/sbin/kojid", line 1437, in runTask
    response = (handler.run(),)
  File "/usr/sbin/kojid", line 1513, in run
    return self.handler(*self.params,**self.opts)
  File "/usr/sbin/kojid", line 1934, in handler
    h = self.readSRPMHeader(srpm)
  File "/usr/sbin/kojid", line 2006, in readSRPMHeader
    fo = koji.openRemoteFile(relpath, **opts)
  File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1361, in openRemoteFile
    fo = open(fn)
IOError: [Errno 2] No such file or directory: '/mnt/koji/work/cli-build/1279022627.3687279.AjGzrtWp/exempi-2.1.1-2.fc13.src.rpm'


I assume this either problem with fedpkg uploading the file to a wrong place or koji looking in the wrong place..

For details: http://koji.stg.fedoraproject.org/koji/taskinfo?taskID=2239047

Version-Release number of selected component (if applicable):
fedora-packager-0.4.2.3-1.fc13.noarch

How reproducible:
always

Steps to Reproduce:
$ git clone ssh://pkgs.stg.fedoraproject.org/exempi
Cloning into exempi...
remote: Counting objects: 147, done.
remote: Compressing objects: 100% (73/73), done.
remote: Total 147 (delta 57), reused 147 (delta 57)
Receiving objects: 100% (147/147), 14.94 KiB, done.
Resolving deltas: 100% (57/57), done.
$ cd exempi/
$ git checkout origin/F-13 -b F-13
Branch F-13 set up to track remote branch F-13 from origin.
Switched to a new branch 'F-13'
$ fedpkg srpm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3321k  100 3321k    0     0   337k      0  0:00:09  0:00:09 --:--:--  414k
Wrote: /home/w0rm/work/fedora-git/exempi/exempi/exempi-2.1.1-1.fc13.src.rpm

$ fedpkg scratch-build --srpm ./exempi-2.1.1-2.fc13.src.rpm
  
Actual results:
failure on koji

Expected results:
successful build

Additional info:
Comment 1 Dennis Gilmore 2010-07-13 09:04:59 EDT
The issue had nothing to do with fedpkg.  the builder in the staging koji has the wrong filesystem mounted for /mnt/koji

Note You need to log in before you can comment on or make changes to this bug.