Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600234 - app-emulation/xen-tools-4.7.1: missing pixman dependency
Summary: app-emulation/xen-tools-4.7.1: missing pixman dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
: 600500 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-19 15:42 UTC by Benjamin Beier
Modified: 2016-12-07 10:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Beier 2016-11-19 15:42:06 UTC
If x11-libs/pixman is not installed, configuration of xen-tools-4.7.1 fails with:

configure: error: Package requirements (pixman-1 >= 0.21.8) were not met:
No package 'pixman-1' found

Reproducible: Didn't try



Expected Results:  
Emerge of xen-tools-4.7.1 should have pulled pixman as a dependency.

Manually emerging x11-libs/pixman before xen-tools-4.7.1 fixed the problem for me.
Comment 1 Yixun Lan archtester gentoo-dev 2016-11-22 13:52:10 UTC
could you provide "emerge --info =app-emulation/xen-tools-4.7.1" and the full build log?

as I understand, xen-tools-4.7.1 require pixman if USE=qemu enabled
Comment 2 Toralf Förster gentoo-dev 2016-11-22 17:45:14 UTC
*** Bug 600500 has been marked as a duplicate of this bug. ***
Comment 3 Yixun Lan archtester gentoo-dev 2016-12-03 04:33:27 UTC
snip from tools/configure.ac

AC_ARG_WITH([system-qemu],
    AS_HELP_STRING([--with-system-qemu@<:@=PATH@:>@],
       [Use system supplied qemu PATH or qemu (taken from $PATH) as qemu-xen
        device model instead of building and installing our own version]),[
    case $withval in
        yes)
            qemu_xen=n ; qemu_xen_path="qemu-system-i386"
            qemu_xen_systemd="/usr/bin/env $qemu_xen_path" ;;
        no)
            qemu_xen=y ;;
        *)
            qemu_xen=n ; qemu_xen_path="$withval" ;
            qemu_xen_systemd="$qemu_xen_path" ;;
    esac


so the choice is that you can choose either qemu (bundled) or system-qemu, can't disable all of them.. I will adjust the REQUIRED_USE at next revision bump

--- a/app-emulation/xen-tools/xen-tools-4.7.1-r3.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.7.1-r3.ebuild
@@ -69,7 +69,7 @@ REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
        ${PYTHON_REQUIRED_USE}
        pygrub? ( python )
        ovmf? ( hvm )
-       qemu? ( !system-qemu )"
+       ^^ ( qemu system-qemu )"
Comment 4 Benjamin Beier 2016-12-03 10:20:29 UTC
Does the first line make any difference then?

hvm? ( || ( qemu system-qemu ) )

This requirement is always fulfilled if we generally expect one of the qemu USE flags to be enabled now.
Also will the qemu USE flag be enabled by default?
So its still possible to emerge xen-tools without explicitly changing any USE flags?
Comment 5 Yixun Lan archtester gentoo-dev 2016-12-03 13:38:23 UTC
(In reply to Benjamin Beier from comment #4)

good catch!

I will adjust -> hvm? ( ^^ ( qemu system-qemu ) )
sounds good to me to enable USE=qemu by default, since this is the default option provided by upstream

so, I will include these changes at next revision bump, thanks for the suggestion!
Comment 6 Yixun Lan archtester gentoo-dev 2016-12-07 10:09:00 UTC
commit a32db681c2289c5894dbbda52d099c7b4b095a0a
Author: Yixun Lan <dlan@gentoo.org>
Date:   Sat Dec 3 12:38:25 2016 +0800

    app-emulation/xen-tools: fix missing pixman issue

    we need either enable USE=qemu, or system-qemu

    Gentoo-Bug: 600234, 600500

    Package-Manager: portage-2.3.2

:100644 100644 481f901143... 924cc74ebe... M    app-emulation/xen-tools/xen-tools-4.6.4-r3.ebuild
:100644 100644 c654c77046... 4fa0ce30fa... M    app-emulation/xen-tools/xen-tools-4.7.1-r3.ebuild


https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32db681c2289c5894dbbda52d099c7b4b095a0a