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

Fix: MacOS bundle creation #8193

Merged
merged 1 commit into from Jun 6, 2020
Merged

Fix: MacOS bundle creation #8193

merged 1 commit into from Jun 6, 2020

Conversation

@glx22
Copy link
Contributor

@glx22 glx22 commented Jun 6, 2020

Nightlies currently fails to build because

error: /Applications/Xcode_11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open input file: /Users/runner/runners/2.169.1/work/1/s/build/_CPack_Packages/amd64/Bundle/openttd-20200605-master-g877d196ef5-macosx/OpenTTD.app/Contents/Frameworks/libfreetype.6.dylib for writing (Permission denied)
error: /Applications/Xcode_11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't lseek to offset: 0 in file: /Users/runner/runners/2.169.1/work/1/s/build/_CPack_Packages/amd64/Bundle/openttd-20200605-master-g877d196ef5-macosx/OpenTTD.app/Contents/Frameworks/libfreetype.6.dylib for writing (Bad file descriptor)
error: /Applications/Xcode_11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't write new headers in file: /Users/runner/runners/2.169.1/work/1/s/build/_CPack_Packages/amd64/Bundle/openttd-20200605-master-g877d196ef5-macosx/OpenTTD.app/Contents/Frameworks/libfreetype.6.dylib (Bad file descriptor)
error: /Applications/Xcode_11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't close written on input file: /Users/runner/runners/2.169.1/work/1/s/build/_CPack_Packages/amd64/Bundle/openttd-20200605-master-g877d196ef5-macosx/OpenTTD.app/Contents/Frameworks/libfreetype.6.dylib (Bad file descriptor)

Based on https://gitlab.kitware.com/cmake/cmake/-/issues/19663 I think I have the right fix.

nielsmh
nielsmh approved these changes Jun 6, 2020
@glx22 glx22 merged commit b145ee3 into OpenTTD:master Jun 6, 2020
8 checks passed
@glx22 glx22 deleted the fix_osx_release branch Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants