Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Formulas Not Working with OS X 10.10 (List) #29988

Closed
DomT4 opened this issue Jun 9, 2014 · 282 comments
Closed

Formulas Not Working with OS X 10.10 (List) #29988

DomT4 opened this issue Jun 9, 2014 · 282 comments
Labels

Comments

@DomT4
Copy link
Member

DomT4 commented Jun 9, 2014

Thought it'd be perhaps handy to have a list of formulas not working with OS X 10.10 yet.

Errors generated will be linked to where possible. The vast majority of the errors will need to be fixed upstream and should be reported upstream consequently.

Terminology key:

  • DP - Developer Preview.
  • PB - Public Beta.
  • GM - Golden Master.
  • S - Seed.
  • SR1 - Stable Release 1

Still broken:

  • pdf-tools - DP2 to Yosemite SR1.
  • emscripten. - DP3 to Yosemite SR1.
  • fltk - DP1 - Yosemite SR1.
  • neko - ? - Yosemite SR1. Reported Upstream.
  • subversion --universal --java - GM1 - Yosemite SR1
  • valgrind - Unlikely to be fixed in the near future due to upstream's development timetable. The formula will now warn of this.

Were broken, Now functional again:

Brew --config:

➜  ~  brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 9a8f29c778076e09f65aea3ae0b0af4352e8d3a4
Last commit: 66 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.10-x86_64
Xcode: 6.1
CLT: 6.1.0.0.1.1413057044
Clang: 6.0 build 600
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-481
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.1.4/bin/ruby

LAST UPDATED: October 28th 2014, 02:11 GMT.

@adamv adamv added the 10.10 label Jun 9, 2014
@adamv
Copy link
Contributor

adamv commented Jun 9, 2014

bfgminer is not provided by Homebrew.

@DomT4
Copy link
Member Author

DomT4 commented Jun 9, 2014

Aye. It's available under one of the taps. nwoolls/xgminer I believe.

@jarinudom
Copy link

mongodb also has this issue, but I think it's caused by scons during the install.

==> Upgrading mongodb
==> Downloading http://downloads.mongodb.org/src/mongodb-src-r2.6.3.tar.gz
######################################################################## 100.0%
==> /usr/local/opt/scons/bin/scons install --prefix=/usr/local/Cellar/mongodb/2.6.3 -j4 --cc=/usr/bin/clang --cxx=/usr
scons: Reading SConscript files ...
Mkdir(".scons/Darwin/nohost")
usage: scons [OPTION] [TARGET] ...

SCons Error: option --osx-version-min: invalid choice: '10.10' (choose from '10.6', '10.7', '10.8', '10.9')
Error: Homebrew doesn't know what compiler versions ship with your version
of Xcode (6.0). Please `brew update` and if that doesn't help, file
an issue with the output of `brew --config`:
  https://github.com/Homebrew/homebrew/issues

Note that we only track stable, released versions of Xcode.

Thanks!
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: b4c410dd78dd85219dccb829eae427aabeae38b9
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit haswell
OS X: 10.10-x86_64
Xcode: 6.0 => /Applications/Xcode6-Beta.app/Contents/Developer
CLT: 6.0.0.0.1.1401483502
Clang: 6.0 build 600
X11: 2.7.6 => /opt/X11
System Ruby: 2.0.0-451
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/jarinudom/.rubies/ruby-2.0.0-p451/bin/ruby

@adamv
Copy link
Contributor

adamv commented Jun 23, 2014

@jarinudom can you track down if this is an issue in SCons or in MongoDB's specific SCons scripts?

@DomT4
Copy link
Member Author

DomT4 commented Jun 23, 2014

It seems to be MongoDB's specific scripts. Scons as an individual package installs fine on 10.10.

@jarinudom
Copy link

I think it has to do with scons actually running though, not just installing. I'm trying out the gringo formula since it requires scons to build.

@jarinudom
Copy link

brew install gringo worked just fine, so it must be something specific to MongoDB's scons script.

Edit: I haven't looked up how to make a bottle, but it seems like having a Yosemite bottle available would work around that problem.

@DomT4
Copy link
Member Author

DomT4 commented Jun 23, 2014

Bottles are created by the Brew Test Bot, which isn't set up to create Yosemite bottles yet. @MikeMcQuaid handles that I believe. (Homebrew's policy is to not support a new OS until it is released to everyone though).

