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

skip generating rdoc when building gems in our docker image for running yetus

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.2.0, 2.3.0, 2.0.6, 2.1.5
    • Component/s: build, test
    • Labels:
      None

      Description

      HBASE-22405 failed to create the precommit docker image due to :

      
      10:13:46 Done installing documentation for rake after 1 seconds
      10:13:46 Building native extensions.  This could take a while...
      10:14:38 [91m
      10:14:38 RDoc::Parser::Ruby failure around line 16 of
      10:14:38 lib/rubocop/cop/generator.rb
      10:14:38 
      10:14:38 [0m[91mBefore reporting this, could you check that the file you're documenting
      10:14:38 has proper syntax:
      10:14:38 
      10:14:38   /usr/bin/ruby2.3 -c lib/rubocop/cop/generator.rb
      10:14:38 
      10:14:38 RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
      10:14:38 
      10:14:38 The internal error was:
      10:14:38 
      10:14:38 	(NoMethodError) undefined method `name' for {TkSTRING 481, 16:19 "%Q<department>"}:RDoc::RubyToken::TkSTRING
      10:14:38 
      10:14:38 [0m[91mERROR:  While executing gem ... (NoMethodError)
      10:14:38     undefined method `name' for {TkSTRING 481, 16:19 "%Q<department>"}:RDoc::RubyToken::TkSTRING
      

      we should skip making docs for these gems.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                busbey Sean Busbey
                Reporter:
                busbey Sean Busbey
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: