libguestfs-1.28.1-1.fc21 failed to build on ppc64le arch checking for bison... bison -y checking for qemu-kvm... no checking for qemu-system-ppc64le... no checking for qemu... no configure: error: qemu must be installed error: Bad exit status from /var/tmp/rpm-tmp.0Zq48H (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.0Zq48H (%build) This is due to check on /usr/bin/qemu-system-ppc64le when the qemu installs /usr/bin/qemu-system-ppc64 for ppc64le arch I succeed to scrtch build a libguestfs on ppc64le http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2159373 using a patch and a change on libguestfs.spec. Please consider change on libguestfs.spec: --- libguestfs.spec.ori 2014-10-24 04:16:39.869205037 -0500 +++ libguestfs.spec 2014-10-24 07:31:19.777843838 -0500 @@ -777,7 +780,11 @@ fi %{configure} \ --with-default-backend=libvirt \ --with-extra="fedora=%{fedora},release=%{release},libvirt" \ +%ifarch ppc64le + --with-qemu="qemu-kvm qemu-system-ppc64 qemu" \ +%else --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \ +%endif --enable-install-daemon \ %ifnarch %{golang_arches} --disable-golang \
Created attachment 950383 [details] libguestfs ppc64le patch
I think this (untested) upstream patch is better: https://github.com/libguestfs/libguestfs/commit/a61d190ed3c7eb0d9389abcd69c44c78dd2be3ad
This patch is included in my file attached too, I didn't notice it was already in upstream. But anyway, it was not enough in my case and without the change on libguestfs.spec it was still failing...
Ah, sorry, I didn't see that attachment. I have now pushed the remaining part of that upstream. https://github.com/libguestfs/libguestfs/commit/5018e001290a585ed303bc311cdeeca6b5c11e98 I'm closing this because these patches will eventually be added to stable, thus fixing it on F21.
Thanks(In reply to Richard W.M. Jones from comment #4) > Ah, sorry, I didn't see that attachment. > > I have now pushed the remaining part of that upstream. > > https://github.com/libguestfs/libguestfs/commit/ > 5018e001290a585ed303bc311cdeeca6b5c11e98 Thanks! > > I'm closing this because these patches will eventually be > added to stable, thus fixing it on F21. Do you have a time frame for the inclusion of this fix in F21? We have other stuff being blocked by libguestfs right now.
OK right, I didn't know. I'll backport this soon.
Can you try to kick off a ppc64le build now? If not you'll have to wait and see if http://koji.fedoraproject.org/koji/taskinfo?taskID=7939994 finishes.
libguestfs-1.28.1-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/libguestfs-1.28.1-2.fc21
Package libguestfs-1.28.1-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libguestfs-1.28.1-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-13630/libguestfs-1.28.1-2.fc21 then log in and leave karma (feedback).
libguestfs-1.28.2-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/libguestfs-1.28.2-1.fc21
libguestfs-1.28.2-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/libguestfs-1.28.2-2.fc21
So that in fact didn't solve the problem. I've removed the entire %configure --with-qemu... from Rawhide, to see if that works. If it does I'll port that to F21.
libguestfs-1.28.2-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/libguestfs-1.28.2-3.fc21
Package libguestfs-1.28.2-3.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libguestfs-1.28.2-3.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-14443/libguestfs-1.28.2-3.fc21 then log in and leave karma (feedback).
libguestfs-1.28.2-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
libguestfs-1.28.2-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.