GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Meta-issue: support of the android platform · Issue #71052 · python/cpython

Meta-issue: support of the android platform #71052

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Meta-issue: support of the android platform#71052
Copy link
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement

Description

xdegaye
mannequin
opened on Apr 26, 2016
Issue body actions
BPO 26865
Nosy @ethanfurman, @xdegaye, @ericsnowcurrently, @Fak3, @zware, @moreati, @yan12125, @ethanhs
Dependencies
  • bpo-16255: subrocess.Popen needs /bin/sh but Android only has /system/bin/sh
  • bpo-23968: rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)
  • bpo-26849: android does not support versioning in SONAME
  • bpo-26851: android compilation and link flags
  • bpo-26853: missing symbols in curses and readline modules on android
  • bpo-26854: missing header on android for the ossaudiodev module
  • bpo-26855: android: add platform.android_ver()
  • bpo-26856: android does not have pwd.getpwall()
  • bpo-26857: gethostbyname_r() is broken on android
  • bpo-26858: setting SO_REUSEPORT fails at API 21
  • bpo-26862: android: SYS_getdents64 does not need to be defined on android API 21
  • bpo-26863: android lacks some declarations for the posix module
  • bpo-26884: android: cross-compilation of extension module links to the wrong python library
  • bpo-26918: android: test_pipes fails
  • bpo-26919: on Android python fails to decode/encode command line arguments
  • bpo-26920: android: test_sys fails
  • bpo-26924: android: test_concurrent_futures fails
  • bpo-26925: android: test_multiprocessing_main_handling fails
  • bpo-26926: test_io large file test failure on 32 bits Android platforms
  • bpo-26927: test_mmap does not handle ValueError when no large file support
  • bpo-26928: bootlocale imports locale at startup on Android, causing test_site to fail
  • bpo-26929: android: test_strptime fails
  • bpo-26931: android: test_distutils fails
  • bpo-26932: RTLD* macros are not defined on Android
  • bpo-26933: android: test_posixpath fails
  • bpo-26934: android: test_faulthandler fails
  • bpo-26935: android: test_os fails
  • bpo-26936: android: test_socket fails
  • bpo-26937: the chown() method of the tarfile.TarFile class fails on Android
  • bpo-26938: android: test_concurrent_futures hangs on armv7
  • bpo-26939: android: test_functools hangs on armv7
  • bpo-26940: android: test_importlib hangs on armv7
  • bpo-26941: android: test_threading hangs on armv7
  • bpo-26942: android: test_ctypes crashes on armv7 and aarch64
  • bpo-26944: test_posix: Android 'id -G' is entirely wrong or missing the effective gid
  • bpo-27027: add the 'is_android' attribute to test.support
  • bpo-27442: expose the Android API level in sysconfig.get_config_vars()
  • bpo-27472: add the 'unix_shell' attribute to test.support
  • bpo-27606: Android cross-built for armv5te with clang and '-mthumb' crashes with SIGSEGV or SIGILL
  • bpo-27627: clang fails to build ctypes on Android armv7
  • bpo-27659: Prohibit implicit C function declarations
  • bpo-28180: Implementation of the PEP 538: coerce C locale to C.utf-8
  • bpo-28538: _socket module cross-compilation error on android-24
  • bpo-28562: test_asyncio fails on Android upon calling getaddrinfo()
  • bpo-28596: on Android _bootlocale on startup relies on too many library modules
  • bpo-28662: catch also PermissionError in tests when spawning a non existent program
  • bpo-28664: test_bz2 fails with BrokenPipeError when bunzip2 is missing
  • bpo-28668: instanciation of multiprocessing.Queue raises ImportError in test_logging
  • bpo-28683: bind() on a unix socket raises PermissionError on Android for a non-root user
  • bpo-28684: [asyncio] bind() on a unix socket raises PermissionError on Android for a non-root user
  • bpo-28740: Add sys.getandroidapilevel()
  • bpo-28746: cannot set_inheritable() for a file descriptor on Android
  • bpo-28759: access to mkfifo, mknod and hard links is controled by SELinux MAC on Android
  • bpo-28762: lockf() is available now on Android API level 24, but the F_LOCK macro is not defined
  • bpo-28764: test_mailbox fails when run as a non-root user on Android API 24
  • bpo-28996: wcscoll is broken on Android and test_locale fails
  • bpo-28997: test_readline.test_nonascii fails on Android
  • bpo-29040: building Android with android-ndk-r14
  • bpo-29176: /tmp does not exist on Android and is used by curses.window.putwin()
  • bpo-29177: skip tests of test_logging when bind() raises PermissionError (non-root user on Android)
  • bpo-29180: skip tests that raise PermissionError in test_os (non-root user on Android)
  • bpo-29181: skip tests that raise PermissionError in test_tarfile (non-root user on Android)
  • bpo-29184: skip tests of test_socketserver when bind() raises PermissionError (non-root user on Android)
  • bpo-29185: test_distutils fails on Android API level 24
  • bpo-32031: Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased
  • bpo-32059: detect_modules() in setup.py must also search the sysroot paths
  • bpo-32126: [asyncio] test failure when the platform lacks a functional sem_open()
  • bpo-32138: android: test_faulthandler fails also on API 24
  • bpo-32139: android: locale is modified by test_strftime
  • bpo-32199: uuid.getnode() should return the MAC address on Android
  • bpo-32202: [ctypes] all long double tests fail on android-24-x86_64
  • bpo-32203: [ctypes] test_struct_by_value fails on android-24-arm64
  • bpo-32205: test.pythoninfo does not print the cross-built sysconfig data
  • bpo-32210: Add platform.android_ver() to test.pythoninfo for Android platforms
  • bpo-32246: test_regrtest alters the execution environment on Android
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2016-04-26.15:36:51.967>
    labels = ['type-feature', '3.7', 'build']
    title = 'Meta-issue: support of the android platform'
    updated_at = <Date 2017-12-10.09:31:57.501>
    user = 'https://github.com/xdegaye'

    bugs.python.org fields:

    activity = <Date 2017-12-10.09:31:57.501>
    actor = 'xdegaye'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Cross-Build']
    creation = <Date 2016-04-26.15:36:51.967>
    creator = 'xdegaye'
    dependencies = ['16255', '23968', '26849', '26851', '26853', '26854', '26855', '26856', '26857', '26858', '26862', '26863', '26884', '26918', '26919', '26920', '26924', '26925', '26926', '26927', '26928', '26929', '26931', '26932', '26933', '26934', '26935', '26936', '26937', '26938', '26939', '26940', '26941', '26942', '26944', '27027', '27442', '27472', '27606', '27627', '27659', '28180', '28538', '28562', '28596', '28662', '28664', '28668', '28683', '28684', '28740', '28746', '28759', '28762', '28764', '28996', '28997', '29040', '29176', '29177', '29180', '29181', '29184', '29185', '32031', '32059', '32126', '32138', '32139', '32199', '32202', '32203', '32205', '32210', '32246']
    files = []
    hgrepos = []
    issue_num = 26865
    keywords = []
    message_count = 41.0
    messages = ['264310', '264485', '264746', '264791', '265610', '265963', '265988', '266075', '266085', '269236', '269296', '269718', '270045', '270942', '271148', '271389', '271516', '271522', '271547', '271567', '271568', '271571', '271731', '279496', '279733', '279983', '280653', '281209', '281367', '282661', '283113', '283477', '283780', '284743', '284757', '284854', '285493', '285772', '307901', '307902', '307948']
    nosy_count = 8.0
    nosy_names = ['ethan.furman', 'xdegaye', 'eric.snow', 'Roman.Evstifeev', 'zach.ware', 'Alex.Willmer', 'yan12125', 'ethan smith']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue26865'
    versions = ['Python 3.7']

    Linked PRs

    • gh-71052: Add Android build script #115576
    • gh-71052: Enable test_concurrent_futures on platforms that support threading but not multiprocessing #115917
    • gh-71052: Add test exclusions to support running the test suite on Android #115918
    • gh-71052: fix test_concurrent_futures wasi regression. #115923
    • gh-71052: Fix several Android build issues #115955
    • gh-71052: Change Android's sys.platform from "linux" to "android" #116215
    • gh-71052: Implement ctypes.util.find_library on Android #116379
    • gh-71052: Use raise_signal rather than kill in ThreadSignals.test_signals #116423
    • gh-71052: Add Android build script and instructions #116426
    • [3.11] gh-71052: Use raise_signal in ThreadSignals.test_signals (GH-116423) #116617
    • [3.12] gh-71052: Use raise_signal in ThreadSignals.test_signals (GH-116423) #116618

    Activity

    Next
    1. xdegaye commented on Apr 26, 2016

      @xdegaye
      xdegayemannequin
      on Apr 26, 2016
      MannequinAuthor
      More actions

      This issue lists issues that may have to be fixed in the perspective of a future support of the android platform.

      build
      issue bpo-26849: android does not support versioning in SONAME
      issue bpo-26851: android compilation and link flags
      issue bpo-26852: add a COMPILEALL_FLAGS Makefile variable

      curses, readline
      issue bpo-26853: missing symbols in curses and readline modules on android

      ossaudiodev
      issue bpo-26854: missing header on android for the ossaudiodev module

      platform
      issue bpo-16353: add function to os module for getting path to default shell
      issue bpo-26855: add platform.android_ver() for android

      pwd
      issue bpo-26856: android does not have pwd.getpwall()

      socketmodule
      issue bpo-26857: gethostbyname_r() is broken on android

      asyncio tests
      issue bpo-26858: setting SO_REUSEPORT fails on android

      unittest
      issue bpo-26859: unittest fails with "Start directory is not importable"

      posixmodule
      issue bpo-26862: SYS_getdents64 does not need to be defined on android API 21
      issue bpo-26863: android lacks some declaration for the posix module

    2. xdegaye
      added
      buildThe build process and cross-buildThe build process and cross-build
      type-featureA feature request or enhancementA feature request or enhancement
      on Apr 26, 2016
    3. zware
      changed the title [-]toward the support of the android platform[/-] [+]Meta-issue: support of the android platform[/+] on Apr 26, 2016
    4. xdegaye commented on Apr 29, 2016

      @xdegaye
      xdegayemannequin
      on Apr 29, 2016
      MannequinAuthor
      More actions

      build
      issue bpo-26884: cross-compilation of extension module links to the wrong python library

      This should be added to the meta-issue dependencies, I guess.

    5. xdegaye commented on May 3, 2016

      @xdegaye
      xdegayemannequin
      on May 3, 2016
      MannequinAuthor
      More actions

      All the dependencies of this issue are tagged with Components:Cross-Build and a title starting with 'android'.

      Tests that fail on an android emulator running an x86 system image at API level 21:

      issue bpo-26918: android: test_pipes fails
      issue bpo-26919: android: test_cmd_line fails
      issue bpo-26920: android: test_sys fails
      issue bpo-26924: android: test_concurrent_futures fails
      issue bpo-26925: android: test_multiprocessing_main_handling fails
      issue bpo-26926: android: test_io fails
      issue bpo-26927: android: test_mmap fails
      issue bpo-26928: android: test_site fails
      issue bpo-26929: android: test_strptime fails
      issue bpo-26931: android: test_distutils fails
      issue bpo-26932: android: test_posix fails
      issue bpo-26933: android: test_posixpath fails
      issue bpo-26934: android: test_faulthandler fails
      issue bpo-26935: android: test_os fails
      issue bpo-26936: android: test_socket fails
      issue bpo-26937: android: test_tarfile fails

      Tests that fail on an android emulator running an armv7 system image (but not fail on x86) at API level 21:

      issue bpo-26938: android: test_concurrent_futures hangs on armv7
      issue bpo-26939: android: test_functools hangs on armv7
      issue bpo-26940: android: test_importlib hangs on armv7
      issue bpo-26941: android: test_threading hangs on armv7
      issue bpo-26942: android: test_ctypes crashes on armv7

    6. xdegaye commented on May 4, 2016

      @xdegaye
      xdegayemannequin
      on May 4, 2016
      MannequinAuthor
      More actions

      Tests that fail on an android emulator running an x86 system image at API level 21:

      issue bpo-26944: android: test_posix fails

    7. xdegaye commented on May 15, 2016

      @xdegaye
      xdegayemannequin
      on May 15, 2016
      MannequinAuthor
      More actions

      issue bpo-27027: add is_android in test.support to detect Android platform

    8. zware commented on May 20, 2016

      @zware
      zware
      on May 20, 2016
      Member
      More actions

      Xavier: It's been long enough that I don't remember whether regular Users can adjust Dependencies, but since you didn't do it yourself I assume they can't. I've just given you the Developer role, so you can now :)

    9. xdegaye commented on May 21, 2016

      @xdegaye
      xdegayemannequin
      on May 21, 2016
      MannequinAuthor
      More actions

      No, regular users can't adjust dependencies, but I can now. Thanks Zachary.

    10. xdegaye commented on May 22, 2016

      @xdegaye
      xdegayemannequin
      on May 22, 2016
      MannequinAuthor
      More actions

      issue bpo-22747: Interpreter fails in initialize on systems where HAVE_LANGINFO_H is undefined

    11. xdegaye commented on May 22, 2016

      @xdegaye
      xdegayemannequin
      on May 22, 2016
      MannequinAuthor
      More actions

      issue bpo-16255: subrocess.Popen needs /bin/sh but Android only has /system/bin/sh
      issue bpo-16353: add function to os module for getting path to default shell

    12. xdegaye commented on Jun 25, 2016

      @xdegaye
      xdegayemannequin
      on Jun 25, 2016
      MannequinAuthor
      More actions

      issue bpo-23968: rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

    13. xdegaye commented on Jun 26, 2016

      @xdegaye
      xdegayemannequin
      on Jun 26, 2016
      MannequinAuthor
      More actions

      issue bpo-22724: byte-compile fails for cross-builds

    14. xdegaye commented on Jul 2, 2016

      @xdegaye
      xdegayemannequin
      on Jul 2, 2016
      MannequinAuthor
      More actions

      issue bpo-27442: expose Android API level in sys.implementation

    15. 60 remaining items

    16. adorilson
      added 3 commits that reference this issue on Mar 25, 2024

      pythongh-71052: Use `raise_signal` in `ThreadSignals.test_signals` (p…

      0a92c03

      pythongh-71052: Implement `ctypes.util.find_library` on Android (pyth…

      821966e

      pythongh-71052: Add Android build script and instructions (python#116426

      6152fef
    17. NGRsoftlab
      added 2 commits that reference this issue on Apr 2, 2024

      Squashed commit of the following:

      1b5fe4c

      Squashed commit of the following:

      a016a54
    18. diegorusso
      added 8 commits that reference this issue on Apr 17, 2024

      pythongh-71052: Enable test_concurrent_futures on platforms that lack…

      9eb3ecf

      pythongh-71052: fix test_concurrent_futures wasi regression. (python#…

      c6ae46b

      pythongh-71052: Add test exclusions to support running the test suite…

      aa50320

      pythongh-71052: Fix several Android build issues (python#115955)

      8f69612

      pythongh-71052: Change Android's `sys.platform` from "linux" to "andr…

      3b82883

      pythongh-71052: Use `raise_signal` in `ThreadSignals.test_signals` (p…

      bfdebd4

      pythongh-71052: Implement `ctypes.util.find_library` on Android (pyth…

      977f256

      pythongh-71052: Add Android build script and instructions (python#116426

      0eb3b79
    19. LukasWoodtli
      added 2 commits that reference this issue on Jan 22, 2025

      pythongh-71052: Enable test_concurrent_futures on platforms that lack…

      580ced3

      pythongh-71052: fix test_concurrent_futures wasi regression. (python#…

      3029520
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      buildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.