@keith
Copy link
Contributor

keith commented Jun 28, 2014

I also can't get xapian to this list. This failed for me with brew install notmuch

@cycomachead
Copy link

These are currently giving me all the error, but it may be a config issue and nothing wrong with brew...
Rvm, coffee-script, hubot, hubot-hipchat

(Edit, add error)

$ brew install coffee-script
Error: ERROR: Failed to build gem native extension.

    Permission denied - ./.gem.20140630-60044-1ncnqqd

Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/hitimes-1.2.1 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-14/2.0.0/hitimes-1.2.1/gem_make.out

@searls
Copy link

searls commented Jul 1, 2014

You can add postgresql to the list

@LinusU
Copy link
Contributor

LinusU commented Jul 3, 2014

@DomT4 Could you add phantomjs to the list please?

Also, regarding mongo-db: --osx-version-min is a build flag to tell mongodb which api it can assume is available. The formula takes that from the current os x version and passes 10.10 to mongodb, which does not know about this version and therefor exits.

I have posted a workaround here: http://stackoverflow.com/a/24206768/148072
Track the status on mongodb here: https://jira.mongodb.org/browse/SERVER-14204

@DomT4
Copy link
Member Author

DomT4 commented Jul 3, 2014

Okay, I've updated the list. I wasn't quite expecting this to generate the traffic it has, but I'm happy to maintain the list if it's helpful. I've removed things that only exist in Homebrew taps & added a last updated date & time for clarity.

@rizwanreza
Copy link

FWIW, those who wish to use Postgres in Yosemite can use this instead until it can be rebuilt: http://postgresapp.com/

@DomT4
Copy link
Member Author

DomT4 commented Jul 9, 2014

List updated, and wording modified for clarity.

@MatthewCallis
Copy link
Contributor

emscripten fails to build 10.10 DP3.

closure-compiler also fails to build 10.10 DP3 and is noted.

brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 9f2190bcf95ba5eba60d364b8bc4667e1e564b48
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.10-x86_64
Xcode: 5.1.1
CLT: 6.0.0.0.1.1404410606
Clang: 5.1 build 503
X11: 2.7.6 => /opt/X11
System Ruby: 2.0.0-481
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/matthew/.rbenv/shims/ruby

@smockle
Copy link

smockle commented Jul 14, 2014

optipng also fails to build on 10.10 DP3.

@laplacesdemon
Copy link

Python, too fails because of NSExtensionProvider. And above solution works.

@adamv
Copy link
Contributor

adamv commented Jul 19, 2014

@Keithbsmiley Please don't suggest editing system files.

This may create unexpected behavior later on.

Indeed.

@DomT4
Copy link
Member Author

DomT4 commented Jul 19, 2014

Which python? I have both installed on my 10.10 system without any obvious issues. I'm kind of not down with the idea of recommending folks change system files to fix formulas, so I don't want to suggest that in my original post.

All kinds of problems can roll with changing system files, particularly this early into the DP release schedule.

@LinusU
Copy link
Contributor

LinusU commented Jul 22, 2014

I tried pouring some bottles from Mavericks and it seems to be working fine. I wouldn't recommend this but if you really need to install something it might be worth a shot.

e.g. for installing rrdtool:

wget https://downloads.sf.net/project/machomebrew/Bottles/gobject-introspection-1.40.0.mavericks.bottle.tar.gz
wget https://downloads.sf.net/project/machomebrew/Bottles/python-2.7.8.mavericks.bottle.tar.gz
wget https://downloads.sf.net/project/machomebrew/Bottles/pango-1.36.5.mavericks.bottle.tar.gz

brew install gobject-introspection-1.40.0.mavericks.bottle.tar.gz
brew install python-2.7.8.mavericks.bottle.tar.gz
brew install pango-1.36.5.mavericks.bottle.tar.gz

brew install rrdtool

@LinusU
Copy link
Contributor

LinusU commented Jul 22, 2014

The following formulas fails on DP4

  • gobject-introspection 1.40.0
  • python 2.7.8
  • pango 1.36.5

@mistydemeo
Copy link
Member

I've seen reports that gcc/gcc49 works in the latest DP - can anyone test?

@keith
Copy link
Contributor

keith commented Jul 22, 2014

