Koji not able to parse SCM url

Aditya Patawari aditya at adityapatawari.com
Mon Jul 4 11:07:28 UTC 2011


Hi,

I have made some more progress. I added make package in the srpm-build
group and this time there was no permission error and finally the
build started and terminated almost immediately saying "FAILED:
BuildError: No srpms found in
/var/lib/mock/centos5-mail-hosting-testing-build-71-1406/root/tmp/scmroot/kfilefactory".
I have a Makefile in my SCM which reads

sources:
curl http://kde-apps.org/CONTENT/content-files/105900-kfilefactory-0.1.1.tar.bz2
-o 105900-kfilefactory-0.1.1.tar.bz2


build.log:
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64
--nodeps builddir/build/SPECS/kfilefactory.spec'], False,
'/var/lib/mock/centos5-mail-hosting-testing-build-71-1406/root/',
None, 86400, True, 0, 498, 496, None,
logger=<mock.trace_decorator.getLog object at 0x1795a90>)

Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target
x86_64 --nodeps builddir/build/SPECS/kfilefactory.spec']

error: File /builddir/build/SOURCES/105900-kfilefactory-0.1.1.tar.bz2:
No such file or directory

Building target platforms: x86_64

Building for target x86_64

Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps
builddir/build/SPECS/kfilefactory.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py",
line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.6/site-packages/mock/util.py", line 328, in do
    raise mock.exception.Error, ("Command failed. See logs for
output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps
builddir/build/SPECS/kfilefactory.spec']
LEAVE do --> EXCEPTION RAISED.

--
Aditya Patawari
http://blog.adityapatawari.com/
https://fedoraproject.org/wiki/User:Adimania
India


More information about the buildsys mailing list