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
All Mac builds don't run #1113
Comments
Uh oh. Ravancloak reports that 32-bit gfx_sdl and 64-bit gfx_sdl builds are now broken too, not just 64-bit gfx_sdl2. Same error as before, but SDL instead of SDL2.
James upgraded/reinstalled SDL.framework (1.2.15) and SDL2.framework (2.0.12) (in /Library/Frameworks/ on the build machine, removing copies in ~/Library/Frameworks/) on 2020-08-02, and SDL_mixer.framework (1.2.12) on 2020-08-20. Ravancloak confirmed the 64-bit SDL2 build was working on approx 2020-08-09 (the fix for #1138). So I think he must have tested just the sdl2 build back to 2020-07-31. So it appears it was the upgrade to SDL_mixer.framework that was the problem, not SDL.framework. So I guess the problem is that SDL_mixer can't find SDL, even though the error says that ohrrpgce_game/custom can't find it. |
Ravancloak told me he tried all three builds back to 2020-07-31. I guess something must have changed to cause the builds that previously worked to break now. And I guess @knemeth (kylekrack) has a copy of SDL.framework (but not SDL2.framework) installed for some reason, so didn't see the error. Can't say I want to spend any more time figuring out who can or can't run which builds, as long as I'm able to reproduce it myself when I have access to a Mac (which is probably at least a week or two away) |
I tested the 64 bit SDL1.2 build on the Mac nightly build VM, and of course it worked, presumably because the frameworks are installed directly there. Then it occured to me that maybe the breakage had something to do with removing the frameworks from ~/Library/Frameworks/ like maybe something was only checking there, and failing to check /Library/Frameworks So I copied all the frameworks to ~/Library/Frameworks/ so now they exist in both places. |
Yes, bundle-apps.sh prefers ~/Library/Frameworks.
Ah! I downloaded and compared ohrrpgce-mac-minimal-x86_64.tar.gz from 20200821 and 20200826 and discovered that 20200826 contains 3 copies of SDL! The duplicate copies of SDL is a separate bug. It might happen that it allows the x86_64 20200826 build to run, but isn't a real solution.
And one of these has been trimmed by bundle-apps.sh to just x86_64 while the other contains both x86 and x86_64. Back to the real problem.
The x86_64 and x86_64-sdl2 builds all point to It's not wrong for these paths to contain |
…h to ld git-svn-id: https://rpg.hamsterrepublic.com/source/wip@11977 7d344553-34f0-0310-a9b1-970ce8f1c3a2
OK, I've made an attempted fix for this based on this that I'm fairly confident will work. |
Currently, 32-bit mac nightlies don't build because of the rpath change, and 64-bit ones don't run because FLAC.framework is missing (because build-apps.sh deletes it - I thought it was runtime loaded by SDL_mixer). Fixing. This is trivia, but I discovered why our builds broke. While browsing the SDL hg repo I found the following change for SDL 1.2.15:
|
…see #1113) git-svn-id: https://rpg.hamsterrepublic.com/source/wip@11979 7d344553-34f0-0310-a9b1-970ce8f1c3a2
At last, the Mac builds seem to work now. |
kylekrack reports that the nightly gfx_sdl2 Mac build (both Game and Custom) doesn't run:
However, the
OHRRPGCE-Game.app/Contents/Frameworks/SDL2.framework/Versions/A/SDL2
file does exist. Maybe the problem is rpath. I don't have the ability to check or fix this until later (need a Mac).Marking as a Fufluns bug since the gfx_sdl2 build was introduced then.
The text was updated successfully, but these errors were encountered: