Bug 613978 - fedpkg scratch-build --srpm not working with dist-git
Summary: fedpkg scratch-build --srpm not working with dist-git
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-packager   
(Show other bugs)
Version: 13
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-13 12:23 UTC by Stanislav Ochotnicky
Modified: 2010-07-13 13:04 UTC (History)
1 user (show)

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

Attachments (Terms of Use)

Description Stanislav Ochotnicky 2010-07-13 12:23:42 UTC
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):

How reproducible:

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 13:04:59 UTC
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.