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

Having trouble building for macos when attempting to install freetype with homebrew. #95

Open
dGr8LookinSparky opened this issue Mar 20, 2019 · 6 comments
Labels

Comments

@dGr8LookinSparky
Copy link

Details for the failed build:
https://travis-ci.org/GrangerHub/tremulous/jobs/508707032

@cengique
Copy link
Member

@dGr8LookinSparky it looks like the main error is that Darwin/XCode is outdated and no longer supported. So it may have nothing to do with what you did. Did you try upgrading the Target: x86_64-apple-darwin15.6.0 to something newer?

@cengique
Copy link
Member

@dGr8LookinSparky you may want to change .travis.yml to have the line osx_image: xcode10.1 based on the most recent MacOS environment info on TravisCI.

@dGr8LookinSparky
Copy link
Author

I was thinking of increasing the version requirements for macos, although I would want to do that minimally so as to not drop support for various older versions of macos if/when we don't have to. I may try increasing the version one increment at a time until it works again. Although another option might be to use an older version of homebrew, or an alternative that supports older macos, but that might not be a good approach for the long term, and the best way to go might just be to raise the version only as much as it has to.

@wtfbbqhax
Copy link
Member

You can probably just disable freetype in the build. Freetype fonts are never used in the rendering, it's only a feature for generating the static font bitmap files from a freetype font.

@dGr8LookinSparky
Copy link
Author

hmm, it looks like freetype is already disabled for macos builds by travis:

https://github.com/GrangerHub/tremulous/blob/server-browser-duplicates/misc/travis-ci-build.sh#L8

@dGr8LookinSparky
Copy link
Author

It looks like just removing the installation of freetype and homebrew for macos did the trick, thanks @wtfbbqhax :) ! When you get a chance, could you test the macos build on the server-browser-duplicates branch? I have a few new features on that branch, like getting rid of multiprotocol server duplicates in the server browser, and fixing the demo playback.

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

No branches or pull requests

3 participants