[issue26942] android: test_ctypes crashes on armv7

2016-05-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: Running the following interactive statements [1]: >>> import unittest, ctypes.test.test_as_parameter >>> unittest.main(module=ctypes.test.test_as_parameter, >>> defaultTest='BasicWrapTestCase', verbosity=2) The corr

[issue27027] add is_android in test.support to detect Android platform

2016-05-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: The patch adds a dependency to issue #26855. -- keywords: +patch Added file: http://bugs.python.org/file42910/is_android.patch ___ Python tracker <http://bugs.python.org/issue27

[issue26919] android: test_cmd_line fails

2016-05-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: This new patch adds a dependency to issue #27027. -- Added file: http://bugs.python.org/file42911/retrofit_osx_3.patch ___ Python tracker <http://bugs.python.org/issue26

[issue26856] android does not have pwd.getpwall()

2016-05-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: This new patch adds a dependency to issue #27027. -- Added file: http://bugs.python.org/file42913/pwd_2.patch ___ Python tracker <http://bugs.python.org/issue26

[issue26931] android: test_distutils fails

2016-05-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: This new patch adds a dependency to issue #27027. -- Added file: http://bugs.python.org/file42915/android-sh-path_2.patch ___ Python tracker <http://bugs.python.org/issue26

[issue26858] android: setting SO_REUSEPORT fails

2016-05-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: Should use boolean 'is_android' being added to module test.support by issue #27027, instead of platform.android_ver()[0]. -- ___ Python tracker <http://bugs.python.o

[issue27027] add is_android in test.support to detect Android platform

2016-05-20 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +android: add platform.android_ver() ___ Python tracker <http://bugs.python.org/issue27027> ___ ___ Python-bugs-list m

[issue26919] android: test_cmd_line fails

2016-05-20 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +add is_android in test.support to detect Android platform ___ Python tracker <http://bugs.python.org/issue26

[issue26856] android does not have pwd.getpwall()

2016-05-20 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +add is_android in test.support to detect Android platform ___ Python tracker <http://bugs.python.org/issue26

[issue26931] android: test_distutils fails

2016-05-20 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +add is_android in test.support to detect Android platform ___ Python tracker <http://bugs.python.org/issue26

[issue26865] Meta-issue: support of the android platform

2016-05-21 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: +Large files are not supported on Android, RTLD_* macros are not defined on Android, add is_android in test.support to detect Android platform, android: test_cmd_line fails, android: test_concurrent_futures fails, android

[issue26865] Meta-issue: support of the android platform

2016-05-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: No, regular users can't adjust dependencies, but I can now. Thanks Zachary. -- ___ Python tracker <http://bugs.python.org/is

[issue26928] _bootlocale imports locale at startup on Android

2016-05-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: Sorry for the confusion, the file system encoding is not the locale encoding. In issue #9548, Antoine proposed a patch that avoids the import of the re, collections and functools modules by the _io module on startup, by refactoring and moving code from locale

[issue26928] _bootlocale imports locale at startup on Android

2016-05-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: An improvement to Python startup time on Android (Android does not have nl_langinfo()) is to have _bootlocale.getpreferredencoding() return 'ascii' without importing locale, when none of the locale environment variables is set. With patch

[issue26858] android: setting SO_REUSEPORT fails

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch test.asyncio_2.patch uses test.support.is_android and adds a dependency to issue #27027. -- dependencies: +add is_android in test.support to detect Android platform Added file: http://bugs.python.org/file42940/test.asyncio_2.patch

[issue26926] Large files are not supported on Android

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: Size of off_t is also 4 when building on API 23 with or without '-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1' added to the CC envt variable. -- ___ Python tracker <http://bu

[issue26926] Large files are not supported on Android

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch skips the large file support test. -- dependencies: +add is_android in test.support to detect Android platform Added file: http://bugs.python.org/file42941/skip-large-file.patch ___ Python tracker <h

[issue26927] test_mmap does not handle ValueError when no large file support

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: f.seek(number) raises ValueError (ValueError: cannot fit 'int' into an offset-sized integer) when 'number' is greater than the size allowed by off_t. ValueError is not handled in test_mmap to detect that large file is not support

