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
premake does not build on macOS 10.14 (Mojave) #1154
Comments
Showed up during Homebrew testing: Homebrew/homebrew-core#28817 |
Thanks for reporting this, is the issue that the 10.4 version isn't available, or that |
With Xcode 10 (on High Sierra and Mojave), |
I don't fully understand what the minimum version does on macOS, will letting it target the current version result in the binaries not running on earlier versions of macOS? Or does the minimum version just us from using certain APIs? |
Yes, binaries built without will only run on later macOS versions. |
I'm not sure that we want to remove the minimum version if that's the case. Ideally, Premake wouldn't force users to update their OS to the latest version just to run. |
Most software has no
Right now, build is simply broken on macOS 10.13 and 10.14, which is 90% of macOS users. |
I think we should remove the osx min version from our Premake script and add the define to our release process. This way, you can target whichever osx version you want when you clone and our prebuilt binaries works the same. From the log posted in the first message, the issue seems to be with Premake4. Also, do we know who own the package? Or does it clone the repo then build? |
Hello, commit 5f57b5d removed the hardcoded value, but left it in premake4.lua, and did not change the packaging scripts. Was it a thoughtful decision regarding this issue? The change doesn't look like matching the ideal plan laid out in comments above. We are currently hitting the bug because we are still on alpha 10, and we would like to make sure the issue is properly fixed before going through a premake upgrade. Thank you very much! |
@fxcoudert I completely misread this issue initially, and I apologise for that. The snippet you've provided says Premake4, which hasn't been updated in over three years (as Premake5 is the new version), I would strongly recommend updating the package to use Premake5 instead. The commit that @na-Itms refers to happened last year and removed the minimum version which I assume resolves the problem you were experiencing? Please feel free to reach out for any help in updating! @na-Itms The @tdesveauxPKFX @starkos @TurkeyMan @tvandijck I'm thinking that it's time we remove the |
Sorry, I was referring to this phrase by @tdesveauxPKFX:
Basically I was pointing out that the min version was removed but the commit didn't add any define in any place. I assumed your release process was carried out using packaging scripts in which defines could be added.
We are currently in the latest stages of releasing a new version, so we will only make minimal modifications and apply commit 5f57b5d to our alpha10 copy. We will then upgrade premake ASAP. I will be sure to contact you in case we need some help 👍 |
…make5 alpha10. After the re-release of A23, premake5 will be updated to the latest alpha version, which includes this change. This allows to build premake on macOS Mojave. See premake/premake-core#1154. Differential Revision: https://code.wildfiregames.com/D1669 Based on patch by: trompetin17 git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@21941 3db68df2-c116-0410-a063-a993310a9797
I believe this has since been resolved, so I'm going to mark it closed. Feel free to comment if issues are still being encountered. |
premake does not build on macOS 10.14 (Mojave) because it contains numerous references to
-mmacosx-version-min=10.4
as compiler flag… which is now unsupported. The error message is:The text was updated successfully, but these errors were encountered: