[
https://issues.apache.org/jira/browse/HBASE-20689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506907#comment-16506907
]
Monani Mihir commented on HBASE-20689:
--------------------------------------
I think it is failing for branch-1.3 build also.
https://builds.apache.org/job/PreCommit-HBASE-Build/13160/console
{code:java}
15:01:11 Step 39/46 : RUN gem install rubocop
15:01:11 ---> Running in 7bb020b5e66d
15:01:12 Successfully installed unicode-display_width-1.4.0
15:01:12 Successfully installed ruby-progressbar-1.9.0
15:01:12 Successfully installed rainbow-3.0.0
15:01:12 Successfully installed powerpack-0.1.1
15:01:12 Successfully installed ast-2.4.0
15:01:12 Successfully installed parser-2.5.1.0
15:01:12 Successfully installed parallel-1.12.1
15:01:12 Building native extensions. This could take a while...
15:01:13 [91mERROR: Error installing rubocop:
15:01:13 ERROR: Failed to build gem native extension.
15:01:13
15:01:13 /usr/bin/ruby2.2 -r ./siteconf20180608-7-1r8czcg.rb extconf.rb
15:01:13 mkmf.rb can't find header files for ruby at
/usr/lib/ruby/include/ruby.h
15:01:13
15:01:13 extconf failed, exit code 1
15:01:13
15:01:13 Gem files will remain installed in
/var/lib/gems/2.2.0/gems/jaro_winkler-1.5.1 for inspection.
15:01:13 Results logged to
/var/lib/gems/2.2.0/extensions/x86_64-linux/2.2.0/jaro_winkler-1.5.1/gem_make.out
15:01:13 [0mThe command '/bin/sh -c gem install rubocop' returned a non-zero
code: 1
15:01:13
15:01:13 Total Elapsed time: 0m 2s
15:01:13
15:01:13 ERROR: Docker failed to build image.
{code}
> 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.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)