Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1387601

Summary: [qemu] FTBFS: 50-kvm-ppc64-memlock.conf': No such file or directory
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: amit.shah, berrange, cfergeau, dwmw2, itamar, pbonzini, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-25 17:46:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1071880    

Description Dan Horák 2016-10-21 11:03:48 UTC
Current qemu fails to build on ppc64le with an error bellow, not sure about ppc64 though.

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9QNcEu
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le
++ dirname /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le
+ cd qemu-2.7.0
+ mkdir -p /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/lib/udev/rules.d
+ mkdir -p /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/usr/lib/systemd/system
+ mkdir -p /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/etc/qemu
+ install -D -p -m 0644 /builddir/build/SOURCES/ksm.service /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/usr/lib/systemd/system
+ install -D -p -m 0644 /builddir/build/SOURCES/ksm.sysconfig /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/etc/sysconfig/ksm
+ install -D -p -m 0755 ksmctl /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/usr/libexec/ksmctl
+ install -D -p -m 0644 /builddir/build/SOURCES/ksmtuned.service /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/usr/lib/systemd/system
+ install -D -p -m 0755 /builddir/build/SOURCES/ksmtuned /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/usr/sbin/ksmtuned
+ install -D -p -m 0644 /builddir/build/SOURCES/ksmtuned.conf /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/etc/ksmtuned.conf
+ install -D -p -m 0644 /builddir/build/SOURCES/kvm.conf /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/etc/modprobe.d/kvm.conf
+ install -m 0644 /builddir/build/SOURCES/qemu-guest-agent.service /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/usr/lib/systemd/system
+ install -m 0644 /builddir/build/SOURCES/99-qemu-guest-agent.rules /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/lib/udev/rules.d
+ install -d /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/etc/security/limits.d
+ install -m 0644 /builddir/build/SOURCES/50-kvm-ppc64-memlock.conf /builddir/build/BUILDROOT/qemu-2.7.0-5.fc26.ppc64le/etc/security/limits.d
install: cannot stat '/builddir/build/SOURCES/50-kvm-ppc64-memlock.conf': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.9QNcEu (%install)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.9QNcEu (%install)
Child return code was: 1
EXCEPTION: [Error()]

for full logs please see http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3821424 or http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3823628

A note: latest rawhide build has lower NVR than f25 one breaking upgrade path.

Version-Release number of selected component (if applicable):
qemu-2.7.0-5.fc26
qemu-2.7.0-6.fc25

Comment 1 Cole Robinson 2016-10-25 17:46:22 UTC
Fixed in qemu-2.7.0-7.fc26