https://bugs.winehq.org/show_bug.cgi?id=51959
Bug ID: 51959 Summary: Missing procedure GetDayLightFlag Product: Wine Version: 6.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ucrtbase Assignee: wine-bugs@winehq.org Reporter: deridiot@gmail.com Distribution: ---
Created attachment 70942 --> https://bugs.winehq.org/attachment.cgi?id=70942 german Error Message about the missing procedure
In the build process of a python project we employ a docker image that uses pyinstaller via wine (https://github.com/cdrx/docker-pyinstaller). When executing the frozen exe it will raise an error noting that ucrtbase.dll misses the procedure GetDayLightFlag
If i explicitly tell the build process to ignore ucrtbase.dll from being included in the package it will use the dll of the system it runs on. Meaning it doesn't employ the file supplied by wine.
I poked around the code a bit and probably we are just lacking
stdcall GetDaylightFlag()
in
https://github.com/wine-mirror/wine/blob/master/dlls/ucrtbase/ucrtbase.spec
But C isn't my language of choice so i will gladly admit that's just guessing.
I've managed to work around my problem by just excluding the dll, but i feel this might help someone else in the future.
https://bugs.winehq.org/show_bug.cgi?id=51959
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- It's a kernel32 export, that apparently is not available on current Windows releases, no idea when it was removed.
We're using it in our CRT modules, and probably should stop doing so.
https://bugs.winehq.org/show_bug.cgi?id=51959
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #2 from Piotr Caban piotr.caban@gmail.com --- I've sent a patch that removes GetDaylightFlag function call: https://source.winehq.org/patches/data/218529
https://bugs.winehq.org/show_bug.cgi?id=51959
--- Comment #3 from Piotr Caban piotr.caban@gmail.com --- It should be fixed by 00824a94f02340c2725f494f04f7f1f8ca311033. Please retest.
https://bugs.winehq.org/show_bug.cgi?id=51959
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |00824a94f02340c2725f494f04f | |7f1f8ca311033 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Piotr Caban piotr.caban@gmail.com --- The originally reported error (usage of GetDayLightFlag function) is fixed. Marking as fixed.
https://bugs.winehq.org/show_bug.cgi?id=51959
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.23.
https://bugs.winehq.org/show_bug.cgi?id=51959
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=51959
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #6 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.4.