Closed chdiza closed 6 years ago
It will build outside of Homebrew, though. The only odd thing I see there are tons of warnings like this, which are also appearing all over the place as of Xcode 10/CLT:
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
It won't build on Mojave, for the same reason: the Makefile is passing -mmacosx-version-min=10.5 -arch i386
everywhere, both of which are deprecated with Xcode 10/Mojave.
We can report it upstream, but given this is a project that has been dead since 2014 :(
I've written a pull request for upstream: https://github.com/ali-rantakari/icalBuddy/pull/21 I don't expect them to pick it up, since the project is not active. It could, however, be used as a patch to get icalBuddy building in Homebrew again. @chdiza a pull request would be very welcome!
It won't build on Mojave, for the same reason: the Makefile is passing
-mmacosx-version-min=10.5 -arch i386
everywhere, both of which are deprecated with Xcode 10/Mojave.
@fxcoudert I thought https://github.com/Homebrew/brew/pull/4810 should have handled that. Did it not?
So did I… I have to look into it, apparently it's not as effective as I thought. Same issue here, actually: https://github.com/Homebrew/homebrew-core/pull/32196#issuecomment-422741599
both of which are deprecated with Xcode 10/Mojave
But then why does it build outside of Homebrew? This is weird!
On my Mojave machine, with Xcode 10, it fails to build outside of Homebrew.
OK, why does it build outside of Homebrew on 10.13.6?
I don't know.
The fact that it builds outside HB on 10.13.6, but not in HB, suggests that HB is maybe doing something weird.
Also, I'm not sure #4810 is relevant to a high sierra build failure, since (AFAICT) it only has an effect on Mojave.
The clang toolchain in Xcode 10 on High Sierra (the so-called CLT) still supports the old features (32 bit binaries, libgcc_s, etc.) but not the SDK. Which explains why some installs may work or not, depending on how they are set up and what combination of Xcode/CLT you have installed.
On my machine (High Sierra with Xcode 10 and the Xcode 10 CLT), this issue was fixed by:
commit 481ffcf4e105916a2a24c44d5f28c8dff39bcfd2
Author: FX Coudert <fxcoudert@gmail.com>
Date: Wed Sep 19 22:39:33 2018 +0200
super/cc: bump -mmacosx-version-min on High Sierra and later
brew install
(orupgrade
,reinstall
) a single, official formula (not cask)? If it's a generalbrew
problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?ical-buddy
won't build from source on 10.13.6 when using the newly-released Xcode 10/CLT.Here is the error:
Doctor (I know about the shellvar warning, but the report is about building from source, and I tested it without it set anyway and it makes no difference):
Config:
Logs:
01.make 01.make.cc