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

Unable to install player using linuxbrew #167

Closed
Scalpel78 opened this issue Dec 10, 2016 · 6 comments
Closed

Unable to install player using linuxbrew #167

Scalpel78 opened this issue Dec 10, 2016 · 6 comments

Comments

@Scalpel78
Copy link

Hi, I'm having trouble installing player using brew.

Found a link you've put up on the player-support site that pointed to a brew player.rb file here.

On Ubuntu 16.04 I've done:

sudo apt-get install linuxbrew-wrapper
brew
brew tap osrf/simulation
brew install player --HEAD

but then it crashes with this:

==> Installing player from osrf/simulation
Error: undefined method `rebuild' for #<BottleSpecification:0x000000013af100>
Please report this bug:
    https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
/home/frode/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/curl.rb:9:in `block in <class:Curl>'
/home/frode/.linuxbrew/Library/Homebrew/software_spec.rb:91:in `instance_eval'
/home/frode/.linuxbrew/Library/Homebrew/software_spec.rb:91:in `bottle'
/home/frode/.linuxbrew/Library/Homebrew/formula.rb:1729:in `bottle'
/home/frode/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/curl.rb:7:in `<class:Curl>'
/home/frode/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/curl.rb:1:in `load_formula'
/home/frode/.linuxbrew/Library/Homebrew/formulary.rb:21:in `module_eval'
/home/frode/.linuxbrew/Library/Homebrew/formulary.rb:21:in `load_formula'
/home/frode/.linuxbrew/Library/Homebrew/formulary.rb:34:in `load_formula_from_path'
/home/frode/.linuxbrew/Library/Homebrew/formulary.rb:83:in `load_file'
/home/frode/.linuxbrew/Library/Homebrew/formulary.rb:74:in `klass'
/home/frode/.linuxbrew/Library/Homebrew/formulary.rb:70:in `get_formula'
/home/frode/.linuxbrew/Library/Homebrew/formulary.rb:207:in `factory'
/home/frode/.linuxbrew/Library/Homebrew/dependency.rb:32:in `to_formula'
/home/frode/.linuxbrew/Library/Homebrew/dependency.rb:93:in `block in expand'
/home/frode/.linuxbrew/Library/Homebrew/dependencies.rb:9:in `each'
/home/frode/.linuxbrew/Library/Homebrew/dependencies.rb:9:in `each'
/home/frode/.linuxbrew/Library/Homebrew/dependency.rb:80:in `expand'
/home/frode/.linuxbrew/Library/Homebrew/dependency.rb:93:in `block in expand'
/home/frode/.linuxbrew/Library/Homebrew/dependencies.rb:9:in `each'
/home/frode/.linuxbrew/Library/Homebrew/dependencies.rb:9:in `each'
/home/frode/.linuxbrew/Library/Homebrew/dependency.rb:80:in `expand'
/home/frode/.linuxbrew/Library/Homebrew/formula.rb:1223:in `recursive_dependencies'
/home/frode/.linuxbrew/Library/Homebrew/requirement.rb:196:in `expand'
/home/frode/.linuxbrew/Library/Homebrew/formula.rb:1229:in `recursive_requirements'
/home/frode/.linuxbrew/Library/Homebrew/formula_installer.rb:313:in `expand_requirements'
/home/frode/.linuxbrew/Library/Homebrew/formula_installer.rb:263:in `compute_dependencies'
/home/frode/.linuxbrew/Library/Homebrew/formula_installer.rb:130:in `verify_deps_exist'
/home/frode/.linuxbrew/Library/Homebrew/formula_installer.rb:123:in `prelude'
/home/frode/.linuxbrew/Library/Homebrew/cmd/install.rb:231:in `install_formula'
/home/frode/.linuxbrew/Library/Homebrew/cmd/install.rb:93:in `block in install'
/home/frode/.linuxbrew/Library/Homebrew/cmd/install.rb:93:in `each'
/home/frode/.linuxbrew/Library/Homebrew/cmd/install.rb:93:in `install'
/home/frode/.linuxbrew/Library/brew.rb:84:in `<main>'

I haven't used brew before, so it might be something basic I'm doing wrong?

@scpeters
Copy link
Member

If you're using Ubuntu, you could just install robot-player-dev

@Scalpel78
Copy link
Author

It seems like that package is only for Trusty, which is Ubuntu 14.04. If I try on Ubuntu 16.04 I get these:

frode@xenialxerus:~$ sudo apt-get install robot-player-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package robot-player-dev

and

frode@xenialxerus:~$ sudo apt-get install robot-player
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package robot-player is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'robot-player' has no installation candidate

Is there a way to force an older package onto Ubuntu 16.04?

@scpeters
Copy link
Member

@j-rivero do you know why the Player package isn't available on Ubuntu Xenial? I can't remember if there was a ticket about it.

@j-rivero
Copy link
Collaborator

@j-rivero do you know why the Player package isn't available on Ubuntu Xenial? I can't remember if there was a ticket about it.

Debain removed it some time ago, It needed a good bunch of upstream (missing) patches and fixes to fulfill the debian QA policy.

@scpeters
Copy link
Member

@Scalpel78 it sounds like it is not being actively maintained and is missing some patches.

@scpeters scpeters changed the title Unable to install player using brew Unable to install player using linuxbrew Dec 14, 2016
@Scalpel78
Copy link
Author

Yes, I noticed that as well, so I've decided to ditch Player, and instead go for STDR or Gazebo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants