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

Bug 230225

Summary: media-sound/picard: Ebuild should check if python was compiled with USE=cxx
Product: Gentoo Linux Reporter: Sebastian <sebastian_ml>
Component: Current packagesAssignee: Santiago M. Mola (RETIRED) <coldwind>
Status: RESOLVED FIXED    
Severity: trivial CC: marti
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://forums.gentoo.org/viewtopic-p-5137642.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian 2008-06-30 18:07:28 UTC
Hi all,

trying to install picard I wasted a lot of time until somebody on the forum suggested that I reinstall python with "cxx" in USE. I did and afterwards I was able to install picard. See URL for details (picard wasn't able to be built because the setup.py wasn't able to find the compiler).

Hence I suggest changing the ebuild so that it checks if python was installed with the cxx USE flag set. No need to make the users upset.

I guess that this also happens with other software so getting rid of the cxx USE flag would be preferred (for python anyway).

Kind regards
Sebastian
Comment 1 Santiago M. Mola (RETIRED) gentoo-dev 2008-06-30 20:51:47 UTC
Strange, cxx is enabled by default in Python. Picard is a PyQt app, so you already have Qt and a proper C++ compiler... I wonder how your system doesn't have USE="cxx".

Anyway, added a check to picard.

FYI, next python versions won't have the cxx USE flag. And for your own safety, please, don't disable cxx.

Thanks for reporting.
Comment 2 Sebastian 2008-07-01 05:44:39 UTC
Hi Santiago,

thanks! I have USE="-* ..." in make.conf, that's why.

Kind regards
Sebastian