-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
macOS 10.12 and Xcode 8.0 broken formulae #1957
Comments
I'd like to suggest we actively disable Qt on 10.12. There will be no way in hell upstream will officially support it and we're in the process of trying to kill it anyway. |
Agreed. That does effectively set a hard deadline on migrating across as much stuff to |
@DomT4 I have xcode7 installed I also have xcode-beta (xcode8) installed |
@jeregrine You probably need to |
since this appears to be a general issue thread, i'll just add to it: GHC fails to build, erroring with this:
Just a hunch, but maybe some includes aren't being included properly, and some types aren't defined properly. Did a gist-logs: https://gist.github.com/anonymous/2e04db4167fd75d8b9104be5a0b0c65e |
@zhiayang Looks like the actual error came slightly earlier in the output:
|
I can repro; looking into it. |
|
I see what's wrong with GHC. This is an upstream bug, I'll submit a patch upstream. Sierra introduces The #ifdef darwin_HOST_OS
static uint64_t timer_scaling_factor_numer = 0;
static uint64_t timer_scaling_factor_denom = 0;
#endif
void initializeTimer()
{
#ifdef darwin_HOST_OS
mach_timebase_info_data_t info;
(void) mach_timebase_info(&info);
timer_scaling_factor_numer = (uint64_t)info.numer;
timer_scaling_factor_denom = (uint64_t)info.denom;
#endif
} However, everywhere else that uses time functions guards against both #ifdef HAVE_CLOCK_GETTIME
# ifdef _POSIX_MONOTONIC_CLOCK
# define CLOCK_ID CLOCK_MONOTONIC
# else
# define CLOCK_ID CLOCK_REALTIME
# endif
#elif defined(darwin_HOST_OS)
# include <mach/mach.h>
# include <mach/mach_time.h>
#endif e.g., the |
Ah, thank you @mistydemeo. seems weird apple adds POSIX compliance somewhere, then breaks it elsewhere (read: nm issues over with ghc people) Also another broken package:
Appears something in libcxx broke. Worked in 10.11, obviously. Gist is here: Again not that urgent, because it turns out llvm38 installs, so I have something else to use. |
libgcrypt builds with optimization turned off. Something's clearly different about clang 8.0, wonder if the bug's on the clang side. EDIT: also builds |
|
Feel free to edit my original post to add/remove to/from the list as desired Misty, and other maintainers. |
After getting through haskell-stack's dependencies by retrying a few times, stack itself fails with an interesting error:
|
@DomT4 wxmac 3.1.0 (the |
GTK+3 fails trying to find CUPS: https://gist.github.com/fa1be8e62572fcfa2c4ea1b6ecc8ff29
I'm guessing it may be a regex bug, since CUPS on El Cap is 1.6 whereas CUPS on Sierra is 2.2. |
The CUPS issue is known, Macports carries a patch: https://trac.macports.org/browser/trunk/dports/gnome/gtk3/files/cups.patch Doesn't look like it was reported upstream though. |
@mistydemeo You are magical; thank you for hunting a bunch of these down. |
perl is broken: https://gist.github.com/mistydemeo/37cb3474a09c51b7356683a31b41352b
Looks like a |
Yup: #if defined(PERL_DARWIN)
# ifdef USE_ITHREADS
MUTEX_INIT(&darwin_time_mutex);
# endif
#endif As with GHC, the code that defines the struct is guarded by an |
|
same GHC panic attempting to build git-annex 🙈 stack itself is off the hook. |
Looks like we'll have to do the unavoidable: rebuild GHC, possibly a dozen times. |
upstream GHC is looking into it as well since Stack has been ruled out as the cause. so splendid: https://gist.github.com/ilovezfs/67795d2df41f74fc25f448d48600671d |
GHC just won the annual best fatal error message award:
|
Not sure if there's any more value in spamming this issue, but
|
Rather interesting:
|
|
|
|
Is this is a problem of Xcode? System: OS X EI Captian 10.11.6 `brew install wine --devel READ THIS: https://git.io/brew-troubleshooting |
@lightsing Please follow https://git.io/brew-troubleshooting and post your gist-logs. |
Indeed. I've been trying to get up to speed on the python/sqlite3 problem for days, off and on. This issue came up in my search and seemed to be my most promising lead toward finding a solution or workaround. I'm running GM everything. I'd eventually resorted to nuking As it turns out, @zmwangx provided a vital clue above but I'd missed it so I'll be explicit for drive-by readers like me: the CLI tools are no longer considered optional or equivalent to the Xcode app. Once I used |
Ah, that might also explain why it works for me. I have no need for the full Xcode so I generally only |
Actually |
It might be worth noting that EDIT: |
Off topic, but this bodes well for my analog video capture device, which is based on an Empia 28xx chipset, and is only supported by a QuickTime extension that was relicensed from echofx.com by Geniatech and company. I suppose maybe one of them will get off their dead butt and make an AVFoundation driver, if they ever realize that 10.9 is no longer new. |
|
Turns out that I have reported this nugget upstream also. |
I am having Qt problem while I am trying to install
|
I think this issue is too long right now and approaching worthlessness because the top post hasn't been updated (not OP's fault). @DomT4 What about we lock this and let people open individual reports going forward? |
Aye. This served its purpose well, and I appreciate everyone's contributions and journey with us through 10.12/Xcode 8 being prerelease but let's shuffle things off into individual issues at this point as we have in previous years. |
Please don't try to use Xcode 7 on 10.12. Compiling almost anything will fail in fun ways. Install the Xcode 8 beta or the 8.x CLT package & ensure you've pointed
sudo xcode-select --switch
at either one.Like Christmas, once a year a new operating system for Macs swings around... and like Christmas a bunch of toys get broken accidentally. This year's broken toys include:
Broken:
Qt
: https://gist.github.com/anonymous/e19027178831fd17d2e17a9bf65ead02 - Fails to find a header, which does still exist on 10.12, so a bit puzzling. We're migrating things to Qt5 any way, so Qt may not be supported by us on 10.12.haskell-stack
: https://gist.github.com/8e005710eab17139c02267bac3029e33 - Confusing compiler error. Upstream report: https://ghc.haskell.org/trac/ghc/ticket/12198guile
: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23870 - moreclock_gettime
fun.Upstream/Homebrew 10.12 support hacks:
libgcrypt
: https://gist.github.com/anonymous/5a60bffda24503a6f478c0c6baa2594a -make check
dies, we saw something similar when El Cap came out so not a big surprise. Hacked a solution in 8311571 temporarily.wxmac
: wxmac fails to build on OSX 10.12 #1996, https://gist.github.com/anonymous/5d22977c76e44ffd920a99ba0ec061ec ---devel
works, patch is too big to backport to stable.Resolved:
perl
: https://gist.github.com/mistydemeo/37cb3474a09c51b7356683a31b41352b - Looks like another time bug. Has been patched in the formula.tor
: https://gist.github.com/mistydemeo/6bc4f2fc724ee0c2b9ba86205c431aef - Another time-related bug, assumes another function is available ifclock_gettime
is. Upstream patch was merged into latest release.libevent
: libevent: [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0 #2869 - Marked fixed by upstream & patch backported to formula.go
- Fixed by Go 1.7's release.Just so people are aware: Comments highlighting issues that turn out not to be actual formulae issues, i.e. user configuration problems, will be chopped after a couple of days to keep this thread from getting drowned.
The text was updated successfully, but these errors were encountered: