Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Random Windows wheel build error: failed with exit status 1158 #22310

Copy link
Copy link
Open
@ogrisel

Description

@ogrisel
Issue body actions

The nightly windows builds randomly fail with the following error:

error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\cibw\python\python.3.10.1\tools\libs /LIBPATH:C:\cibw\python\python.3.10.1\tools\PCbuild\amd64 /LIBPATH:build\temp.win-amd64-3.10 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\lib\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\um\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\lib\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\um\x64 /EXPORT:PyInit__hierarchical_fast build\temp.win-amd64-3.10\Release\sklearn\cluster\_hierarchical_fast.obj /OUT:build\lib.win-amd64-3.10\sklearn\cluster\_hierarchical_fast.cp310-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.10\Release\sklearn\cluster\_hierarchical_fast.cp310-win_amd64.lib /openmp" failed with exit status 1158

https://github.com/scikit-learn/scikit-learn/runs/4961291550?check_suite_focus=true

The above happened with cp310-win_amd64 but apparently this can happen with other Python versions. Generally restarting the build is enough to get it to work again.

Let's try to collect below which config and file fail, to see if there is a pattern:

  • cp310-win_amd64 / sklearn\cluster\_hierarchical_fast.cp310-win_amd64.lib
  • cp38-win_amd64 / sklearn\ensemble\_gradient_boosting.cp38-win_amd64.lib
  • cp38-win32 / sklearn\ensemble\_hist_gradient_boosting\_binning.cp38-win32.lib
  • cp38-win32 / sklearn\utils\_openmp_helpers.cp38-win32.lib
  • cp39-win32/ sklearn\decomposition\_cdnmf_fast.cp39-win32.lib

Link to all wheel building runs that were scheduled

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.