[DRE-maint] Bug#928627: ruby-ronn: Incompatible encoding regexp match when generating utf-8 roff

Alexander Kulak sa-dev at odd.systems
Tue May 7 22:06:48 BST 2019


Package: ruby-ronn
Version: 0.8.0-2
Severity: normal

Dear Maintainer,

ronn fails on processing my source file: 
https://raw.githubusercontent.com/sagb/alttab/master/doc/alttab.1.ronn
ronn --roff alttab.1.ronn
About a year ago it worked fine, as well as current version in stretch.
--html mode works too.

     roff: ./alttab.1                                 
/usr/lib/ruby/vendor_ruby/ronn/roff.rb:354:in `gsub': incompatible encoding regexp match (Windows-31J regexp with UTF-8 string) (Encoding::CompatibilityError)
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:354:in `write'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:247:in `inline_filter'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:243:in `block in inline_filter'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:204:in `block in each'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:203:in `upto'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:203:in `each'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:243:in `inline_filter'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:120:in `block_filter'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:88:in `block in block_filter'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:204:in `block in each'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:203:in `upto'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:203:in `each'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:88:in `block_filter'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:153:in `block_filter'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:88:in `block in block_filter'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:204:in `block in each'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:203:in `upto'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:203:in `each'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:88:in `block_filter'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:145:in `block_filter'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:88:in `block in block_filter'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:204:in `block in each'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:203:in `upto'
	from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:203:in `each'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:88:in `block_filter'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:91:in `block_filter'
	from /usr/lib/ruby/vendor_ruby/ronn/roff.rb:18:in `initialize'
	from /usr/lib/ruby/vendor_ruby/ronn/document.rb:245:in `new'
	from /usr/lib/ruby/vendor_ruby/ronn/document.rb:245:in `to_roff'
	from /usr/lib/ruby/vendor_ruby/ronn/document.rb:240:in `convert'
	from /usr/bin/ronn:209:in `block (2 levels) in <main>'
	from /usr/bin/ronn:199:in `each'
	from /usr/bin/ronn:199:in `block in <main>'
	from /usr/bin/ronn:184:in `each'
	from /usr/bin/ronn:184:in `<main>'


-- System Information:
Debian Release: 10.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ruby-ronn depends on:
ii  groff           1.22.4-3
ii  ruby            1:2.5.1
ii  ruby-mustache   1.0.2-1
ii  ruby-nokogiri   1.10.0+dfsg1-2
ii  ruby-rdiscount  2.1.8-1+b5

ruby-ronn recommends no packages.

ruby-ronn suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list