[ https://issues.apache.org/jira/browse/HBASE-20689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16508266#comment-16508266 ]
Josh Elser commented on HBASE-20689: ------------------------------------ +1 > Docker fails to install rubocop for precommit > --------------------------------------------- > > Key: HBASE-20689 > URL: https://issues.apache.org/jira/browse/HBASE-20689 > Project: HBase > Issue Type: Bug > Components: build > Reporter: Peter Somogyi > Assignee: Peter Somogyi > Priority: Blocker > Fix For: 3.0.0, 2.1.0, 2.0.1 > > Attachments: HBASE-20689.branch-1.001.patch, > HBASE-20689.master.001.patch > > > 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] > {noformat} > 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 [91mERROR: 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 > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)