[issue26944] android: test_posix fails

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: test_getgroups is ok on an android emulator running API 23 with the attached patch, and the test is skipped when running API 21. -- dependencies: +add is_android in test.support to detect Android platform -android: add platform.android_ver() keywords

[issue26927] test_mmap does not handle ValueError when no large file support

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: On linux with large file support, OSError is raised when the file system limit is exceeded, here with ext4: >>> f.seek(2**44 - 2**11) Traceback (most recent call last): File "", line 1, in OSError: [Errno 22] Invalid argument >&

[issue26865] Meta-issue: support of the android platform

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: issue #22747: Interpreter fails in initialize on systems where HAVE_LANGINFO_H is undefined -- dependencies: +Interpreter fails in initialize on systems where HAVE_LANGINFO_H is undefined ___ Python tracker <h

[issue26857] gethostbyname_r() is broken on android

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: > I've moved the include into pyport.h and also fixed the error in my patch, thanks :) With issue26857.diff, importing the socket module does not fail both with an API 21 emulator and an API 23

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: The list of locations where '/bin/sh' is hard coded in the standard library: Lib/distutils/tests/test_build_scripts.py|68 col 31| ("#!/bin/sh\n" Lib/distutils/tests/test_install_scripts.py|57 col 38| write_script("shell.sh", (&qu

[issue26865] Meta-issue: support of the android platform

2016-05-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: issue #16255: subrocess.Popen needs /bin/sh but Android only has /system/bin/sh issue #16353: add function to os module for getting path to default shell -- dependencies: +subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

[issue16353] add function to os module for getting path to default shell

2016-05-23 Thread Xavier de Gaye
Xavier de Gaye added the comment: Following Serhiy suggestion at msg224477, this tentative patch adds the is_android attribute to the posix module and the default_shell attribute to the os module. No documentation for the moment. No test case is needed I think, as the changes in issue 16255

[issue26936] android: test_socket fails

2016-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch fixes the testGetServBy test for API 21 and 23 (fixing the cases a) and e) of my previous msg). -- keywords: +patch Added file: http://bugs.python.org/file43000/null-proto.patch ___ Python tracker <h

[issue26936] android: test_socket fails

2016-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: Problems with the socket module on Android: API 21: a) Both getservbyname() and getservbyport() fail when the optional 'protocolname' parameter is not set to 'tcp' or 'udp'. b) getservbyname() fails when 'servicename

[issue26936] android: test_socket fails

2016-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: This patch fixes the testGetaddrinfo test for API 21 (the test runs fine on API 23): The failing statement 'socket.getaddrinfo(HOST, "http")' in testGetaddrinfo does not test explicitly for "http" and for the absence of

[issue20703] RuntimeError caused by lazy imports in pdb

2015-02-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: > I can reproduce this on Windows 8.1 with 3.4.3 but cannot do so with 3.5.0a1. I can still reproduce this on linux on today's tip: '3.5.0a1+ (default:7185a35fb293, Feb 26 2015, 11:27:11) \n[GCC 4.9.2 20150204 (prerelease)]'. Maybe you tr

[issue20703] RuntimeError caused by lazy imports in pdb

2015-02-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: > In that case the behavior you are seeing is correct, even if not obvious or > even desirable. It will happen any time you are looping over sys.modules and > call a function/method which has a function-scoped import statement for a > module that

[issue23768] assert on getting the representation of a thread in atexit function

2015-03-24 Thread Xavier de Gaye
New submission from Xavier de Gaye: The following 'thread_repr.py' script: -- import threading, atexit def foo(): print(threading.currentThread()) atexit.register(foo) gives the following output: --- Error

[issue23821] test_pdb fails under -O

2015-03-31 Thread Xavier de Gaye
Xavier de Gaye added the comment: FWIW looks good to me. -- ___ Python tracker <http://bugs.python.org/issue23821> ___ ___ Python-bugs-list mailing list Unsub

[issue24122] Install fails after configure sets the extending/embedding install directory to NONE

2015-05-03 Thread Xavier de Gaye
New submission from Xavier de Gaye: Running configure without the '--prefix' option creates the Makefile with the following line: LIBPL= NONE/lib/python3.5/config-$(VERSION)$(ABIFLAGS) As a result 'make install' fails to install the library and the stuff needed for exten

[issue24122] Install fails after configure sets the extending/embedding install directory to NONE

2015-05-04 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +larry ___ Python tracker <http://bugs.python.org/issue24122> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24122] Install fails after configure sets the extending/embedding install directory to NONE

2015-05-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: Installing the april 20 pre-release Python 3.5.0a4: $ tar xJf Python-3.5.0a4.tar.xz $ cd Python-3.5.0a4 && ./configure $ grep "LIBPL=" Makefile LIBPL= NONE/lib/python3.5/config-$(VERSION)$(ABIFLAGS) $ make a

[issue24122] Install fails after configure sets the extending/embedding install directory to NONE

2015-05-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: > FWIW the regression was introduced by the change to LIBPL in Makefile.pre.in > made by changeset 3d3db6d11e8b. Ooops, the regression was made by changeset 84328374ea01. -- ___ Python tracker

[issue24140] In pdb using "until X" doesn't seem to have effect in commands

2015-05-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: test.py is missing. -- nosy: +xdegaye ___ Python tracker <http://bugs.python.org/issue24140> ___ ___ Python-bugs-list mailin

[issue24140] In pdb using "until X" doesn't seem to have effect in commands

2015-05-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: The bug occurs also on the default branch: '3.5.0a4+ (default:8bac00eadfda, May 6 2015, 17:40:12) \n[GCC 4.9.2 20150304 (prerelease)]' The reason is that 'do_until' is missing from the Pdb.commands_resuming list, which causes the Pdb.bp_

[issue24160] Pdb sometimes crashes when trying to remove a breakpoint defined in a different debugger sessoon

2015-05-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: I can reproduce the problem on python 3.5 with test3.py as: def foo(): foo = 7789 bar = 7788 $ python Python 3.5.0a4+ (default:8bac00eadfda, May 6 2015, 17:40:12) [GCC 4.9.2 20150304 (prerelease)] on linux Type "help", "copyright

[issue27323] ncurses putwin() fails in test_module_funcs

2016-09-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Just wondering, how you built Python with ncurses 6.0 Xavier? I am using archlinux ncurses 6.0 [1] (sorry for the delay, no internet on a sail crossing). [1] https://www.archlinux.org/packages/core/x86_64/ncur

[issue26971] python v3.5.1: sys.paths not respecting DESTDIRS and DESTSHARED

2016-09-08 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Sorry that I haven't answered for a long time. I would like to get an email > notification but I don't know whether/how I can enable it. You should get an email upon each message posted to this issue. The email is sent to the address you

[issue26971] python v3.5.1: sys.paths not respecting DESTDIRS and DESTSHARED

2016-09-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: The problem can be reproduced as follows: Run the following commands to install python with a site configuration file that installs the libraries to lib64: export INSTALL_DIR=/some/path/to/install mkdir -p $INSTALL_DIR/share echo "test \&quo

[issue26971] python v3.5.1: sys.paths not respecting DESTDIRS and DESTSHARED

2016-09-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: The problem is that Makefile and Modules/getpath.c are not consistent: * Makefile uses $(LIBDIR)/python$(VERSION)/lib-dynload as the location of the installed shared libraries and in this issue, it happens that LIBDIR is not ${exec_prefix}/lib but is

[issue28027] Remove Lib/plat-*/* files

2016-09-09 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker <http://bugs.python.org/issue28027> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28027] Remove Lib/plat-*/* files

2016-09-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Since the 3.6 cycle, these modules are regenerated for the build, so they are > not outdated anymore. They are not a maintenance burden either. Indeed, they are regenerated by the changes made in issue 23968 ("rename the platform director

[issue28046] Remove the concept of platform-specific directories

2016-09-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Sure, I was already planning to do it :) -- ___ Python tracker <http://bugs.python.org/issue28046> ___ ___ Python-bugs-list m

[issue28046] Remove the concept of platform-specific directories

2016-09-10 Thread Xavier de Gaye
Xavier de Gaye added the comment: Confirming the problem reported by Chi Hsuan Yen. The attached patch fixes this. Another problem is that the shared libraries names of the extension modules are now suffixed with the wrong triplet, i.e. with the build system triplet instead of the target host

[issue28046] Remove the concept of platform-specific directories

2016-09-10 Thread Xavier de Gaye
Xavier de Gaye added the comment: With the attached patch, the python test suite runs smoothly on android and without errors on linux. On android, there are two new failed test cases in test_sysconfig that I will look into later (in the frame of this issue, I guess ?), but otherwise about the

[issue28046] Remove the concept of platform-specific directories

2016-09-10 Thread Xavier de Gaye
Xavier de Gaye added the comment: One of the test_sysconfig failed test is caused by the changes made in issue 27917. I will fix it there. The other one is caused by a change in my android build setup that does not install anymore include/python3.6m/pyconfig.h, this is fixed now and the test

[issue27917] Choose platform triplets for android builds

2016-09-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: test_triplet_in_ext_suffix in test_sysconfig fails with the 'x86' Android platform. -- status: closed -> open ___ Python tracker <http://bugs.pytho

[issue27917] Choose platform triplets for android builds

2016-09-11 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue27917> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue28046] Remove the concept of platform-specific directories

2016-09-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for your help in testing these changes Chi Hsuan Yen. -- ___ Python tracker <http://bugs.python.org/issue28046> ___ ___

[issue28125] identify cross builds by a more generic environment setting.

2016-09-13 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker <http://bugs.python.org/issue28125> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28125] identify cross builds by a more generic environment setting.

2016-09-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Plus the abi flags should not be set by hand, you'll get in trouble at least > for naming extensions, or building extensions for the wrong abi flags. This > was an explicit decision when I first started adding the cross-build changes. What do

[issue22724] byte-compile fails for cross-builds

2016-09-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: Cross-compilation of Android x86_64 on a linux x86_64 host followed by 'make install' does not fail anymore after the changes made in issue 27917. As expected since the triplets are different now when the target is an Android

[issue26865] Meta-issue: support of the android platform

2016-09-13 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: -byte-compile fails for cross-builds ___ Python tracker <http://bugs.python.org/issue26865> ___ ___ Python-bug

[issue28125] identify cross builds by a more generic environment setting.

2016-09-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: You do not answer my questions and resort to sarcasm instead: "How did you make it more difficult?". I understand that you may be upset because issue 23968 has been dismantled by the recent decision of removing the platdir files, but please keep ex

[issue28125] identify cross builds by a more generic environment setting.

2016-09-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: What do you mean ? When cross-compiling, _PYTHON_HOST_PLATFORM is defined as $MACHDEP-$_host_cpu, but _PYTHON_SYSCONFIGDATA_NAME is suffixed with $(MACHDEP)_$(MULTIARCH) instead. -- ___ Python tracker <h

[issue28125] identify cross builds by a more generic environment setting.

2016-09-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: > but not having the existing cross build infrastructure being replaced by some > new android concepts. Running 'hg log' on configure.ac and Makefile.pre.in shows that there is not a single change in the cross build infrastructure done for

[issue28125] identify cross builds by a more generic environment setting.

2016-09-14 Thread Xavier de Gaye
Xavier de Gaye added the comment: > please try to build extension modules with mismatching abi flags (pydebug is > the relevant one). Post your results for both mismatch cases. Hum, you are claiming that there is a problem with mismatching abi flags but don't care to explai

[issue28190] Detect curses headers correctly for cross-compiling

2016-09-30 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker <http://bugs.python.org/issue28190> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28207] Use pkg-config to find dependencies

2016-09-30 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker <http://bugs.python.org/issue28207> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20766] reference leaks in pdb

2016-10-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: The problem may still be reproduced by running the attached pdb_refleak.py script. Enter three times 'c' (short for the pdb 'continue' command) and the following line is printed: pdb 3 -> pdb 2 -> pdb 1 This shows that the

