FAQ
When running "bosh deploy" with the latest checkout from HEAD I get the
following error when compiling cloud_controller_ng:

Compiling packages
   cloud_controller_ng/12.9-dev: Compile Package Failure (exit code: 1)
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:192:in
`block in compile'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:175:in
`chdir'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:175:in
`compile'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:48:in
`start'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:13:in
`process'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:276:in
`process'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:261:in
`process_long_running'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:183:in
`block in process_in_thread'
<internal:prelude>:10:in `synchronize'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:181:in
`process_in_thread'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:161:in
`block in handle_message'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in
`call'
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in
`block in spawn_threadpool'
+ set -e
+ cp -a cloud_controller_ng packaging /var/vcap/packages/cloud_controller_ng
+ cd /var/vcap/packages/cloud_controller_ng/cloud_controller_ng
+ bundle_cmd=/var/vcap/packages/ruby/bin/bundle
+ mysqlclient_dir=/var/vcap/packages/mysqlclient
+ libpq_dir=/var/vcap/packages/libpq
+ /var/vcap/packages/ruby/bin/bundle config build.mysql2
--with-mysql-dir=/var/vcap/packages/mysqlclient
--with-mysql-include=/var/vcap/packages/mysqlclient/include/mysql
+ /var/vcap/packages/ruby/bin/bundle config build.pg
--with-pg-lib=/var/vcap/packages/libpq/lib
--with-pg-include=/var/vcap/packages/libpq/include
+ /var/vcap/packages/ruby/bin/bundle config build.sqlite3
--with-sqlite3-dir=/var/vcap/packages/sqlite
+ /var/vcap/packages/ruby/bin/bundle install --local --deployment --without
development test
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/rubygems_integration.rb:104:in
`spec_from_gem': undefined method `spec' for nil:NilClass (NoMethodError)
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:213:in
`block in cached_specs'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:209:in
`each'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:209:in
`cached_specs'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:169:in
`fetch_specs'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:70:in
`specs'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/lazy_specification.rb:53:in
`__materialize__'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/spec_set.rb:86:in
`block in materialize'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/spec_set.rb:83:in
`map!'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/spec_set.rb:83:in
`materialize'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:113:in
`specs'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:101:in
`resolve_with_cache!'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/installer.rb:80:in
`run'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/installer.rb:14:in
`install'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/cli.rb:230:in
`install'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor/task.rb:27:in
`run'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor/invocation.rb:120:in
`invoke_task'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor.rb:275:in
`dispatch'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor/base.rb:408:in
`start'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/bin/bundle:14:in
`block in <top (required)>'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/friendly_errors.rb:4:in
`with_friendly_errors'
from
/var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/bin/bundle:14:in
`<top (required)>'
from /var/vcap/packages/ruby/bin/bundle:23:in `load'
from /var/vcap/packages/ruby/bin/bundle:23:in `<main>'

Search Discussions

  • Dr Nic Williams at Jun 26, 2013 at 6:26 pm
    Are you using release-candidate branch (good) or master branch (uncertain)?
    --
    Dr Nic Williams
    Stark & Wayne LLC - the consultancy for Cloud Foundry
    http://starkandwayne.com
    +1 415 860 2185
    twitter: drnic
    On Wed, Jun 26, 2013 at 11:19 AM, null wrote:

    When running "bosh deploy" with the latest checkout from HEAD I get the
    following error when compiling cloud_controller_ng:
    Compiling packages
    cloud_controller_ng/12.9-dev: Compile Package Failure (exit code: 1)
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:192:in
    `block in compile'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:175:in
    `chdir'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:175:in
    `compile'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:48:in
    `start'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:13:in
    `process'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:276:in
    `process'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:261:in
    `process_long_running'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:183:in
    `block in process_in_thread'
    <internal:prelude>:10:in `synchronize'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:181:in
    `process_in_thread'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:161:in
    `block in handle_message'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in
    `call'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in
    `block in spawn_threadpool'
    + set -e
    + cp -a cloud_controller_ng packaging /var/vcap/packages/cloud_controller_ng
    + cd /var/vcap/packages/cloud_controller_ng/cloud_controller_ng
    + bundle_cmd=/var/vcap/packages/ruby/bin/bundle
    + mysqlclient_dir=/var/vcap/packages/mysqlclient
    + libpq_dir=/var/vcap/packages/libpq
    + /var/vcap/packages/ruby/bin/bundle config build.mysql2
    --with-mysql-dir=/var/vcap/packages/mysqlclient
    --with-mysql-include=/var/vcap/packages/mysqlclient/include/mysql
    + /var/vcap/packages/ruby/bin/bundle config build.pg
    --with-pg-lib=/var/vcap/packages/libpq/lib
    --with-pg-include=/var/vcap/packages/libpq/include
    + /var/vcap/packages/ruby/bin/bundle config build.sqlite3
    --with-sqlite3-dir=/var/vcap/packages/sqlite
    + /var/vcap/packages/ruby/bin/bundle install --local --deployment --without
    development test
    Unfortunately, a fatal error has occurred. Please see the Bundler
    troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/rubygems_integration.rb:104:in
    `spec_from_gem': undefined method `spec' for nil:NilClass (NoMethodError)
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:213:in
    `block in cached_specs'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:209:in
    `each'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:209:in
    `cached_specs'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:169:in
    `fetch_specs'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:70:in
    `specs'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/lazy_specification.rb:53:in
    `__materialize__'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/spec_set.rb:86:in
    `block in materialize'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/spec_set.rb:83:in
    `map!'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/spec_set.rb:83:in
    `materialize'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:113:in
    `specs'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:101:in
    `resolve_with_cache!'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/installer.rb:80:in
    `run'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/installer.rb:14:in
    `install'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/cli.rb:230:in
    `install'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor/task.rb:27:in
    `run'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor/invocation.rb:120:in
    `invoke_task'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor.rb:275:in
    `dispatch'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor/base.rb:408:in
    `start'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/bin/bundle:14:in
    `block in <top (required)>'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/friendly_errors.rb:4:in
    `with_friendly_errors'
    from
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/bin/bundle:14:in
    `<top (required)>'
    from /var/vcap/packages/ruby/bin/bundle:23:in `load'
    from /var/vcap/packages/ruby/bin/bundle:23:in `<main>'
  • Stefan Farestam at Jun 26, 2013 at 6:56 pm
    I was using the master branch but the problem disappeared when reinstalling cf-release from scratch. Might be a case of parts of the environment not being updated properly. So, compiles ok now!
    On Jun 26, 2013, at 20:26 , "Dr Nic Williams" wrote:

    Are you using release-candidate branch (good) or master branch (uncertain)?
    --
    Dr Nic Williams
    Stark & Wayne LLC - the consultancy for Cloud Foundry
    http://starkandwayne.com
    +1 415 860 2185
    twitter: drnic


    On Wed, Jun 26, 2013 at 11:19 AM, stefan@farestam.com wrote:

    When running "bosh deploy" with the latest checkout from HEAD I get the following error when compiling cloud_controller_ng:

    Compiling packages
    cloud_controller_ng/12.9-dev: Compile Package Failure (exit code: 1)
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:192:in `block in compile'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:175:in `chdir'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:175:in `compile'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:48:in `start'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/message/compile_package.rb:13:in `process'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:276:in `process'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:261:in `process_long_running'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:183:in `block in process_in_thread'
    <internal:prelude>:10:in `synchronize'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:181:in `process_in_thread'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.703/lib/bosh_agent/handler.rb:161:in `block in handle_message'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in `call'
    /var/vcap/bosh/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in `block in spawn_threadpool'
    + set -e
    + cp -a cloud_controller_ng packaging /var/vcap/packages/cloud_controller_ng
    + cd /var/vcap/packages/cloud_controller_ng/cloud_controller_ng
    + bundle_cmd=/var/vcap/packages/ruby/bin/bundle
    + mysqlclient_dir=/var/vcap/packages/mysqlclient
    + libpq_dir=/var/vcap/packages/libpq
    + /var/vcap/packages/ruby/bin/bundle config build.mysql2 --with-mysql-dir=/var/vcap/packages/mysqlclient --with-mysql-include=/var/vcap/packages/mysqlclient/include/mysql
    + /var/vcap/packages/ruby/bin/bundle config build.pg --with-pg-lib=/var/vcap/packages/libpq/lib --with-pg-include=/var/vcap/packages/libpq/include
    + /var/vcap/packages/ruby/bin/bundle config build.sqlite3 --with-sqlite3-dir=/var/vcap/packages/sqlite
    + /var/vcap/packages/ruby/bin/bundle install --local --deployment --without development test
    Unfortunately, a fatal error has occurred. Please see the Bundler
    troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
    /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/rubygems_integration.rb:104:in `spec_from_gem': undefined method `spec' for nil:NilClass (NoMethodError)
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:213:in `block in cached_specs'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:209:in `each'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:209:in `cached_specs'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:169:in `fetch_specs'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:70:in `specs'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/lazy_specification.rb:53:in `__materialize__'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/spec_set.rb:86:in `block in materialize'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/spec_set.rb:83:in `map!'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/spec_set.rb:83:in `materialize'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:113:in `specs'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:101:in `resolve_with_cache!'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/installer.rb:80:in `run'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/installer.rb:14:in `install'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/cli.rb:230:in `install'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor/task.rb:27:in `run'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor/invocation.rb:120:in `invoke_task'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor.rb:275:in `dispatch'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/vendor/thor/base.rb:408:in `start'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/bin/bundle:14:in `block in <top (required)>'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/friendly_errors.rb:4:in `with_friendly_errors'
    from /var/vcap/packages/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/bin/bundle:14:in `<top (required)>'
    from /var/vcap/packages/ruby/bin/bundle:23:in `load'
    from /var/vcap/packages/ruby/bin/bundle:23:in `<main>'

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupvcap-dev @
postedJun 26, '13 at 6:19p
activeJun 26, '13 at 6:56p
posts3
users2

People

Translate

site design / logo © 2021 Grokbase