Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583354 - app-emulation/qemu: support USE=-python
Summary: app-emulation/qemu: support USE=-python
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-18 00:09 UTC by Zac Medico
Modified: 2016-05-18 02:42 UTC (History)
0 users

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


Attachments
patch qemu-2.6.0.ebuild to support build with USE=-python (qemu-2.6.0.ebuild.diff,1.08 KB, patch)
2016-05-18 00:11 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2016-05-18 00:09:52 UTC
Current qemu ebuilds cannot be built with python disabled, since ${PYTHON_REQUIRED_USE} and python_setup assume that at least one python target must be enabled.
Comment 1 Zac Medico gentoo-dev 2016-05-18 00:11:49 UTC
Created attachment 434572 [details, diff]
patch qemu-2.6.0.ebuild to support build with USE=-python

This patch makes it work for me.
Comment 2 Zac Medico gentoo-dev 2016-05-18 02:09:15 UTC
Hmm, seems that USE=-python gives equivalent results.
Comment 3 SpanKY gentoo-dev 2016-05-18 02:42:14 UTC
python is required to compile, and upstream doesn't make this optional.  qemu has a bunch of scripts to generate trace/qapi/etc... files.  it isn't used at runtime or RDEPEND-ed afaict.

configure:
if ! has $python; then
  error_exit "Python not found. Use --python=/path/to/python"
fi