Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230225 - media-sound/picard: Ebuild should check if python was compiled with USE=cxx
Summary: media-sound/picard: Ebuild should check if python was compiled with USE=cxx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Santiago M. Mola (RETIRED)
URL: https://forums.gentoo.org/viewtopic-p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-30 18:07 UTC by Sebastian
Modified: 2008-07-01 05:44 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 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