Homebrew-core: Dependancy Issue - ASDF / Homeshick

Created on 31 Dec 2018  路  2Comments  路  Source: Homebrew/homebrew-core

  • [x] are reporting a bug others will be able to reproduce and not asking a question or requesting software. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh. To get software added or changed in Homebrew please file a Pull Request
  • [x] have a problem with brew install (or upgrade, reinstall) a single, official formula (not cask)? If it's a general brew problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
  • [x] ran brew update and can still reproduce the problem?
  • [x] ran brew doctor, fixed all issues and can still reproduce the problem?

  • [x] if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

brew config

HOMEBREW_VERSION: 1.8.6-61-g7246ed3                                                                                                                  
ORIGIN: https://github.com/Homebrew/brew                                                                                                             
HEAD: 7246ed368396df0041a48f3ff79f9ef4f0142b4f                                                                                                       
Last commit: 23 hours ago                                                                                                                            
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core                                                                                           
Core tap HEAD: f36a9902b508abbad2b282faa21d570a8f579511                                                                                              
Core tap last commit: 22 hours ago                                                                                                                   
HOMEBREW_PREFIX: /usr/local                                                                                                                          
HOMEBREW_BREWFILE: /Users/peterlobster/.config/brewfile/Brewfile                                                                                           
HOMEBREW_DEV_CMD_RUN: 1                                                                                                                              
HOMEBREW_LOGS: /Users/peterlobster/Library/Logs/Homebrew                                                                                                   
CPU: dodeca-core 64-bit kabylake                                                                                                                     
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby                                                          
Clang: 10.0 build 1000                                                                                                                               
Git: 2.20.1 => /usr/local/bin/git                                                                                                                    
Curl: 7.54.0 => /usr/bin/curl                                                                                                                        
Java: 11.0.1, 10.0.2, 9, 1.8.0_192                                                                                                                   
macOS: 10.13.6-x86_64                                                                                                                                
CLT: 10.1.0.0.1.1539992718                                                                                                                           
Xcode: 10.1  

brew doctor

brew doctor
Your system is ready to brew. 

To help us debug your issue please explain:

  • What you were trying to do (and why)
    Install ADSF and Homeshick
  • What happened (include command output)
brew install homeshick
==> Installing homeshick                                                                                                                           
==> Downloading https://github.com/andsens/homeshick/archive/v1.1.0.tar.gz                                                                                                                                                                                                                         
Error: The `brew link` step did not complete successfully                                                                                            
The formula built, but is not symlinked into /usr/local                                                                                              
Could not symlink lib/commands/help.sh                                                                                                               
Target /usr/local/lib/commands/help.sh                                                                                                               
is a symlink belonging to asdf. You can unlink it:                                                                                                   
  brew unlink asdf                                                                                                                                   

To force the link and overwrite all conflicting files:                                                                                               
  brew link --overwrite homeshick                                                                                                                    

To list all files that would be deleted:                                                                                                             
  brew link --overwrite --dry-run homeshick                                                                                                          

Possible conflicting files are:                                                                                                                      
/usr/local/lib/commands/help.sh -> /usr/local/Cellar/asdf/0.6.2/lib/commands/help.sh                                                                 
/usr/local/lib/commands/list.sh -> /usr/local/Cellar/asdf/0.6.2/lib/commands/list.sh                                                                 
==> Caveats                                                                                                                                          
To enable the `homeshick cd <CASTLE>` command, you need to                                                                                           
  `export HOMESHICK_DIR=/usr/local/opt/homeshick`                                                                                                    
and                                                                                                                                                  
  `source "/usr/local/opt/homeshick/homeshick.sh"`                                                                                                   
in your $HOME/.bashrc                                                                                                                                

Bash completion has been installed to:                                                                                                               
  /usr/local/etc/bash_completion.d                                                                                                                   

zsh completions have been installed to:                                                                                                              
  /usr/local/share/zsh/site-functions                                                                                                                

fish functions have been installed to:                                                                                                               
  /usr/local/share/fish/vendor_functions.d                                                                                                           
==> Summary                                                                                                                                          
馃嵑  /usr/local/Cellar/homeshick/1.1.0: 24 files, 54.4KB, built in 2 seconds  
  • What you expected to happen
    Installed with no problems
  • Step-by-step reproduction instructions (by running brew install commands)
    brew install adsf
    brew install homeshick
outdated

Most helpful comment

Here's a PR to at least represent the conflict in the formulae: #35902.

All 2 comments

Here's a PR to at least represent the conflict in the formulae: #35902.

That's merged now. Thanks @apjanke for the fix and @peterlobster for reporting!

Was this page helpful?
0 / 5 - 0 ratings