sqitchers / homebrew-sqitch

Homebrew Formulas for Sqitch
22 stars 10 forks source link

failed installing sqitch_pg #26

Closed hao-dba closed 6 years ago

hao-dba commented 7 years ago

running: brew install sqitch_pg ........ ==> cpanm --local-lib '/usr/local/Cellar/sqitch_dependencies/0.9995' --notest Time::HiRes Last 15 lines from /Users/userA/Library/Logs/Homebrew/sqitch_dependencies/48.0.9995': 2016-11-17 14:44:07 -0800

cpanm --local-lib '/usr/local/Cellar/sqitch_dependencies/0.9995' --notest Time::HiRes

--> Working on Time::HiRes Fetching http://www.cpan.org/authors/id/J/JH/JHI/Time-HiRes-1.9740.tar.gz ... OK Configuring Time-HiRes-1.9740 ... OK Building Time-HiRes-1.9740 ... ! Installing Time::HiRes failed. See /private/tmp/sqitch_dependencies-20161117-5353-1acjp71/.brew_home/.cpanm/work/1479422647.19323/build.log for details. Retry with --force to force install it. FAIL

theory commented 7 years ago

What's in /private/tmp/sqitch_dependencies-20161117-5353-1acjp71/.brew_home/.cpanm/work/1479422647.19323/build.log?

hao-dba commented 7 years ago

That is also strange. as soon as the error, i tried to cat the build.log by copy and paste, it tells me no such file, here is the what i tried after another run:

--> Working on Time::HiRes Fetching http://www.cpan.org/authors/id/J/JH/JHI/Time-HiRes-1.9740.tar.gz ... OK Configuring Time-HiRes-1.9740 ... OK Building Time-HiRes-1.9740 ... ! Installing Time::HiRes failed. See /private/tmp/sqitch_dependencies-20161117-25539-lmcivo/.brew_home/.cpanm/work/1479426568.39494/build.log for details. Retry with --force to force install it. FAIL

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/theory/homebrew-sqitch/issues

$ cat /private/tmp/sqitch_dependencies-20161117-25539-lmcivo/.brew_home/.cpanm/work/1479426568.39494/build.log cat: /private/tmp/sqitch_dependencies-20161117-25539-lmcivo/.brew_home/.cpanm/work/1479426568.39494/build.log: No such file or directory

kykim commented 7 years ago

I had a similar issue, ran brew install sqitch_pg, got a similar install error, with no log file. Ran brew install sqitch_pg again, and everything appears to have installed.

theory commented 6 years ago

Sometimes I see mysterious failures, but run things again and it works. The new formula released last nigh, for v0.9998, takes a much more brew-ey approach, and bundles all the Perl dependencies Sqitch's Cellar, instead of scatting it all around. That should make things more reliable, in general.