[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-31 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Well changes in this issue are not the root cause of my problem - it just exposes a broken implementation done long time ago. I'll examine more and open a new bug. -- ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-31 Thread Matthias Klose
Matthias Klose added the comment: I don't see how the suggested android fix is related, and what it is supposed to fix. It adds the env command before setting the environment variables, which should be a no-op. However I think we should introduce different platform triplets for android.

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-30 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Oh didn't see the title of this issue. Here's the patch for Android. -- Added file: https://bugs.python.org/file44260/issue23968-android-regression.patch ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-30 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Changeset 5c77488830bc brings a regression - Android build fails with the following message: export H2PY; H2PY="$PYTHON_FOR_BUILD /home/yen/python3-android/src/cpython/build-target/../Tools/scripts/h2py.py"; \ cd ../Lib/plat-aarch64-linux-gnu; ./regen +

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-29 Thread Matthias Klose
Matthias Klose added the comment: now fixed. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c77488830bc by doko in branch 'default': - Issue #23968, keep platform_triplet and multiarch macros in sync https://hg.python.org/cpython/rev/5c77488830bc -- ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-19 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: I've just tried doko's patch on Arch Linux. Before this patch there are three test failures in test_distutils and test_sysconfig, just like Gentoo. After the patch, all tests in test_distutils and test_sysconfig pass. On my PC both `gcc -print-multiarch` and

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-19 Thread Matthias Klose
Matthias Klose added the comment: please could somebody test the attached patch (I'm also trying to setup a gentoo env)? The idea is to keep the multiarch and triplet macros in sync. diff -r a7f3678f9509 configure.ac --- a/configure.ac Sat Aug 20 03:05:13 2016 +0200 +++ b/configure.ac

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-19 Thread STINNER Victor
STINNER Victor added the comment: Any update on this issue? test_srcdir() of test_sysconfig still fails on "x86 Gentoo Installed with X 3.x" buildbot. I opened the issue #27798 which was closed a duplicate of this issue. First failure of the buildbot:

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset ddc4bdae5e41 by Ned Deily in branch 'default': Issue #23968: Make OS X installer build script aware of renamed platform https://hg.python.org/cpython/rev/ddc4bdae5e41 -- ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-08-13 Thread Chi Hsuan Yen
Changes by Chi Hsuan Yen : -- nosy: +Chi Hsuan Yen ___ Python tracker ___ ___

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-07-30 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-07-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: It is also broken for gcc, see the buildbot 'compile' output. It seems broken for all non windows builds whatever the compiler. -- ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-07-30 Thread Ned Deily
Ned Deily added the comment: It's not just broken for cross-compiling. As I noted earlier, it's broken when using other than gcc, such as is the case with current OS X systems. This needs to be fixed before release. -- ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-07-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: The reason I would like this problem fixed is that the test suite is run on an installed Python when cross-compiling, obviously you cannot run the test suite with the cross-compiled Python on the source tree of the build system. --

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-07-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: This problem occured for the first time on the "installed Python" buildbot (setup by Zachary) at http://buildbot.python.org/all/builders/x86%20Gentoo%20Installed%20with%20X%203.x/builds/747 on the day changeset 78d2cb7f66b6 has been commited (see msg268528).

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-07-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: To reproduce the problem on any system where Python is built with configure: $ mkdir -p tmp/build tmp/install $ cd tmp $ hg clone https://hg.python.org/cpython cpython $ cd build $ $(cd ../cpython && pwd)/configure --prefix=$(cd ../install && pwd) && make

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-07-29 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +thomas-petazzoni ___ Python tracker ___ ___

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: Regeneration of the platdir files needs to be aware of the value of sysroot [1]. For example on Android cross-builds, sysroot must be set to the path of the headers and libraries for the targeted Android API level corresponding to a version of the Android

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: > The same problem occurs when cross-compiling for Android and running > test_sysconfig and test_distutils. This is misleading. Actually, test_sysconfig and test_distutils do not fail when run from the source tree, but fail on an installed python, whatever

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: The same problem occurs when cross-compiling for Android and running test_sysconfig and test_distutils. Some other points: * The generation of the platform directory breaks the support of read only source trees. The files of this directory are not tracked by

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-18 Thread Ned Deily
Changes by Ned Deily : -- priority: normal -> critical stage: -> needs patch versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-18 Thread Ned Deily
Ned Deily added the comment: There is a problem with the current implementation. When running ./configure using compilers other than a current gcc, for example, when using clang or older versions of gcc, the build variable MULTIARCH may not get set because those compilers do not support

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset e2b09c00ee24 by Ned Deily in branch 'default': Issue #23968: Fix installs of the renamed config directory for OS X https://hg.python.org/cpython/rev/e2b09c00ee24 -- ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset a062c60c9f7d by doko in branch 'default': - Issue #23968: Update distutils/sysconfig.py to look for the renamed https://hg.python.org/cpython/rev/a062c60c9f7d -- ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-14 Thread Matthias Klose
Matthias Klose added the comment: now checked in, after 3.6.0a2, to watch behaviour on different platforms. Still needs doc updates. -- ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78d2cb7f66b6 by doko in branch 'default': - Issue #23968: Rename the platform directory from plat-$(MACHDEP) to https://hg.python.org/cpython/rev/78d2cb7f66b6 -- nosy: +python-dev ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-04 Thread Nick Coghlan
Nick Coghlan added the comment: This may be of interest for iOS and Android cross-compilation, so I've added Xavier de Gaye to the nosy list, while Russell Keith-Magee added himself. -- nosy: +xdegaye ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-04 Thread Russell Keith-Magee
Changes by Russell Keith-Magee : -- nosy: +freakboy3742 ___ Python tracker ___ ___

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-04 Thread Matthias Klose
Matthias Klose added the comment: attaching an updated patch. besides renaming of the platform directory, the following changes are made: - it makes the name of the internal _sysconfigdata module dependent on the abiflags - it moves the _sysconfigdata module into the platform directory.

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-08-11 Thread William Scullin
William Scullin added the comment: This would likely improve life for folks with cross-compile toolchains. -- nosy: +wscullin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23968 ___

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: What Lib/plat-$(PLATFORM_TRIPLET) directories will be introduced? This patch would make situation worse on rarely used architectures (these without Lib/plat-$(PLATFORM_TRIPLET) distributed in repository of CPython) if patch for bug #12619

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-05-29 Thread Matěj Stuchlík
Matěj Stuchlík added the comment: +1 from the Python team from Fedora, the patch looks good from downstream standpoint. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23968 ___

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-05-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I don't know what problems I might have run into previously, but it's working now and seems fine to me. +1 -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23968

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-05-28 Thread Matěj Stuchlík
Changes by Matěj Stuchlík matej.stuch...@gmail.com: -- nosy: +sYnfo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23968 ___ ___ Python-bugs-list

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-05-23 Thread Nick Coghlan
Nick Coghlan added the comment: +1 from me. -- nosy: +larry, rkuska ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23968 ___ ___ Python-bugs-list

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-05-22 Thread Matthias Klose
Matthias Klose added the comment: ping? I would like to get this into 3.5. -- keywords: +needs review -patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23968 ___

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-04-15 Thread Matthias Klose
New submission from Matthias Klose: Currently there is only one platform directory for all linux architectures, there are two reasons to have a separate directory for each architecture: - the contents of the files in this directory differ (most prominent case are the RTLD_* constants on