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 — AIX build broken because of recent os.statx implementation. · Issue #140239 · python/cpython

AIX build broken because of recent os.statx implementation. #140239

New issue
Copy link
New issue
Copy link
Closed
Closed
AIX build broken because of recent os.statx implementation.#140239
Copy link
Labels
OS-unsupportedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@ayappanec
ayappanec
opened on Oct 17, 2025
Issue body actions

Bug description:

The recent os.statx implementation is very specific to Linux #139178 . This broke AIX build as the configure simply checks for the presence of statx function which is available in AIX but very much different from it. https://www.ibm.com/docs/en/aix/7.3.0?topic=s-stat-fstat-lstat-statx-fstatx-statxat-fstatat-fullstat-ffullstat-stat64-fstat64-lstat64-stat64x-fstat64x-lstat64x-stat64xat-subroutine

The configure check for statx should be improved to check whether the platform is Linux or not , as well.

CPython versions tested on:

CPython main branch

Operating systems tested on:

AIX

Linked PRs

  • gh-140239: Check statx availability only in Linux platforms #140249
  • gh-140239: Check for statx on Android #140395

Activity

  1. ayappanec
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Oct 17, 2025
  2. sergey-miryanov
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on Oct 17, 2025
  3. ayappanec
    added a commit that references this issue on Oct 17, 2025

    pythongh-140239: Check statx availability only in Linux platforms

    802bd11
  4. StanFromIreland
    added
    OS-unsupported
    on Oct 17, 2025
  5. github-project-automation
    added this to Unsupported platformson Oct 17, 2025
  6. cmaloney commented on Oct 17, 2025

    @cmaloney
    cmaloney
    on Oct 17, 2025
    Contributor
    More actions

    cc: @jbosboom , @vstinner

  7. vstinner
    added a commit that references this issue on Oct 17, 2025

    gh-140239: Check statx availability only on Linux (#140249)

    92025ea
  8. vstinner
    closed this as completedon Oct 17, 2025
  9. github-project-automation
    moved this to Done in Unsupported platformson Oct 17, 2025
  10. vstinner
    added a commit that references this issue on Oct 21, 2025

    gh-140239: Check for statx on Android (#140395)

    c788bfb
  11. StanFromIreland
    added 2 commits that reference this issue on Dec 6, 2025

    pythongh-140239: Check statx availability only on Linux (python#140249)

    918a2fd

    pythongh-140239: Check for statx on Android (python#140395)

    ea6c7a9
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

    OS-unsupportedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    • Unsupported platforms
      Status
      Done
      Show more project fields

    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.