sqitchers / homebrew-sqitch

Homebrew Formulas for Sqitch
22 stars 10 forks source link

Installation failure #11

Closed KMahoney closed 9 years ago

KMahoney commented 9 years ago
~ $ brew install sqitch_pg
==> Installing sqitch_pg from theory/homebrew-sqitch
==> Installing dependencies for sqitch_pg: sqitch_dependencies, sqitch, openssl, postgresql
==> Installing sqitch_pg dependency: sqitch_dependencies
==> Downloading http://api.metacpan.org/source/DWHEELER/App-Sqitch-0.9991/META.json
Already downloaded: /Library/Caches/Homebrew/sqitch_dependencies-0.9991.json
==> cpanm --local-lib '/usr/local/Cellar/sqitch_dependencies/0.9991' --notest Module::Build
==> cpanm --local-lib '/usr/local/Cellar/sqitch_dependencies/0.9991' --notest Module::Build
==> cpanm --local-lib '/usr/local/Cellar/sqitch_dependencies/0.9991' --notest Class::XSAccessor
==> cpanm --local-lib '/usr/local/Cellar/sqitch_dependencies/0.9991' --notest Pod::Simple
==> cpanm --local-lib '/usr/local/Cellar/sqitch_dependencies/0.9991' --notest Type::Tiny::XS
==> cpanm --local-lib '/usr/local/Cellar/sqitch_dependencies/0.9991' --notest Clone
==> cpanm --local-lib '/usr/local/Cellar/sqitch_dependencies/0.9991' --notest Config::GitLike
! Installing the dependencies failed: Installed version (1.000005) of Moo is not in range '1.004002'
! Bailing out the installation for MooX::Types::MooseLike-0.28.
! Installing the dependencies failed: Module 'MooX::Types::MooseLike' is not installed
! Bailing out the installation for Config-GitLike-1.16.
4 distributions installed

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/theory/homebrew-sqitch/issues
KMahoney commented 9 years ago

Seems to have been resolved somehow.

theory commented 9 years ago

My favorite kind of fix: hands-off! Thanks for the report.

Niels-NTG commented 9 years ago

I'm currently experiencing exactly the same problem. I really want to know how KManhoney fixed it.

KMahoney commented 9 years ago

Unfortunately I have no idea how it fixed itself. Maybe there is some instability in one of the dependencies?

theory commented 9 years ago

Try uninstalling it and reinstalling it. That's how I fixed an old install.

Niels-NTG commented 9 years ago

Yes, I suspect it is something with dependencies. I ended up installing Sqitch via the CPAN package manager, which apparently already was installed on my system. Perhaps it's installed standard with every Mac or every installation of Xcode. Anyways, if this problem with the Homebrew distribution I recommend you try it with one of the other package managers that you may or may not know you have installed on your OS.