X Tutup
The Wayback Machine - https://web.archive.org/web/20260307231832/https://github.com/python/cpython/issues/105737
Skip to content

Building python 3.10.12, 3.11.4, 3.12.0b2 on Windows with a case sensitive file system fails #105737

@tps800

Description

@tps800

Bug report

Trying to compile python 3.10.12 (as trying to compile 3.11.4, 3.12.0b2) on windows leads to following error:

  _testimportmultiple.vcxproj -> C:\Users\user\Documents\Projekte\cpython\PCbuild\amd64\_testimportmultiple.pyd
  _testmultiphase.c
     Bibliothek "C:\Users\user\Documents\Projekte\cpython\PCbuild\amd64\_testmultiphase.lib" und Objekt "C:\Users\user\Documents\Projekte\cpython\PCbuild\amd64\_testmultiphase.exp" werden erstellt.
  Code wird generiert.
  Codegenerierung ist abgeschlossen.
  _testmultiphase.vcxproj -> C:\Users\user\Documents\Projekte\cpython\PCbuild\amd64\_testmultiphase.pyd
  _testconsole.c
C:\Users\user\Documents\Projekte\cpython\PC\_testconsole.c(13,10): fatal  error C1083: Datei (Include) kann nicht geöffnet werden: "..\modules\_io\_iomodule.h": No such file or directory [C:\Users\user\Documents\Projekte\cpython\PCbuild\_testconsole.vcxproj]

Fehler beim Buildvorgang.

Renaming Modules to modules makes the error vanish, but leads to directory ..\Modules\... not found at other places.

Your environment

  • Visual Studio 2022, 17.6.2

  • Cygwin 3.5.x

  • MSYS64

  • Git 2.41.0_windows_1

  • Python 3.10.11 or Python 3.11.4 (Python 3.12.0b1 is not usable -- to many errors).

  • Windows 10 with file system partly case sensitive (not only case aware -- git configured to checkout to case sensitive file system and set case sensitivity -> git cloned parts of a file system are case sensitive this way. Directories with case only distinguished entries are possible).

  • CPython versions tested on: 3.10.12

  • Operating system and architecture: Windows 10, amd64, FS: NTFS

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup