noosfero | docker production build currently failing (#352)

Aaron gitlab at mg.gitlab.com
Wed Jun 20 18:55:02 BRT 2018


And https://gitlab.com/noosfero/noosfero/blob/a6887b0d0e50c5076cd3a170e9d42dd5739e4936/Dockerfile
is failing too

```
Installing json 1.8.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /usr/local/bundle/gems/json-1.8.1/ext/json/ext/generator
/usr/local/bin/ruby -r ./siteconf20180620-6-e75gzf.rb extconf.rb
creating Makefile

current directory: /usr/local/bundle/gems/json-1.8.1/ext/json/ext/generator
make "DESTDIR=" clean

current directory: /usr/local/bundle/gems/json-1.8.1/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
In file included from generator.c:1:0:
../fbuffer/fbuffer.h: In function 'fbuffer_to_s':
../fbuffer/fbuffer.h:175:47: error: macro "rb_str_new" requires 2 arguments, but
only 1 given
     VALUE result = rb_str_new(FBUFFER_PAIR(fb));
                                               ^
../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer
without a cast [-Wint-conversion]
     VALUE result = rb_str_new(FBUFFER_PAIR(fb));
                    ^~~~~~~~~~
Makefile:239: recipe for target 'generator.o' failed
make: *** [generator.o] Error 1

make failed, exit code 2

Gem files will remain installed in /usr/local/bundle/gems/json-1.8.1 for
inspection.
Results logged to
/usr/local/bundle/extensions/x86_64-linux/2.3.0/json-1.8.1/gem_make.out

An error occurred while installing json (1.8.1), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.1' --source 'https://rubygems.org/'`
succeeds before bundling.

In Gemfile:
  cucumber-rails was resolved to 1.4.5, which depends on
    rails was resolved to 4.2.5.1, which depends on
      actionmailer was resolved to 4.2.5.1, which depends on
        actionpack was resolved to 4.2.5.1, which depends on
          actionview was resolved to 4.2.5.1, which depends on
            rails-dom-testing was resolved to 1.0.6, which depends on
              rails-deprecated_sanitizer was resolved to 1.0.3, which depends on
                activesupport was resolved to 4.2.5.1, which depends on
                  json
ERROR: Service 'noosfero' failed to build: The command '/bin/sh -c bundle install --without development test' returned a non-zero code: 5
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/issues/352#note_83007341
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180620/b45def22/attachment.html>


More information about the Noosfero-dev mailing list