[issue20766] reference leaks in pdb

2016-10-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: Oh, test_pdb does not fail anymore in refleak mode as expected (see msg212510 for the change to apply to test_pdb.py in order to reproduce that). 'hg bisect' says that this is happening since: The first bad revision is: changeset

[issue28338] test_pdb doctests have been removed from its test suite

2016-10-02 Thread Xavier de Gaye
New submission from Xavier de Gaye: Changeset ee0bbfd972de in issue 18401 has removed the doctests from the pdb test suite as can be seen by running test_pdb in verbose mode. See also msg277864 that triggered the creation of this issue. Nosying members of the issue 18401 nosy list

[issue20766] reference leaks in pdb

2016-10-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: > And indeed, this changeset has removed entirely the doctests from the test > suite :( Entered new issue 28338. -- ___ Python tracker <http://bugs.python.org/i

[issue28338] test_pdb doctests have been removed from its test suite

2016-10-02 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue28338> ___ ___

[issue20766] reference leaks in pdb

2016-10-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: Uploaded refleak_5.patch with a simpler test case. With the patch applied, './python -m test -R 3:3 test_pdb' runs with success. The '_previous_sigint_handler' is reset at the Pdb prompt - instead of when the signal is triggered - to handl

[issue26944] android: test_posix fails

2016-10-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for the patch David, see my comment in Rietveld. New patch based on David patch, just a bit simpler. -- stage: patch review -> commit review versions: +Python 3.7 Added file: http://bugs.python.org/file45067/test_getgroups_4.pa

[issue20766] reference leaks in pdb

2016-10-12 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue20766> ___ ___ Python-bugs-list

[issue20766] reference leaks in pdb

2016-10-12 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- stage: patch review -> resolved ___ Python tracker <http://bugs.python.org/issue20766> ___ ___ Python-bugs-list mailing list Un

[issue22502] after continue in pdb stops in signal.py

2016-10-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: Fixed in issue 20766. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-14 Thread Xavier de Gaye
Xavier de Gaye added the comment: Please upload the output of make, this is where the error messages are printed when extension modules fail to build. Where is set the root directory for arm headers and libraries in the configure command line ? -- nosy: +xdegaye

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: Your Setup file matches the one distributed with Python 3.5.2. Did you get the Python source from https://www.python.org/ ? -- ___ Python tracker <http://bugs.python.org/issue28

[issue26851] android compilation and link flags

2016-10-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also the clang cross compilation documentation at http://clang.llvm.org/docs/CrossCompilation.html. -- versions: +Python 3.7 -Python 3.6 ___ Python tracker <http://bugs.python.org/issue26

[issue26851] android compilation and link flags

2016-10-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: This new patch fixes the following: * Use BASECFLAGS instead of CCSHARED. * '-march=armv7-a' is not set in BASECFLAGS anymore as this is redundant: this option is already set in the configure command line or is implicitly set by the the first compon

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: I assume from your logs that a native (not the cross-built one) python3.5 already exists and is on your PATH. What is the value of sys.builtin_module_names as given by this native python3.5 interpreter

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: So the problem is that setup.py in build_extensions() does not build the extensions that have been already built statically into the native Ubuntu interpreter. The solution is to build first natively from source python3.5 and set the PATH environment

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-15 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- versions: +Python 3.6, Python 3.7 ___ Python tracker <http://bugs.python.org/issue28444> ___ ___ Python-bugs-list mailing list Unsub

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: The cross-build uses a native python to run setup.py to build the extension modules, and to run 'python -S -m sysconfig --generate-posix-vars' and to byte compile the modules from the standard library. So you do need a native python. That is why

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: The attached patch fixes the problem and allows cross-building the extension modules independently of the configuration of the native interpreter that may have set some modules to be statically built. The patch also prints now the list of modules that are

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for the reports. The next step is having the patch reviewed by one of the Python build machinery experts. Nosying Martin, Zachary and Matthias. -- nosy: +doko, martin.panter, zach.ware ___ Python tracker

[issue26942] android: test_ctypes crashes on armv7 and aarch64

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: At least for non-Darwin POSIX builds: * Building _ctypes with the bundled copy of libffi is deprecated in 3.6 and the default is to use a system copy of libffi, issue 27976. * The bundled libffi is removed in 3.7, issue 27979. As this crash happens with the

[issue26942] android: test_ctypes crashes on armv7 and aarch64

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks Chi Hsuan Yen for your contributions with this issue. -- ___ Python tracker <http://bugs.python.org/issue26942> ___ ___

[issue26942] android: test_ctypes crashes on armv7 and aarch64

2016-10-16 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue26942> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue27627] clang fails to build ctypes on Android armv7

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: As this problem occurs with the bundled libffi, closing this issue as won't fix for the same reasons as those listed in msg278759. -- resolution: -> wont fix stage: needs patch -> resolved status: ope

