Created attachment 572112 [details, diff] Add missing --enable-rombios configure parameter xen-tools-4.12.0 adds --with-system-ipxe=${PREFIX}/usr/share/ipxe to the parameters passed to configure. However, it appears to be an error to specify --with-system-ipxe without also specifying --enable-rombios: # ebuild /usr/portage/app-emulation/xen-tools/xen-tools-4.12.0.ebuild configure [snip] === configuring in tools (/var/tmp/portage/app-emulation/xen-tools-4.12.0/work/xen-4.12.0/tools) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--docdir=/usr/share/doc/xen-tools-4.12.0' '--htmldir=/usr/share/doc/xen-tools-4.12.0/html' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--disable-werror' '--disable-xen' '--enable-tools' '--enable-docs' '--with-system-ipxe=/usr/share/ipxe' '--enable-pam' '--disable-xenapi' '--disable-ovmf' '--disable-ocamltools' '--with-xenstored=xenstored' '--with-system-qemu=/usr/bin/qemu-system-x86_64' '--disable-qemu-traditional' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=. [snip] configure: error: Rombios is required to use IPXE configure: error: ./configure failed for tools This was when using: USE="pam system-qemu -api -custom-cflags -debug -doc -flask -hvm -ocaml -ovmf -pygrub -python -qemu -qemu-traditional -screen -sdl -static-libs -system-seabios" I will attach a simple patch that adds --enable-rombios, with which configuring and building succeeds.
Thanks for the report. I've opened a PR that will completely avoid building ipxe/rombios in your case. If you wish, give it a try and report back, feedback is appreciated.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0647ece2a5a3cf9dcd2983f145c33fde7173782b commit 0647ece2a5a3cf9dcd2983f145c33fde7173782b Author: Tomas Mozes <hydrapolic@gmail.com> AuthorDate: 2019-04-14 03:31:11 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2019-04-16 06:27:48 +0000 app-emulation/xen-tools: improve ipxe support Add choice to build ipxe from xen-tools or use the system provided sys-firmware/ipxe package. Since ipxe depends on rombios, make it and explicit USE. By default, qemu, rombios and ipxe are enabled in xen so enable then in Gentoo too, with hvm as it's needed for rombios/ipxe. Dropping unused patches from xen patchset 17. Closes: https://github.com/gentoo/gentoo/pull/11675 Closes: https://bugs.gentoo.org/682710 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org> app-emulation/xen-tools/Manifest | 2 ++ app-emulation/xen-tools/files/gentoo-patches.conf | 2 ++ app-emulation/xen-tools/metadata.xml | 11 ++++--- ...ls-4.12.0.ebuild => xen-tools-4.12.0-r1.ebuild} | 36 ++++++++++++++-------- 4 files changed, 35 insertions(+), 16 deletions(-)