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.

classification
Title: replace use of uname in the configury with macros set by AC_CANONICAL_HOST
Type: Stage:
Components: Cross-Build Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: doko Nosy List: Arfrever, doko, python-dev
Priority: normal Keywords: needs review, patch

Created on 2012-03-15 20:14 by doko, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
no-uname-for-cross.diff doko, 2012-03-15 21:17 no-uname-for-cross.diff review
Messages (6)
msg155950 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-03-15 20:14
the configury uses uname, which fails for cross builds. this issue tracks patches tor replace the uname calls with the use of macros set by AC_CANONICAL_HOST (host*, build*)
msg155952 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-03-15 20:18
call AC_CANONICAL_HOST and check in config.{guess,sub},
taken from git://git.savannah.gnu.org/config.git

--- a/configure.ac	Thu Mar 15 20:42:23 2012 +0100
+++ b/configure.ac	Thu Mar 15 21:17:32 2012 +0100
@@ -33,6 +33,8 @@
 AC_CONFIG_SRCDIR([Include/object.h])
 AC_CONFIG_HEADER(pyconfig.h)
 
+AC_CANONICAL_HOST
+
 dnl Ensure that if prefix is specified, it does not end in a slash. If
 dnl it does, we get path names containing '//' which is both ugly and
 dnl can cause trouble.
msg155954 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-15 20:30
New changeset 04aa26c572ba by Matthias Klose in branch 'default':
- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
http://hg.python.org/cpython/rev/04aa26c572ba
msg155957 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-03-15 21:17
the following patch still keeps the uname calls for native builds, but sets the ac_sys_* macros depending on $host for cross builds. For now the cross configure fails for everything except linux and cygwin targets.
msg155958 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-15 21:19
New changeset d0cce5a2c0cf by Matthias Klose in branch 'default':
- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
http://hg.python.org/cpython/rev/d0cce5a2c0cf
msg164323 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-06-29 11:13
that was checked in
History
Date User Action Args
2022-04-11 14:57:28adminsetgithub: 58535
2012-06-29 11:13:00dokosetstatus: open -> closed

messages: + msg164323
2012-03-15 22:20:23Arfreversetnosy: + Arfrever
2012-03-15 21:19:37python-devsetmessages: + msg155958
2012-03-15 21:17:00dokosetfiles: + no-uname-for-cross.diff
keywords: + patch
messages: + msg155957
2012-03-15 20:30:37python-devsetnosy: + python-dev
messages: + msg155954
2012-03-15 20:18:36dokosetmessages: + msg155952
2012-03-15 20:14:32dokocreate