[issue27659] Check for the existence of crypt()

2016-10-16 Thread Xavier de Gaye
Xavier de Gaye added the comment: Android does not have crypt, but the crypt module is cross-built nevertheless after this warning has been issued: warning: implicit declaration of function 'crypt' is invalid in C99 [-Wimplicit-function-declaration] And at runtime, importing

[issue26944] android: test_posix fails

2016-10-19 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- dependencies: -add the 'is_android' attribute to test.support ___ Python tracker <http://bugs.python.org/issue26944> ___ ___

[issue26944] test_posix: Android 'id -G' is entirely wrong or missing the effective gid

2016-10-19 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- title: android: test_posix fails -> test_posix: Android 'id -G' is entirely wrong or missing the effective gid ___ Python tracker <http://bugs.pytho

[issue26944] test_posix: Android 'id -G' is entirely wrong or missing the effective gid

2016-10-19 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-19 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for reviewing the patch Martin. > Why do you remove the code that loops over Modules/Setup? Maybe is it > redundant with the other code for removing the already-built-in modules? Yes because this is redundant, maybe not the case when this was w

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-20 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +akuchling ___ Python tracker <http://bugs.python.org/issue28444> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27659] Check for the existence of crypt()

2016-10-20 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- versions: +Python 3.7 -Python 3.6 ___ Python tracker <http://bugs.python.org/issue27659> ___ ___ Python-bugs-list mailing list Unsub

[issue28538] _socket module cross-compilation error on android-24

2016-10-26 Thread Xavier de Gaye
New submission from Xavier de Gaye: On the latest Android API level (android-24), the if_nameindex function is now found by configure in Android libc. But the if_nameindex function and structure are still not defined in the Android net/if.h header. The compilation fails with: clang

[issue26865] Meta-issue: support of the android platform

2016-10-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: issue #28538: _socket module cross-compilation error on android-24 -- dependencies: +_socket module cross-compilation error on android-24 ___ Python tracker <http://bugs.python.org/issue26

[issue28046] Remove the concept of platform-specific directories

2016-10-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: 'make install' fails to remove the sysconfigdata module from lib-dynload and prints now instead: rm: cannot remove '/path/to/install/lib/python3.7/lib-dynload/_sysconfigdata_m.py': No such file or directory The patch fixes thi

[issue28542] document cross compilation

2016-10-27 Thread Xavier de Gaye
New submission from Xavier de Gaye: Patch adding a section to the README. -- assignee: xdegaye files: readme.patch keywords: patch messages: 279532 nosy: xdegaye priority: normal severity: normal stage: patch review status: open title: document cross compilation type: enhancement

[issue28444] Missing extensions modules when cross compiling python 3.5.2 for arm on Linux

2016-10-27 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch taking into account Martin last review and some updated comments. >> Why do you remove the code that loops over Modules/Setup? Maybe is it >> redundant with the other code for removing the already-built-in modules? > Yes because th

[issue28542] document cross compilation

2016-10-27 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- components: +Cross-Build, Documentation nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue28542> ___ ___ Pytho

[issue28528] Pdb.checkline()

2016-10-27 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker <http://bugs.python.org/issue28528> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    9   10   11   12   13   14   15   >