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

root compilation fails after update to Xcode and Command Line Tools Version 9.0 #18388

Closed
5 tasks done
matthewkenzie opened this issue Sep 21, 2017 · 10 comments
Closed
5 tasks done
Labels
upstream issue An upstream issue report is needed

Comments

@matthewkenzie
Copy link

matthewkenzie commented Sep 21, 2017

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

Please always follow these steps:

  • Confirmed this is a problem with brew installing one, specific Homebrew/homebrew-core formula (not cask or tap) and not every time you run brew? If it's a general brew problem please file this issue at https://github.com/Homebrew/brew/issues/new. If it's a brew cask problem please file this issue at https://github.com/Homebrew/caskroom/homebrew-cask/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed all issues and retried your prior step?
  • Ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • If brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

  • What you were trying to do (and why)
  • What happened (include command output)
  • What you expected to happen
  • Step-by-step reproduction instructions (by running brew install commands)

  • Trying to install HEAD version of root (from homebrew-core) on MacOS 10.12.6 after (perhaps foolishly) updating Xcode and Command Line Tools to Version 9.0

  • Build fails but not sure why

  • I expected it to build ok

  • I was running brew install -vd root --HEAD

  • General brew commands work fine

  • I ran brew update twice

  • I ran brew doctor (no issue - i.e. got "Your system is ready to brew.")

  • the output of brew gist-logs root can be found here: https://gist.github.com/matthewkenzie/62e1869316d36d1da235daa445c4875d

@soleti
Copy link

soleti commented Sep 26, 2017

Applying these two patches

should fix your problem. However, I get several errors like this (Complete gist available here: https://gist.github.com/soleti/fb9f29b969fdc047c9ef7e026ccae276)

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:313:9: error: no member named 'signbit' in the global namespace
using ::signbit;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:314:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
      ~~^```

@ilovezfs
Copy link
Contributor

Please report this upstream.

@ilovezfs ilovezfs added the upstream issue An upstream issue report is needed label Sep 26, 2017
@ilovezfs
Copy link
Contributor

@soleti did you apply root-project/root@9339de9 yet

@soleti
Copy link

soleti commented Sep 26, 2017

Yes, sorry, forgot to mention it. My issue seems related to some problems with <cmath>. Apparently it does not put ::signbit in the standard namespace

@ilovezfs
Copy link
Contributor

Definitely report it upstream since they're probably thinking about cutting a release soon.

@ilovezfs
Copy link
Contributor

Closing this out as it's an upstream issue.

@ilovezfs
Copy link
Contributor

ilovezfs commented Oct 1, 2017

This is now fixed if you brew update and brew upgrade

@abhih1
Copy link

abhih1 commented Nov 29, 2017

@soleti even I'm getting an error related to cmath. I tried brew update and brew upgrade, but to no avail.
I'm using Xcode 9.1 and root 6.09/01 on macos high sierra.
Any help please?!

@lozelin
Copy link

lozelin commented Jan 25, 2018

@abhih1 I am also having an error related to cmath.

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:313:9: error: no member named 'signbit' in the global namespace
138 using ::signbit
And so on...

Was there any solution to this issue?

@abhih1
Copy link

abhih1 commented Jan 25, 2018

@lozelin I fixed mine by reinstalling root to the latest version, to be compatible with the new Xcode update.
Good luck!

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
upstream issue An upstream issue report is needed
Projects
None yet
Development

No branches or pull requests

5 participants