Re: koji mock failing

2011-01-24 Thread Mike McLean
On 01/24/2011 11:51 AM, steve.w...@beatport.com wrote:
> Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 
> --nodeps builddir/build/SPECS/php.spec']
> error: /builddir/build/SPECS/php.spec:29: parseExpressionBoolean returns -1
> error: Name field must be present in package: (main package)
> error: Version field must be present in package: (main package)
> error: Release field must be present in package: (main package)
> error: Summary field must be present in package: (main package)
> error: Group field must be present in package: (main package)
> error: License field must be present in package: (main package)

Could be an issue in this particular spec, or could be an issue with the 
rpm version in the chroot (e.g. rhbz#56103 [1]).

Can you post the spec? Which version of rpm was in the buildroot?

[1] https://bugzilla.redhat.com/show_bug.cgi?id=456103
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


Re: koji mock failing

2011-01-24 Thread steve . webb
This is a fairly new koji install and I've had a successful build of a 
different package on this machine.

- Steve

On Mon, 24 Jan 2011, steve.w...@beatport.com wrote:

> build.log:
>
> Mock Version: 1.1.6 Mock Version: 1.1.6 ENTER do(['bash', '--login', '-c', 
> 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/php.spec'], 
> False, '/var/lib/mock/dist-EL5-beatport-build-20-2115/root/', None, 86400, 
> True, 0, 498, 498, None, logger= 0x1f8ea50>)
> Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 
> --nodeps builddir/build/SPECS/php.spec']
> error: /builddir/build/SPECS/php.spec:29: parseExpressionBoolean returns -1
> error: Name field must be present in package: (main package)
> error: Version field must be present in package: (main package)
> error: Release field must be present in package: (main package)
> error: Summary field must be present in package: (main package)
> error: Group field must be present in package: (main package)
> error: License field must be present in package: (main package)
> 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/php.spec']
> Traceback (most recent call last):
>  File "/usr/lib/python2.7/site-packages/mock/trace_decorator.py", line 70, 
> in trace
>result = func(*args, **kw)
>  File "/usr/lib/python2.7/site-packages/mock/util.py", line 345, 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/php.spec']
> LEAVE do --> EXCEPTION RAISED
>
>
> root.log:
>
> DEBUG util.py:340:  Child returncode was: 0
> DEBUG util.py:102:  kill orphans
> INFO backend.py:747:  Mock Version: 1.1.6
> DEBUG backend.py:242:  rootdir = 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/ DEBUG backend.py:243: 
> resultdir = /var/lib/mock/dist-EL5-beatport-build-20-2115/result
> DEBUG backend.py:249:  create skeleton dirs
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/var/lib/rpm
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/var/lib/yum
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/var/lib/dbus
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/var/log
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/var/lock/rpm
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/etc/rpm
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/tmp
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/var/tmp
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/etc/yum.repos.d
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/etc/yum
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/sys
> DEBUG backend.py:267:  touch required files
> DEBUG util.py:68:  touching file: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/etc/mtab
> DEBUG util.py:68:  touching file: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/etc/fstab
> DEBUG util.py:68:  touching file: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/var/log/yum.log
> DEBUG backend.py:275:  configure yum
> DEBUG util.py:82:  remove tree: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
> DEBUG util.py:60:  creating dir: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
> DEBUG util.py:57:  ensuring that dir exists: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
> DEBUG util.py:60:  creating dir: 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
> DEBUG backend.py:647:  mount -n -t proc   mock_chroot_proc 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc
> DEBUG util.py:301:  Executing command: mount -n -t proc   mock_chroot_proc 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc
> DEBUG util.py:340:  Child returncode was: 0
> DEBUG backend.py:647:  mount -n -t sysfs  mock_chroot_sysfs 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/sys
> DEBUG util.py:301:  Executing command: mount -n -t sysfs  mock_chroot_sysfs 
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/sys
> DEBUG util.py:340:  Child r