CocoaPods / search.cocoapods.org

This is the CocoaPods search engine repo, please direct CocoaPods issues to the main CocoaPods repository.
25 stars 11 forks source link

xcodeproj C extension needs CoreFoundation #8

Closed floere closed 12 years ago

floere commented 12 years ago

When I push to heroku master, it fails to start because of "CoreFoundation is needed to build the Xcodeproj C extension".

Full error message:

Installing xcodeproj (0.1.0) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
       /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
       /usr/local/bin/ruby extconf.rb
       checking for -std=c99 option to compiler... yes
       checking for CoreFoundation... no
       checking for main() in -lCoreFoundation... no
       CoreFoundation is needed to build the Xcodeproj C extension.
       *** extconf.rb failed ***
       Could not create Makefile due to some reason, probably lack of
       necessary libraries and/or headers.  Check the mkmf.log file for more
       details.  You may need configuration options.
       Provided configuration options:
       --with-opt-dir
       --without-opt-dir
       --with-opt-include
       --without-opt-include=${opt-dir}/include
       --with-opt-lib
       --without-opt-lib=${opt-dir}/lib
       --with-make-prog
       --without-make-prog
       --srcdir=.
       --curdir
       --ruby=/usr/local/bin/ruby
       --with-CoreFoundationlib
       --without-CoreFoundationlib
       Gem files will remain installed in /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/xcodeproj-0.1.0 for inspection.
       Results logged to /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/xcodeproj-0.1.0/ext/xcodeproj/gem_make.out
       from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:486:in `block in build_extensions'
       from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:in `each'
       from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:in `build_extensions'
       from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:198:in `install'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/source.rb:90:in `block in install'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:82:in `preserve_paths'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/source.rb:89:in `install'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/installer.rb:73:in `block in install_gem_from_spec'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:97:in `with_build_args'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/installer.rb:72:in `install_gem_from_spec'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/installer.rb:56:in `block in run'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/installer.rb:55:in `run'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/installer.rb:12:in `install'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/cli.rb:220:in `install'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/vendor/thor/task.rb:22:in `run'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/vendor/thor.rb:263:in `dispatch'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/vendor/thor/base.rb:386:in `start'
       from /tmp/build_2zcpamqcz70h3/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/bin/bundle:13:in `<top (required)>'
       from vendor/bundle/ruby/1.9.1/bin/bundle:19:in `load'
       from vendor/bundle/ruby/1.9.1/bin/bundle:19:in `<main>'
alloy commented 12 years ago

Ah, right. We don't need Xcodeproj for cocoapods.org, so it needs to install without the dep.

alloy commented 12 years ago

(Btw Xcodeproj uses the CFPropertyList API, which is the foundation on which all OS X frameworks are built. We run on Travis with an OSS lite version.)

alloy commented 12 years ago

(Correction, the foundation is CoreFoundation, of which CFPropertyList is a part.)

floere commented 12 years ago

I guess you can close this :)

alloy commented 12 years ago

Oh indeed. Man, so many tickets :)

floere commented 12 years ago

Just wanted you to have the honor :) The rest I can handle. Cheers!