Skip to content
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

DLL mismatch on GithHub Actions hostedtoolcache #2440

Open
brookst opened this issue Dec 30, 2023 · 1 comment
Open

DLL mismatch on GithHub Actions hostedtoolcache #2440

brookst opened this issue Dec 30, 2023 · 1 comment
Assignees
Labels
Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control.

Comments

@brookst
Copy link

brookst commented Dec 30, 2023

I'm trying to debug an issue with an unusable GitHub actions build: builder555/PineSAM#198
pyinstaller tries to bundle winrt.cp312-win_amd64.pyd etc. but issues a warning that it can't resolve api-ms-win-core-xxx DLLs.
E.g.: failed build log.

The builder nodes seem to have api-ms-win-core-libraryloader-l1-1-0.dll and api-ms-win-core-libraryloader-l1-1-1.dll not the api-ms-win-core-libraryloader-l1-2-0.dll the pyd files are built against. They are also entirely missing api-ms-win-core-path-l1-1-0.dll. I see this from listing the C:\Windows\System32\downlevel directory e.g. in this build log.

I guess this is a caching issue on GitHub Actions, the pyd files are in the site-packages directory in C:\hostedtoolcache\windows\Python etc. I tried to have pip rebuild the packages but ran into an issue building Devices.Bluetooth.GenericAttributeProfile - #2439. Skipping just that, pyinstaller still seems to grab the other packages from the hostedtoolcache path, not wherever pip installed them.

Can anyone suggest anything to make these libraries link correctly?

@issues-automation issues-automation bot added the Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control. label Dec 30, 2023
@GrantMeStrength
Copy link
Contributor

Mike - as I understand you might be the right person for Github Actions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control.
Projects
None yet
Development

No branches or pull requests

3 participants