Skip to content

cpython static version (windows-msvc-static-noopt) does not work on nanoserver #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hemnstill opened this issue Feb 13, 2022 · 3 comments

Comments

@hemnstill
Copy link

windows-msvc-static-noopt does not start silently.

windows-msvc-shared-pgo worked well.

nanoserver version: mcr.microsoft.com/windows/nanoserver:ltsc2022-amd64

@indygreg
Copy link
Collaborator

What's the output? (I'm away from my Windows machine at the moment and don't have a great way to test this.)

@hemnstill
Copy link
Author

hemnstill commented Feb 16, 2022

Output is empty, it only return exit code: 53

docker run -v C:\python\install:c:\scan stefanscherer/nanoserverapiscan

-----------------------------------------------------------------------------
=== python.exe ===
=== C:\scan\python.exe ===

ERRORS:

  msi.dll
    149(Proc not found)
    77(Proc not found)
    158(Proc not found)
    166(Proc not found)
    163(Proc not found)
    160(Proc not found)
    159(Proc not found)
    152(Proc not found)
    8(Proc not found)
    121(Proc not found)
    125(Proc not found)
    116(Proc not found)
    118(Proc not found)
    153(Proc not found)
    148(Proc not found)
    151(Proc not found)
    115(Proc not found)
    123(Proc not found)
    167(Proc not found)
    92(Proc not found)
    20(Proc not found)
    32(Proc not found)
    48(Proc not found)
    17(Proc not found)
    170(Proc not found)
  WINMM.dll
    PlaySoundW(Proc not found)
  ADVAPI32.dll
    ReportEventW(Proc not found)
    RegisterEventSourceW(Proc not found)
    DeregisterEventSource(Proc not found)
    GetUserNameW(Proc not found)
      Please use API GetUserNameExW as substitution.
  KERNEL32.dll
    VerifyVersionInfoW(Proc not found)
    VerifyVersionInfoA(Proc not found)
    UnregisterWait(Proc not found)
      Please use API UnregisterWaitEx as substitution.
    RegisterWaitForSingleObject(Proc not found)
    GetActiveProcessorCount(Proc not found)
      Please use API GetLogicalProcessorInformationEx as substitution.
    CreateToolhelp32Snapshot(Proc not found)
    Process32First(Proc not found)
    Process32Next(Proc not found)
    CreateFileMappingA(Proc not found)
      Please use API CreateFileMappingW as substitution.
    CreateNamedPipeA(Proc not found)
      Please use API CreateNamedPipeW as substitution.
    FileTimeToDosDateTime(Proc not found)
  USER32.dll
    MessageBeep(Proc not found)
    MessageBoxW(Proc not found)
    GetUserObjectInformationW(Proc not found)
    GetProcessWindowStation(Proc not found)

-----------------------------------------------------------------------------
=== pythonw.exe ===
=== C:\scan\pythonw.exe ===

ERRORS:

  msi.dll
    149(Proc not found)
    77(Proc not found)
    158(Proc not found)
    166(Proc not found)
    163(Proc not found)
    160(Proc not found)
    159(Proc not found)
    152(Proc not found)
    8(Proc not found)
    121(Proc not found)
    125(Proc not found)
    116(Proc not found)
    118(Proc not found)
    153(Proc not found)
    148(Proc not found)
    151(Proc not found)
    115(Proc not found)
    123(Proc not found)
    167(Proc not found)
    92(Proc not found)
    20(Proc not found)
    32(Proc not found)
    48(Proc not found)
    17(Proc not found)
    170(Proc not found)
  WINMM.dll
    PlaySoundW(Proc not found)
  ADVAPI32.dll
    ReportEventW(Proc not found)
    RegisterEventSourceW(Proc not found)
    DeregisterEventSource(Proc not found)
    GetUserNameW(Proc not found)
      Please use API GetUserNameExW as substitution.
  KERNEL32.dll
    VerifyVersionInfoW(Proc not found)
    VerifyVersionInfoA(Proc not found)
    UnregisterWait(Proc not found)
      Please use API UnregisterWaitEx as substitution.
    RegisterWaitForSingleObject(Proc not found)
    GetActiveProcessorCount(Proc not found)
      Please use API GetLogicalProcessorInformationEx as substitution.
    CreateToolhelp32Snapshot(Proc not found)
    Process32First(Proc not found)
    Process32Next(Proc not found)
    CreateFileMappingA(Proc not found)
      Please use API CreateFileMappingW as substitution.
    CreateNamedPipeA(Proc not found)
      Please use API CreateNamedPipeW as substitution.
    FileTimeToDosDateTime(Proc not found)
  USER32.dll
    MessageBeep(Proc not found)
    MessageBoxW(Proc not found)
    GetUserObjectInformationW(Proc not found)
    GetProcessWindowStation(Proc not found)

-----------------------------------------------------------------------------
=== vcruntime140.dll ===
=== C:\scan\vcruntime140.dll ===


-----------------------------------------------------------------------------
=== vcruntime140_1.dll ===
=== C:\scan\vcruntime140_1.dll ===


-----------------------------------------------------------------------------
=== t64.exe ===
=== C:\scan\Lib\site-packages\pip\_vendor\distlib\t64.exe ===

ERRORS:

  KERNEL32.dll
    CreateJobObjectA(Proc not found)
      Please use API CreateJobObjectW as substitution.
    SetHandleCount(Proc not found)
  SHLWAPI.dll
    StrStrIW(Proc not found)
    PathRemoveFileSpecW(Proc not found)
    PathCombineW(Proc not found)

-----------------------------------------------------------------------------
=== w64.exe ===
=== C:\scan\Lib\site-packages\pip\_vendor\distlib\w64.exe ===

ERRORS:

  KERNEL32.dll
    CreateJobObjectA(Proc not found)
      Please use API CreateJobObjectW as substitution.
    SetHandleCount(Proc not found)
  SHLWAPI.dll
    StrStrIW(Proc not found)
    PathRemoveFileSpecW(Proc not found)
    PathCombineW(Proc not found)

-----------------------------------------------------------------------------
=== cli-64.exe ===
=== C:\scan\Lib\site-packages\setuptools\cli-64.exe ===

ERRORS:

  KERNEL32.dll
    SetHandleCount(Proc not found)
    GetStartupInfoA(Proc not found)
      Please use API GetStartupInfoW as substitution.

-----------------------------------------------------------------------------
=== gui-64.exe ===
=== C:\scan\Lib\site-packages\setuptools\gui-64.exe ===

ERRORS:

  KERNEL32.dll
    GetStartupInfoA(Proc not found)
      Please use API GetStartupInfoW as substitution.
    SetHandleCount(Proc not found)

-----------------------------------------------------------------------------
=== python.exe ===
=== C:\scan\Lib\venv\scripts\nt\python.exe ===

ERRORS:

  KERNEL32.dll
    CreateJobObjectA(Proc not found)
      Please use API CreateJobObjectW as substitution.

-----------------------------------------------------------------------------
=== pythonw.exe ===
=== C:\scan\Lib\venv\scripts\nt\pythonw.exe ===

ERRORS:

  KERNEL32.dll
    CreateJobObjectA(Proc not found)
      Please use API CreateJobObjectW as substitution.
  USER32.dll
    PostMessageA(Proc not found)
    GetMessageA(Proc not found)
    MessageBoxW(Proc not found)

@hemnstill
Copy link
Author

nothing to do here anymore

#221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants