This repository has been archived by the owner. It is now read-only.

CompilerSelectionError recommends wrong package #31068

Closed
rillian opened this Issue Jul 23, 2014 · 1 comment

Comments

Projects
None yet
4 participants
@rillian
Contributor

rillian commented Jul 23, 2014

homebrew-science/blast.rb has

fails_with :clang
fails_with :gcc => "4.9"

If gcc 4.9 is (or isn't) installed, it correctly says it cannot build, but CompilerSelectionError just prints the static string:

To install this formula, you may need to:
brew install gcc

If one follows the directions and tries brew install gcc it installs 4.9, which is the current version. Trying to install blast again results exactly the same error and confusion.

The exception should propagate information about the best packaged option an recommend something like brew tap homebrew/versions && brew install gcc48.

@MikeMcQuaid

This comment has been minimized.

Show comment Hide comment
@MikeMcQuaid

MikeMcQuaid Aug 10, 2016

Owner

This should be improved. We'll accept PRs for this but we're not actively working on it at this time.

Owner

MikeMcQuaid commented Aug 10, 2016

This should be improved. We'll accept PRs for this but we're not actively working on it at this time.

@MikeMcQuaid MikeMcQuaid locked and limited conversation to collaborators Aug 18, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.