Graylog2 / fpm-recipes

Graylog package build recipes
http://docs.graylog.org/en/latest/pages/installation/operating_system_packages.html
18 stars 18 forks source link

CentOS 7: puppet requires Ruby version >= 2.3.0 #85

Closed incubos closed 1 year ago

incubos commented 5 years ago
$ vagrant docker-run centos7 -- fpm-cook package /vagrant/recipes/graylog-server/recipe.rb
==> centos7: Building the container from a Dockerfile...
    centos7: Sending build context to Docker daemon  2.048kB
    centos7: Step 1/6 : FROM centos:centos7
    centos7:  ---> 75835a67d134
    centos7: Step 2/6 : MAINTAINER Graylog, Inc. <hello@graylog.com>
    centos7:  ---> Using cache
    centos7:  ---> 0096191973c9
    centos7: Step 3/6 : RUN yum clean all
    centos7:  ---> Using cache
    centos7:  ---> 597f5c98aa9a
    centos7: Step 4/6 : RUN yum install -y rubygems ruby-devel make gcc tar rpm-build curl
    centos7:  ---> Using cache
    centos7:  ---> 120b8292c640
    centos7: Step 5/6 : RUN gem install fpm-cookery --no-ri --no-rdoc --version 0.25.0
    centos7:  ---> Running in 9f1712cef587
    centos7: Successfully installed cabin-0.9.0
    centos7: Successfully installed backports-3.11.4
    centos7: Successfully installed arr-pm-0.0.10
    centos7: Successfully installed clamp-1.0.1
    centos7: Building native extensions.  This could take a while...
    centos7: ERROR:  Error installing fpm-cookery:
    centos7:    puppet requires Ruby version >= 2.3.0.
    centos7: 
    centos7: Successfully installed ffi-1.9.25
    centos7: Successfully installed childprocess-0.9.0
    centos7: Successfully installed io-like-0.3.0
    centos7: Successfully installed ruby-xz-0.2.3
    centos7: Successfully installed stud-0.0.23
    centos7: Successfully installed mustache-0.99.8
    centos7: Successfully installed insist-1.0.0
    centos7: Successfully installed dotenv-2.5.0
    centos7: Successfully installed pleaserun-0.0.30
    centos7: Successfully installed fpm-1.10.2
    centos7: Successfully installed facter-2.5.1
    centos7: Successfully installed hiera-3.4.5
    centos7: Successfully installed semantic_puppet-1.0.2
    centos7: Successfully installed fast_gettext-1.1.2
    centos7: Successfully installed locale-2.1.2
    centos7: Successfully installed multi_json-1.13.1
    centos7: Successfully installed httpclient-2.8.3
    centos7: Successfully installed hocon-1.2.5
    centos7: Successfully installed puppet-resource_api-1.6.2
    centos7: The command '/bin/sh -c gem install fpm-cookery --no-ri --no-rdoc --version 0.25.0' returned a non-zero code: 1
bernd commented 1 year ago

Our build is using the centos8 container. Closing this issue.