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

Bug 509600

Summary: net-analyzer/net-snmp-5.7.3_pre3: Fails to build with USE="-python" PYTHON_SINGLE_TARGET=""
Product: Gentoo Linux Reporter: Jonathan Callen (RETIRED) <jcallen>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to conditionalize call to python-single-r1_pkg_setup

Description Jonathan Callen (RETIRED) gentoo-dev 2014-05-05 06:21:11 UTC
Created attachment 376398 [details, diff]
Patch to conditionalize call to python-single-r1_pkg_setup

When setting USE="-python" and PYTHON_SINGLE_TARGET="", which should be allowed per REQUIRED_USE and the actual deps used, this package fails to build due to an unconditional call to python-single-r1_pkg_setup().

The attached patch fixes this issue.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-05 15:56:29 UTC
Fixed. Thanks for the patch.