Skip to content

pyinstaller on Wine references undefined ucrtbase function #127

@bob-schumaker

Description

@bob-schumaker

Describe the bug
Running the pyinstaller commands fails with exception:

Successfully installed ...

error: XDG_RUNTIME_DIR is invalid or not set in the environment.
01d0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
01d0:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
01d0:err:systray:initialize_systray Could not create tray window
wine: Call from 00006FFFFF41CF77 to unimplemented function ucrtbase.dll.crealf, aborting
wine: Unimplemented function ucrtbase.dll.crealf called at address 00006FFFFF41CF77 (thread 01c4), starting debugger...
Can't attach process 01c0: error 5

To Reproduce
Steps to reproduce the behavior:

  1. Any Mac (M3 or Intel)
  2. docker run --platform linux/amd64 --rm -v $PWD:"/src/"" -e SRCDIR="/src/" -e SPECFILE=pyinstaller.spec batonogov/pyinstaller-windows:latest

Expected behavior
pyinstaller runs and builds the application.

Screenshots
If applicable, add screenshots to help explain your problem.

Docker information (please provide the following information):

  • Docker image: batonogov/pyinstaller-linux:latest
  • Docker version: Docker version 27.4.1, build b9d17ea
  • Run command: docker run --platform linux/amd64 --rm -v $PWD:"/src/"" -e SRCDIR="/src/" -e SPECFILE=pyinstaller.spec batonogov/pyinstaller-windows:latest

Additional context
This only started happening recently, and I can't pinpoint the change. My build worked fine on 1/18, but I rebuilt my personal copy from a fork that failed. So I went back to the source :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions