classification
Title: Backport of #17086 causes regression in setup.py
Type: compile error Stage:
Components: Build Versions: Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: doko, haypo, moritzs
Priority: high Keywords: patch

Created on 2015-05-27 10:36 by moritzs, last changed 2016-03-01 19:46 by moritzs.

Files
File name Uploaded Description Edit
setup_regression.patch moritzs, 2015-05-27 10:36 review
Messages (6)
msg244154 - (view) Author: Moritz Sichert (moritzs) * Date: 2015-05-27 10:36
In 7955d769fdf5 a bug of #14330 got fixed and it got backported for 2.7.
But these changes were reverted by another backport in 8ee6d96a1019 (which was a backport for #17086).

The issue here is that right know setup.py looks for ssl and other libs' headers in /usr/include *first* before it searches in /usr/local/include.
That makes it really hard to compile python with a setup where you have a newer version of openssl in /usr/local than the one in /usr.
msg244209 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2015-05-27 18:07
I'll look at this in June. I don't think that reverting is the right choice here.
msg244218 - (view) Author: Moritz Sichert (moritzs) * Date: 2015-05-27 21:04
I wouldn't call it reverting since it already was like this before and only got changed by accident in another backport.
msg251293 - (view) Author: STINNER Victor (haypo) * (Python committer) Date: 2015-09-22 08:35
doko wrote:
"I'll look at this in June."

@doko: ping? :-)

@moritzs: Does Python 3.5 have the same issue?
msg251344 - (view) Author: Moritz Sichert (moritzs) * Date: 2015-09-22 19:49
No this isn't an issue in Python 3.5. It was caused by the backport that was diffed against an older version that didn't include 7955d769fdf5 and thus reverted that.
msg261063 - (view) Author: Moritz Sichert (moritzs) * Date: 2016-03-01 19:46
This is still an issue in Python 2.7.11.
History
Date User Action Args
2016-03-01 19:46:12moritzssetmessages: + msg261063
2015-09-22 19:49:06moritzssetmessages: + msg251344
2015-09-22 08:35:49hayposetnosy: + haypo
messages: + msg251293
2015-05-27 21:04:06moritzssetmessages: + msg244218
2015-05-27 18:07:07dokosetmessages: + msg244209
2015-05-27 17:53:33ned.deilysetpriority: normal -> high
nosy: + doko
2015-05-27 10:36:53moritzscreate