Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20689

Docker fails to install rubocop for precommit

    XMLWordPrintableJSON

    Details

      Description

      Precommit started to fail with rubocop install in 'Building base image' phase.
      The used maven:3.5-jdk8 image was updated ~10h ago, probably related. https://hub.docker.com/r/library/maven/

      One of the failed jobs: https://builds.apache.org/job/PreCommit-HBASE-Build/13105/console 

      14:42:23 Setting up ruby (1:2.3.3) ...
      14:42:23 Processing triggers for libc-bin (2.24-11+deb9u3) ...
      14:42:23 Successfully installed rake-12.3.1
      14:42:23 Parsing documentation for rake-12.3.1
      14:42:23 Installing ri documentation for rake-12.3.1
      14:42:23 Done installing documentation for rake after 1 seconds
      14:42:23 Building native extensions.  This could take a while...
      14:42:23 ERROR:  Error installing rubocop:
      14:42:23 	ERROR: Failed to build gem native extension.
      14:42:23 
      14:42:23     current directory: /var/lib/gems/2.3.0/gems/jaro_winkler-1.4.0/ext/jaro_winkler
      14:42:23 /usr/bin/ruby2.3 -r ./siteconf20180606-949-99wdpz.rb extconf.rb
      14:42:23 mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
      14:42:23 
      14:42:23 extconf failed, exit code 1
      14:42:23 
      14:42:23 Gem files will remain installed in /var/lib/gems/2.3.0/gems/jaro_winkler-1.4.0 for inspection.
      14:42:23 Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/jaro_winkler-1.4.0/gem_make.out
      

        Attachments

        1. HBASE-20689.master.001.patch
          0.8 kB
          Peter Somogyi
        2. HBASE-20689.branch-1.001.patch
          0.8 kB
          Peter Somogyi

          Activity

            People

            • Assignee:
              psomogyi Peter Somogyi
              Reporter:
              psomogyi Peter Somogyi
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: