Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359083 - dev-lang/python-3.1.3-r1: Wrong assumptions in configure for crosscompilation
Summary: dev-lang/python-3.1.3-r1: Wrong assumptions in configure for crosscompilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-15 20:07 UTC by Raffaello D. Di Napoli
Modified: 2013-03-19 05:21 UTC (History)
1 user (show)

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


Attachments
Makes configure.in assume positively for tests it cannot run in cross (python-3.1-configure-cross.patch,627 bytes, patch)
2011-03-15 20:11 UTC, Raffaello D. Di Napoli
Details | Diff
ebuild patch to apply the above (python-3.1.3-r1.ebuild.patch,467 bytes, patch)
2011-03-15 20:20 UTC, Raffaello D. Di Napoli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raffaello D. Di Napoli 2011-03-15 20:07:28 UTC
I was having problems with dev-lang/python-3.1.3-r1 because of two tests in the configure script that cannot be performed when cross-compiling, with a default assumption that causes it to abort.

One is a check for some bug in getaddrinfo(), which is only performed in case of USE=ipv6; the other is a check for a broken sem_getvalue().

I prepared a small patch for configure.in, which makes both assumptions for the best rather than for the worst.

Reproducible: Always
Comment 1 Raffaello D. Di Napoli 2011-03-15 20:11:00 UTC
Created attachment 266021 [details, diff]
Makes configure.in assume positively for tests it cannot run in cross
Comment 2 Raffaello D. Di Napoli 2011-03-15 20:20:17 UTC
Created attachment 266025 [details, diff]
ebuild patch to apply the above
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-22 11:19:33 UTC
Please report the problem to upstream.
Comment 4 SpanKY gentoo-dev 2013-03-19 05:21:47 UTC
should be fixed in python 2.7, 3.2, and 3.3 now