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

GHA Windows version 20201116.1 breaks build #5051

Closed
hugovk opened this issue Nov 21, 2020 · 2 comments · Fixed by #5052 or #5057
Closed

GHA Windows version 20201116.1 breaks build #5051

hugovk opened this issue Nov 21, 2020 · 2 comments · Fixed by #5052 or #5057

Comments

@hugovk
Copy link
Member

hugovk commented Nov 21, 2020

The GHA Windows build has started failing on master:

Finished generating code
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x86\\link.exe' failed with exit status 1257

Last pass: https://github.com/python-pillow/Pillow/actions/runs/370215236

Version: 20201108.1
Included Software: https://github.com/actions/virtual-environments/blob/win19/20201108.1/images/win/Windows2019-Readme.md

First fail: https://github.com/python-pillow/Pillow/actions/runs/376064850

Version: 20201116.1
Included Software: https://github.com/actions/virtual-environments/blob/win19/20201116.1/images/win/Windows2019-Readme.md

Change included software: actions/runner-images@9a16e36#diff-816219d3c9f30fcc1c40f88ca826c1662bf99eded781c1b419dd2dfb577ae227

@hugovk
Copy link
Member Author

hugovk commented Nov 21, 2020

First error:

2020-11-21T12:51:28.1169099Z ConvertYCbCr.c
2020-11-21T12:51:28.3157967Z fatal error C1047: The object or library file 'D:\a\Pillow\Pillow\winbuild\build\lib\lcms2_static.lib' was created by a different version of the compiler than other objects like 'build\temp.win-amd64-3.6\Release\src\_imagingcms.obj'; rebuild all objects and libraries with the same compiler
2020-11-21T12:51:28.3164554Z LINK : fatal error LNK1257: code generation failed

@nulano
Copy link
Contributor

nulano commented Nov 21, 2020

I've created #5052 which should fix the error by changing the cache key.
I'll try to add the compiler version to the key hopefully tomorrow.

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