This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Backport of #17086 causes regression in
Type: compile error Stage: resolved
Components: Build Versions: Python 2.7
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: doko, iritkatriel, moritzs, vstinner
Priority: high Keywords: patch

Created on 2015-05-27 10:36 by moritzs, last changed 2022-04-11 14:58 by admin. This issue is now closed.

File name Uploaded Description Edit
setup_regression.patch moritzs, 2015-05-27 10:36 review
Messages (7)
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 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 (vstinner) * (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.
msg382204 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2020-11-30 22:41
Python 2-only issue.
Date User Action Args
2022-04-11 14:58:17adminsetgithub: 68483
2020-11-30 22:41:53iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg382204

resolution: out of date
stage: resolved
2016-03-01 19:46:12moritzssetmessages: + msg261063
2015-09-22 19:49:06moritzssetmessages: + msg251344
2015-09-22 08:35:49vstinnersetnosy: + vstinner
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