• Kirill Smelkov's avatar
    helloworld: Fix build · 5cc24000
    Kirill Smelkov authored
    	2019-01-21 17:56:18 slapos[13553] INFO While:
    	2019-01-21 17:56:18 slapos[13553] INFO   Installing.
    	2019-01-21 17:56:18 slapos[13553] INFO   Getting section instance-profile.
    	2019-01-21 17:56:18 slapos[13553] INFO   Initializing section instance-profile.
    	2019-01-21 17:56:18 slapos[13553] INFO   Installing recipe slapos.recipe.template.
    	2019-01-21 17:56:18 slapos[13553] INFO   Getting distribution for 'slapos.recipe.template'.
    	2019-01-21 17:56:18 slapos[13553] INFO Error: Picked: slapos.recipe.template = 4.3
    	2019-01-21 17:56:19 slapos[13553] ERROR Failed to run buildout profile in directory '/srv/slapgrid/slappart7/srv/runner/software/19771f7b751ffc2a88162b15750c6069'
    
    	2019-01-21 18:01:21 slapos[26771] INFO While:
    	2019-01-21 18:01:21 slapos[26771] INFO   Installing.
    	2019-01-21 18:01:21 slapos[26771] INFO   Getting section helloweb-ruby.
    	2019-01-21 18:01:21 slapos[26771] INFO   Initializing section helloweb-ruby.
    	2019-01-21 18:01:21 slapos[26771] INFO   Getting option helloweb-ruby:input.
    	2019-01-21 18:01:21 slapos[26771] INFO   Getting section helloweb-ruby-bundle.
    	2019-01-21 18:01:21 slapos[26771] INFO   Initializing section helloweb-ruby-bundle.
    	2019-01-21 18:01:21 slapos[26771] INFO   Getting option helloweb-ruby-bundle:make-targets.
    	2019-01-21 18:01:21 slapos[26771] INFO   Getting section bundler.
    	2019-01-21 18:01:21 slapos[26771] INFO   Initializing section bundler.
    	2019-01-21 18:01:21 slapos[26771] INFO   Installing recipe rubygemsrecipe.
    	2019-01-21 18:01:21 slapos[26771] INFO   Getting distribution for 'rubygemsrecipe'.
    	2019-01-21 18:01:21 slapos[26771] INFO Error: Picked: rubygemsrecipe = 0.2.2+slapos001
    
    Ruby stuff was failing to download at all. However after updating
    versions to the ones used in software/gitlab/ it still fails to build
    with the following error:
    
    	2019-01-21 18:20:28 slapos[19170] INFO Installing bundler.
    	2019-01-21 18:20:28 slapos[19170] INFO bundler: installing ruby gem "bundler==1.11.2"
    	2019-01-21 18:20:28 slapos[19170] INFO ERROR:  While executing gem ... (Gem::Exception)
    	2019-01-21 18:20:28 slapos[19170] INFO     Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
    	2019-01-21 18:20:28 slapos[19170] INFO bundler:
    	2019-01-21 18:20:28 slapos[19170] INFO bundler: Command failed with exit code 1: ['/srv/slapgrid/slappart7/srv/runner/software/19771f7b751ffc2a88162b15750c6069/parts/ruby2.1/bin/rub
    	y', u'/srv/slapgrid/slappart7/srv/runner/software/19771f7b751ffc2a88162b15750c6069/parts/bundler/bin/gem', u'install', u'--no-rdoc', u'--no-ri', u'--bindir=/srv/slapgrid/slappart7/s
    	rv/runner/software/19771f7b751ffc2a88162b15750c6069/parts/bundler/bin', u'bundler', u'--version=1.11.2', u'--']
    
    Mark helloweb-ruby as broken, but let others part of helloweb/helloword
    story to live.
    
    Based on patch by @romain.
    5cc24000
buildout.cfg 2.86 KB