Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519520 - app-emulation/qemu-2.0.0-r1 - configure: ERROR: unknown option --disable-lzo // ERROR: unknown option --disable-snappy
Summary: app-emulation/qemu-2.0.0-r1 - configure: ERROR: unknown option --disable-lzo ...
Status: RESOLVED FIXED
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: 2014-08-09 17:59 UTC by Mira Ressel
Modified: 2014-08-11 01:08 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 Mira Ressel 2014-08-09 17:59:02 UTC
On 05 August, several new USE flags were added to the app-emulation/qemu-2.0.0-r1 ebuild, among them "snappy" and "lzo". They are used in the autotools configure call via use_enable.

However, qemu-2.0.0's configure script doesn't recognize the options "--disable-{lzo,snappy}", only the "--enable-.." variants. This causes the build to fail with the error messages
    ERROR: unknown option --disable-lzo
    ERROR: unknown option --disable-snappy
if these USE flags are disabled.
Comment 1 Mira Ressel 2014-08-09 19:10:06 UTC
qemu-2.0.0's configure script defaults to not using snappy/lzo, therefore
    $(use_enable snappy)
could be replaced by
    $(usex snappy --enable-snappy '')
(and likewise for lzo).
Comment 2 SpanKY gentoo-dev 2014-08-11 01:08:15 UTC
should be all set now in the tree; thanks for the report!

Commit message: Hack lzo/snappy flags in the older release
http://sources.gentoo.org/app-emulation/qemu/qemu-2.0.0-r1.ebuild?r1=1.14&r2=1.15