Some tools don't get built (likely because 'git' is not installed and not required as a build dependency). BTW, wasn't the Xen way of fetching stuff from random repositories a no-no for gentoo? A fix for this should likely be added to the anti-download patch... Here's the tail of build.log: make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.3.0/work/xen-4.3.0/tools' mv: cannot stat '/var/tmp/portage/app-emulation/xen-tools-4.3.0/image/usr/lib/xen/bin/vscclient': No such file or directory mv: cannot stat '/var/tmp/portage/app-emulation/xen-tools-4.3.0/image/usr/lib/xen/bin/virtfs-proxy-helper': No such file or directory * ERROR: app-emulation/xen-tools-4.3.0 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 2655: Called die * The specific snippet of code: * mv "${D}"usr/lib/xen/bin/{qemu*,vscclient,virtfs-proxy-helper} "${D}"usr/$(get_libdir)/xen/bin/ || die; * * If you need support, post the output of `emerge --info '=app-emulation/xen-tools-4.3.0'`, * the complete build log and the output of `emerge -pqv '=app-emulation/xen-tools-4.3.0'`. * This ebuild is from an overlay named 'x-overlay': '/root/.port/overlay/' * The complete build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-tools-4.3.0/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/xen-tools-4.3.0/work/xen-4.3.0' * S: '/var/tmp/portage/app-emulation/xen-tools-4.3.0/work/xen-4.3.0' * QA Notice: command not found: * * ./tools/buildversion.sh: line 8: git: command not found Reproducible: Always
Alright… spoke too soon. This does *not* depend on 'git' being there or not. The files are missing because the configure script for qemu-xen auto-detects support for all kinds of tools (here smartcards libcacard/vscclient and VirtFS), and simply decides not to build stuff that isn't there. The 'mv' statement in the ebuild makes unwarranted assumptions about what is being built (or not, as the case happens to be). Wouldn't it be simpler just to move _everything_ that gets built? I.e.: if [[ "${ARCH}" == 'amd64' ]] && use qemu; then mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die - mv "${D}"usr/lib/xen/bin/{qemu*,vscclient,virtfs-proxy-helper} "${D}"usr/$(get_libdir)/xen/bin/ || die + mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die fi
Please attach the entire build log to this bug report.
Looks ok here. Thx a.m 24 Jul 2013; Ian Delaney <idella4@gentoo.org> xen-tools-4.3.0.ebuild: Correction to install with IUSE qemu, fixes Bug #477884
from other related bugs this can go fixed