Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504830

Summary: sys-devel/gdb-7.7-r1[-python]: python-single-r1 usage should be behind USE=python
Product: Gentoo Linux Reporter: Jonathan Callen (RETIRED) <jcallen>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: matrix47
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for gdb-7.7-r1.ebuild

Description Jonathan Callen (RETIRED) gentoo-dev 2014-03-16 20:03:46 UTC
Created attachment 372826 [details, diff]
Patch for gdb-7.7-r1.ebuild

When attempting to build sys-devel/gdb with USE=-python PYTHON_TARGETS="" PYTHON_SINGLE_TARGET="", the build fails because 1) the ebuild calls python-single-r1_pkg_setup unconditionally, and 2) the ebuild does not set REQUIRED_USE properly.  The attached patch fixes both of these issues.
Comment 1 SpanKY gentoo-dev 2014-03-18 01:05:04 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix USE=-python handling
http://sources.gentoo.org/sys-devel/gdb/gdb-7.7-r1.ebuild?r1=1.1&r2=1.2
http://sources.gentoo.org/sys-devel/gdb/gdb-9999.ebuild?r1=1.25&r2=1.26