Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515056 - distutils CC/CXX vs non-distutils-r1 ebuilds
Summary: distutils CC/CXX vs non-distutils-r1 ebuilds
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-25 07:49 UTC by Michał Górny
Modified: 2018-02-27 10:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Export CC/CXX/CPP/AR/LDSHARED/LDCXXSHARED unconditionally (python-distutils-env.patch,2.72 KB, patch)
2014-06-25 07:49 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-25 07:49:56 UTC
Created attachment 379640 [details, diff]
Export CC/CXX/CPP/AR/LDSHARED/LDCXXSHARED unconditionally

I've added the necessary bits to distutils-r1 but ebuilds that spawn distutils implicitly (e.g. python-single-r1 w/ autotools or so on) may suffer the same issue. 

How many are them? Do we want to require them to fix the issue implicitly, or just export the vars unconditionally in the eclasses?

I'm attaching a patch for the latter. We can scrap different solutions out of it.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-27 10:24:05 UTC
So far we've been focusing on either not making stuff call distutils implicitly, or expecting upstream to 'do it right' when they do. I suppose this makes no sense then.