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

lxc recipe does not install any lxc headers like lxc/lxccontainer.h #5326

Closed
ssbarnea opened this issue Nov 16, 2018 · 1 comment
Closed
Labels
outdated PR was locked due to age

Comments

@ssbarnea
Copy link

I needed lxc in order to be able to install python module lxc-python2 but while brew install lxc installed succesfully I would nota able to detect any C/CPP headers being installed with it which obviously made impossible for the python module to compile.

$ brew reinstall -vd lxc                                                                                                                                                                                                                                             [14:16:51]
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lxc.rb
rm /usr/local/bin/lxc
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/go.rb
==> Reinstalling lxc
==> Downloading https://homebrew.bintray.com/bottles/lxc-3.7.mojave.bottle.tar.gz
/usr/bin/curl -q --show-error --user-agent Homebrew/1.8.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.1\)\ curl/7.54.0 --location --silent --head https://homebrew.bintray.com/bottles/lxc-3.7.mojave.bottle.tar.gz
Already downloaded: /Users/ssbarnea/Library/Caches/Homebrew/downloads/53be759aa9ee5fad1d55f896ec326f02d80e11241a7b03c8fbf5bc80036ad49f--lxc-3.7.mojave.bottle.tar.gz
==> Verifying 53be759aa9ee5fad1d55f896ec326f02d80e11241a7b03c8fbf5bc80036ad49f--lxc-3.7.mojave.bottle.tar.gz checksum
==> Pouring lxc-3.7.mojave.bottle.tar.gz
tar xf /Users/ssbarnea/Library/Caches/Homebrew/downloads/53be759aa9ee5fad1d55f896ec326f02d80e11241a7b03c8fbf5bc80036ad49f--lxc-3.7.mojave.bottle.tar.gz -C /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/d20181116-45154-psvvbg
cp -pR /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/d20181116-45154-psvvbg/lxc/. /usr/local/Cellar/lxc
chmod -Rf +w /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/d20181116-45154-psvvbg
==> Finishing up
ln -s ../Cellar/lxc/3.7/bin/lxc lxc
/usr/bin/sandbox-exec -f /private/tmp/homebrew20181116-45352-tj9j3y.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-macho-2.1.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/rubocop-rspec-1.30.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/rubocop-0.60.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/unicode-display_width-1.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-progressbar-1.10.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/rainbow-3.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/powerpack-0.1.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/plist-3.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/parser-2.5.3.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/parallel-1.12.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/jaro_winkler-1.5.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/extensions/universal-darwin-18/2.3.0/jaro_winkler-1.5.1:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/backports-3.11.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ast-2.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/activesupport-5.2.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/tzinfo-1.2.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/thread_safe-0.3.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/minitest-5.11.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/i18n-1.1.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib:/Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib:/Library/Ruby/Site/2.3.0:/Library/Ruby/Site/2.3.0/x86_64-darwin18:/Library/Ruby/Site/2.3.0/universal-darwin18:/Library/Ruby/Site:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/postinstall.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lxc.rb -vd
/usr/local/Homebrew/Library/Homebrew/postinstall.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lxc.rb
==> Summary
🍺  /usr/local/Cellar/lxc/3.7: 6 files, 17.7MB

On other platforsms like CentOS I was able to install lxc-devel in order to get the headers but I know that brew take is to avoid devel packages and to include headers with normal install. Still, in this case I I found no headers inside /usr/local/opt/lxc/ which proved to have only bin/ and few other boilerplate files.

@MikeMcQuaid
Copy link
Member

Please submit a PR for this and we'll review it, thanks!

@lock lock bot added the outdated PR was locked due to age label Dec 16, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Dec 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

2 participants