@adamv obviously this should only be done if you understand the consequences. But like @laplacesdemon said this also affects python and some of us need this to work before upstream gets patched.

@tdsmith
Copy link
Contributor

tdsmith commented Oct 19, 2014

@ChrisBuchholz Python has been bottled for Yosemite now so brew reinstall python should give you a useful python. Please open a new issue with the output of brew gist-logs python if you'd like to diagnose building from source.

@ChrisBuchholz
Copy link

@tdsmith: Yes, that fixed it. Thank you!

@HectorMalot
Copy link

@DomT4 My bad, gnupg seems to work. I get this when trying to install gnupg2 (fails on gpg-agent):

~$ brew install gnupg2
==> Installing dependencies for gnupg2: gpg-agent, dirmngr, libusb, libusb-co
==> Installing gnupg2 dependency: gpg-agent
==> Downloading ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gpg-agent-2.0.26.tar.bz2
==> Patching
patching file configure
==> ./configure --prefix=/usr/local/Cellar/gpg-agent/2.0.26 --enable-agent-only --wi
==> make install
          ^
1 error generated.
make[2]: *** [allocsa.o] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1

Running Xcode 6.0.1

Brew doctor gives me the following:

  1. Warning: "config" scripts exist outside your system or Homebrew directories.
  2. Warning: Your XQuartz (2.7.5) is outdated
  3. Warning: Your Xcode (6.0.1) is outdated (However, there is no 6.1 in the app store yet)

Any ideas?

@DomT4
Copy link
Member Author

DomT4 commented Oct 19, 2014

  1. Warning: Your Xcode (6.0.1) is outdated

It'll be this very probably. Anything that compiles on Yosemite using Xcode 6.0.1 is almost pure luck, because Xcode 6.0.1 doesn't contain the 10.10 SDK. We're not really sure what the upstream holdout is on Xcode 6.1, but it's frustrating. For now, if you so desire, you can obtain the 6.1 .dmg from here and then clicking through to "Additional Downloads".

@koenpunt
Copy link

See the developer download portal for 6.1: https://developer.apple.com/downloads/index.action?name=Xcode

scr34m added a commit to scr34m/homebrew that referenced this issue Oct 19, 2014
Fixes Homebrew#29988 and Homebrew#33093

Tested with tiger-vnc which is used by fltk
This was referenced Oct 19, 2014
@HectorMalot
Copy link

Thanks, 6.0.1 was indeed the culprit. Thanks for the help.

@zanziibar
Copy link

Hi all,

Not sure if it's relevant to this thread, but since I upgraded to OS X Yosemite, I get the following when trying to install mysql with homebrew :

$ brew install mysql
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.6.2
Already downloaded: /Library/Caches/Homebrew/mysql-5.6.21.yosemite.bottle.tar.gz
==> Pouring mysql-5.6.21.yosemite.bottle.tar.gz
==> Caveats
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.

To connect:
    mysql -uroot

To have launchd start mysql at login:
    ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
Then to load mysql now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Or, if you don't want/need launchctl, you can just run:
    mysql.server start
==> /usr/local/Cellar/mysql/5.6.21/bin/mysql_install_db --verbose --user=Antoine
Installing MySQL system tables...Unknown suffix '.' used for variable 'server_id' (value '127.0.0.1')
2014-10-20 13:12:42 0 [ERROR] /usr/local/Cellar/mysql/5.6.21/bin/mysqld: Error while setting value '127.0.0.1' to 'server_id'
2014-10-20 13:12:42 0 [ERROR] Aborting

2014-10-20 13:12:42 0 [Note] Binlog end
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall mysql`
==> Summary
🍺  /usr/local/Cellar/mysql/5.6.21: 9621 files, 339M

Have heard about such issue ?

@ef2k
Copy link

ef2k commented Oct 21, 2014

Updated to Yosemite and looks like mariadb breaks on cmake:

==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mariadb/10.0.14 -D


-- Configuring incomplete, errors occurred!
See also "/tmp/mariadb-O2s3MM/mariadb-10.0.14/CMakeFiles/CMakeOutput.log".
See also "/tmp/mariadb-O2s3MM/mariadb-10.0.14/CMakeFiles/CMakeError.log".

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

These open issues may also help:
Packages with --with-mysql option not satisfied by mariadb (https://github.com/Homebrew/homebrew/issues/32973)
mariadb: missing /usr/local/etc/my.cnf.d, removed by brew prune (https://github.com/Homebrew/homebrew/issues/31760)

@jacknagel
Copy link
Contributor

Update to Xcode 6.1. If you've already done that, then please follow the troubleshooting instructions and open a new issue.

@ef2k
Copy link

ef2k commented Oct 21, 2014

Worked. Thanks for the tip.

@GhostValk
Copy link

osxfuse no longer works; can't be built in yosemite due to the kext signs. problem..

Also, deactivating sig. check for all kexts is not working with osxfuse (or maybe only for me?); any other workaround?

@DomT4
Copy link
Member Author

DomT4 commented Oct 24, 2014

Also, deactivating sig. check for all kexts is not working with osxfuse (or maybe only for me?)

You'd need to reboot after you disabled that check, if you haven't already.

any other workaround?

Download and use the binary instead. Homebrew now support the osxfuse binary being used for builds.

@GhostValk
Copy link

Yeah, same result after rebooting.. i was trying to avoid the prebuilt binary but i think it's the only way, thanks!

@CrockCity
Copy link

PhantomJS now works. Version 1.9.8.

@DomT4
Copy link
Member Author

DomT4 commented Oct 28, 2014

Thanks for reminding me, I've pruned it further down the list and given the list a general tidy. We're down to very few formulae that are still broken, and given people are now creating new 10.10 issues on a daily basis I'm going to close this out here. People can still find the thread easily enough for reference, but it's usefulness as an active tool has passed.

Thanks to all for contributing and helping whittle down the errors over the last few months. The transition into Yosemite for Homebrew was almost smooth... ish 😉.

@DomT4 DomT4 closed this as completed Oct 28, 2014
@MikeMcQuaid
Copy link
Member

Thanks to all for contributing and helping whittle down the errors over the last few months. The transition into Yosemite for Homebrew was almost smooth... ish .

Thanks in no small part to yourself. Great work here @DomT4.

@DomT4
Copy link
Member Author

DomT4 commented Oct 28, 2014

Thanks @MikeMcQuaid, and Thanks for all the help along the way. Have encountered many a problem I couldn't have hopped over without the considerable help of yourself and the other maintainers.

@victusfate
Copy link

just ran into an issue on 10.10 where linking to cairo came up empty.
ld couldn't find -lcairo, but I could plainly see the libcairo.dydl in /usr/local/lib
hmm pkg-config worked with specific path to lib, also this would work as well
-L/usr/local/lib -lcairo

manually entering that in config files where needed

Trying a full earth scorching reinstall of homebrew and all packages on my desktop/laptop to see if that shakes it out.

@Echelon9
Copy link

Whilst it may have been the case in past OS X release cycles that Valgrind took a period of time before achieving reasonable feature support, basic OS X 10.10 support is already available in Valgrind trunk due to significant work on pre-release Yosemite.

From the mailing list:

"There has been some effort recently to improve Valgrind's support for Yosemite. If you develop on Mac OS, you might like to try out the trunk (svn co svn://svn.valgrind.org/valgrind/trunk) and report any breakage you get. Support for Yosemite is good enough that at least one large graphical
application (Firefox) runs OK. Support for the previous release, 10.9 (Mavericks), is also
substantially improved.

Note that the work has targetted 64 bit processes only. 32 bit might work, and probably better on
Mavericks, but I suspect it will be increasingly problematic on Yosemite due to Valgrind's 32 bit x86 instruction set support not having progressed passed SSSE3."

Julian Seward
http://sourceforge.net/p/valgrind/mailman/message/33047840/

Full disclosure: I'm one of the new Valgrind developers who contributed patches to support OS X 10.10

@DomT4
Copy link
Member Author

DomT4 commented Nov 20, 2014

@Echelon9 Fixed the formula to allow >Mavericks users to try the trunk in #34331.

jacknagel pushed a commit that referenced this issue Nov 21, 2014
Lets Valgrind users try the head on Yosemite and above. Fixes [this
comment](#29988 (comment)
63743711).

Closes #34331.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
@skull-squadron
Copy link
Contributor

Will have to test brew install valgrind --HEAD @ de9b8dc ( Thanks to @jacknagel, @franklouwers and others. )

@Homebrew Homebrew locked and limited conversation to collaborators Nov 30, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.