Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

libgpg-error fails to install on OS X Yosemite Beta 10.10 with Xcode 6.1beta5 #32169

Closed
joshmule opened this issue Sep 8, 2014 · 4 comments
Closed

Comments

@joshmule
Copy link

joshmule commented Sep 8, 2014

Ran brew doctor, no complaints. Then...

Rubicon-MacBookPro:~ jensej$ brew install libgpg-error
==> Downloading ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.13.tar.bz
Already downloaded: /Library/Caches/Homebrew/libgpg-error-1.13.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/libgpg-error/1.13
==> make install
Error: An unexpected error occurred during the brew link step
The formula built, but is not symlinked into /usr/local
No such file or directory - /usr/local/Cellar/libgpg-error/1.12/share/common-lisp
Error: No such file or directory - /usr/local/Cellar/libgpg-error/1.12/share/common-lisp

Rubicon-MacBookPro:~ jensej$ brew --env
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin

Rubicon-MacBookPro:~ jensej$ brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 2d31915
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit haswell
OS X: 10.10-x86_64
Xcode: 6.0 => /Applications/Xcode6-Beta5.app/Contents/Developer
CLT: 6.0.0.0.1.1409104523
Clang: 6.0 build 600
X11: 2.7.6 => /opt/X11
System Ruby: 2.0.0-481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby

@joshmule
Copy link
Author

joshmule commented Sep 8, 2014

Ran brew doctor again, and it says:
...
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run brew link on these:

libgpg-error

So I run brew link:
Rubicon-MacBookPro:~ jensej$ brew link libgpg-error
Linking /usr/local/Cellar/libgpg-error/1.13... Error: No such file or directory - /usr/local/Cellar/libgpg-error/1.12/share/common-lisp

@jacknagel
Copy link
Contributor

try running brew prune first

@joshmule
Copy link
Author

joshmule commented Sep 9, 2014

That worked. Is prune not something that brew doctor could or should suggest?

@jacknagel
Copy link
Contributor

brew doctor will recommend pruning if it finds broken symlinks. However there seems to be a situation that it does not detect, and that the linking code does not handle correctly. I've seen similar errors reported recently, but I've not yet been able to reproduce it locally :/

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants