Issue #10766 has been reported by Dimas Jiamus Kalimosodo.

----------------------------------------
Misc #10766: Build failed generating RDoc documentation
https://bugs.ruby-lang.org/issues/10766

* Author: Dimas Jiamus Kalimosodo
* Status: Open
* Priority: Normal
* Assignee: ruby-core
----------------------------------------
build on system:
Linux precisepuppy 3.9.11 #1 SMP Sat Jul 27 19:40:54 GMT-8 2013 i686 i686 i386 GNU/Linux
source ruby-2.2.0.tar.xz
problem:
`make` failed generating RDoc with the following error,
**
Generating RDoc documentation
invalid byte sequence in UTF-8
/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:263:in `gsub'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:263:in `parse_dot_doc_file'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:314:in `block in normalized_file_list'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:291:in `each'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:291:in `normalized_file_list'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:269:in `block in parse_dot_doc_file'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:267:in `each'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:267:in `parse_dot_doc_file'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:314:in `block in normalized_file_list'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:291:in `each'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:291:in `normalized_file_list'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:118:in `gather_files'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:412:in `parse_files'
	/mnt/sdd1/src/ruby-2.2.0/lib/rdoc/rdoc.rb:489:in `document'
	./bin/rdoc:20:in `<main>'

make: *** [rdoc] Error 1
**

---Files--------------------------------
build.log (31.6 KB)


-- 
https://bugs.ruby-lang.org/