FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 01-24-2011, 03:51 PM
 
Default koji mock failing

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=<mock.trace_decorator.getLog object at 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.
# %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 returncode was: 0
DEBUG backend.py:647: mount -n --bind /tmp/mock-selinux-pluginuI8o0W /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
DEBUG util.py:301: Executing command: mount -n --bind /tmp/mock-selinux-pluginuI8o0W /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
DEBUG util.py:340: Child returncode was: 0
DEBUG backend.py:647: mount -n -t devpts -o gid=5,mode=0620,ptmxmode=0666,newinstance mock_chroot_devpts /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
DEBUG util.py:301: Executing command: mount -n -t devpts -o gid=5,mode=0620,ptmxmode=0666,newinstance mock_chroot_devpts /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
DEBUG util.py:340: Child returncode was: 0
DEBUG backend.py:647: mount -n -t tmpfs mock_chroot_shmfs /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
DEBUG util.py:301: Executing command: mount -n -t tmpfs mock_chroot_shmfs /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:82: remove tree: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir
DEBUG util.py:301: Executing command: ['/usr/sbin/userdel', '-r', 'mockbuild']
DEBUG util.py:267: userdel: error removing directory /builddir
DEBUG util.py:340: Child returncode was: 12
DEBUG util.py:301: Executing command: ['/usr/sbin/groupdel', 'mockbuild']
DEBUG util.py:267: groupdel: group mockbuild does not exist
DEBUG util.py:340: Child returncode was: 6
DEBUG util.py:301: Executing command: ['/usr/sbin/groupadd', '-g', '498', 'mockbuild']
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: /usr/sbin/useradd -o -m -u 498 -g 498 -d /builddir -n mockbuild
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:57: ensuring that dir exists: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/RPMS
DEBUG util.py:60: creating dir: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/RPMS
DEBUG util.py:57: ensuring that dir exists: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SRPMS
DEBUG util.py:60: creating dir: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SRPMS
DEBUG util.py:57: ensuring that dir exists: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SOURCES
DEBUG util.py:60: creating dir: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SOURCES
DEBUG util.py:57: ensuring that dir exists: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SPECS
DEBUG util.py:60: creating dir: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SPECS
DEBUG util.py:57: ensuring that dir exists: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/BUILD
DEBUG util.py:60: creating dir: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/BUILD
DEBUG util.py:57: ensuring that dir exists: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/BUILDROOT
DEBUG util.py:60: creating dir: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/BUILDROOT
DEBUG util.py:57: ensuring that dir exists: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/originals
DEBUG util.py:60: creating dir: /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/originals
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/sys
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc
DEBUG util.py:340: Child returncode was: 0
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 returncode was: 0
DEBUG backend.py:647: mount -n --bind /tmp/mock-selinux-pluginuI8o0W /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
DEBUG util.py:301: Executing command: mount -n --bind /tmp/mock-selinux-pluginuI8o0W /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
DEBUG util.py:340: Child returncode was: 0
DEBUG backend.py:647: mount -n -t devpts -o gid=5,mode=0620,ptmxmode=0666,newinstance mock_chroot_devpts /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
DEBUG util.py:301: Executing command: mount -n -t devpts -o gid=5,mode=0620,ptmxmode=0666,newinstance mock_chroot_devpts /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
DEBUG util.py:340: Child returncode was: 0
DEBUG backend.py:647: mount -n -t tmpfs mock_chroot_shmfs /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
DEBUG util.py:301: Executing command: mount -n -t tmpfs mock_chroot_shmfs /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: ['rpm', '-Uvh', '--nodeps', '/builddir/build/originals/php-5.3.3-3.el5.beatport.src.rpm']
DEBUG util.py:267: error: cannot open Packages index using db3 - Invalid argument (22)
DEBUG util.py:267: error: cannot open Packages database in /var/lib/rpm
DEBUG util.py:267: warning: /builddir/build/originals/php-5.3.3-3.el5.beatport.src.rpm: Header V4 DSA signature: NOKEY, key ID 08ba6a4f
DEBUG util.py:267: error: cannot open Packages database in /var/lib/rpm
DEBUG util.py:267: php ##################################################
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/sys
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:301: Executing command: umount -n /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc
DEBUG util.py:340: Child returncode was: 0
DEBUG util.py:102: kill orphans


state.log:

2011-01-24 09:45:38,073 - Mock Version: 1.1.6
2011-01-24 09:45:38,088 - State Changed: running yum
2011-01-24 09:46:52,873 - Mock Version: 1.1.6
2011-01-24 09:46:52,884 - State Changed: running yum
2011-01-24 09:46:53,139 - State Changed: setup


- Steve

--
Steve Webb | System Administrator
Beatport | Play With Music
------------------------------------------
2399 Blake Street, Suite 170
Denver, Colorado USA 80205
tel: +1.720.932.9103
fax: +1.720.932.9104
noc: +1.303.565.2710
mobile: +1.303.564.4269
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 01-24-2011, 03:54 PM
 
Default koji mock failing

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.webb@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=<mock.trace_decorator.getLog object at
> 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.
#
> %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 returncode was: 0
> DEBUG backend.py:647: mount -n --bind /tmp/mock-selinux-pluginuI8o0W
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
> DEBUG util.py:301: Executing command: mount -n --bind
> /tmp/mock-selinux-pluginuI8o0W
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
> DEBUG util.py:340: Child returncode was: 0
> DEBUG backend.py:647: mount -n -t devpts -o
> gid=5,mode=0620,ptmxmode=0666,newinstance mock_chroot_devpts
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
> DEBUG util.py:301: Executing command: mount -n -t devpts -o
> gid=5,mode=0620,ptmxmode=0666,newinstance mock_chroot_devpts
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
> DEBUG util.py:340: Child returncode was: 0
> DEBUG backend.py:647: mount -n -t tmpfs mock_chroot_shmfs
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
> DEBUG util.py:301: Executing command: mount -n -t tmpfs mock_chroot_shmfs
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:82: remove tree:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir
> DEBUG util.py:301: Executing command: ['/usr/sbin/userdel', '-r',
> 'mockbuild']
> DEBUG util.py:267: userdel: error removing directory /builddir
> DEBUG util.py:340: Child returncode was: 12
> DEBUG util.py:301: Executing command: ['/usr/sbin/groupdel', 'mockbuild']
> DEBUG util.py:267: groupdel: group mockbuild does not exist
> DEBUG util.py:340: Child returncode was: 6
> DEBUG util.py:301: Executing command: ['/usr/sbin/groupadd', '-g', '498',
> 'mockbuild']
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: /usr/sbin/useradd -o -m -u 498 -g 498
> -d /builddir -n mockbuild
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:57: ensuring that dir exists:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/RPMS
> DEBUG util.py:60: creating dir:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/RPMS
> DEBUG util.py:57: ensuring that dir exists:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SRPMS
> DEBUG util.py:60: creating dir:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SRPMS
> DEBUG util.py:57: ensuring that dir exists:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SOURCES
> DEBUG util.py:60: creating dir:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SOURCES
> DEBUG util.py:57: ensuring that dir exists:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SPECS
> DEBUG util.py:60: creating dir:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/SPECS
> DEBUG util.py:57: ensuring that dir exists:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/BUILD
> DEBUG util.py:60: creating dir:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/BUILD
> DEBUG util.py:57: ensuring that dir exists:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/BUILDROOT
> DEBUG util.py:60: creating dir:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/BUILDROOT
> DEBUG util.py:57: ensuring that dir exists:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/originals
> DEBUG util.py:60: creating dir:
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/builddir/build/originals
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/sys
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc
> DEBUG util.py:340: Child returncode was: 0
> 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 returncode was: 0
> DEBUG backend.py:647: mount -n --bind /tmp/mock-selinux-pluginuI8o0W
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
> DEBUG util.py:301: Executing command: mount -n --bind
> /tmp/mock-selinux-pluginuI8o0W
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
> DEBUG util.py:340: Child returncode was: 0
> DEBUG backend.py:647: mount -n -t devpts -o
> gid=5,mode=0620,ptmxmode=0666,newinstance mock_chroot_devpts
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
> DEBUG util.py:301: Executing command: mount -n -t devpts -o
> gid=5,mode=0620,ptmxmode=0666,newinstance mock_chroot_devpts
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
> DEBUG util.py:340: Child returncode was: 0
> DEBUG backend.py:647: mount -n -t tmpfs mock_chroot_shmfs
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
> DEBUG util.py:301: Executing command: mount -n -t tmpfs mock_chroot_shmfs
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: ['rpm', '-Uvh', '--nodeps',
> '/builddir/build/originals/php-5.3.3-3.el5.beatport.src.rpm']
> DEBUG util.py:267: error: cannot open Packages index using db3 - Invalid
> argument (22)
> DEBUG util.py:267: error: cannot open Packages database in /var/lib/rpm
> DEBUG util.py:267: warning:
> /builddir/build/originals/php-5.3.3-3.el5.beatport.src.rpm: Header V4 DSA
> signature: NOKEY, key ID 08ba6a4f
> DEBUG util.py:267: error: cannot open Packages database in /var/lib/rpm
> DEBUG util.py:267: php
> ##################################################
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/shm
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/dev/pts
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc/filesystems
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/sys
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:301: Executing command: umount -n
> /var/lib/mock/dist-EL5-beatport-build-20-2115/root/proc
> DEBUG util.py:340: Child returncode was: 0
> DEBUG util.py:102: kill orphans
>
>
> state.log:
>
> 2011-01-24 09:45:38,073 - Mock Version: 1.1.6
> 2011-01-24 09:45:38,088 - State Changed: running yum
> 2011-01-24 09:46:52,873 - Mock Version: 1.1.6
> 2011-01-24 09:46:52,884 - State Changed: running yum
> 2011-01-24 09:46:53,139 - State Changed: setup
>
>
> - Steve
>
>

--
Steve Webb | System Administrator
Beatport | Play With Music
------------------------------------------
2399 Blake Street, Suite 170
Denver, Colorado USA 80205
tel: +1.720.932.9103
fax: +1.720.932.9104
noc: +1.303.565.2710
mobile: +1.303.564.4269
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 01-24-2011, 05:30 PM
Mike McLean
 
Default koji mock failing

On 01/24/2011 11:51 AM, steve.webb@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
 

Thread Tools




All times are GMT. The time now is 08:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org