Package: ruby-asciidoctor-pdf
Version: 1.5.4-2
Severity: grave
I just did 'apt-get install asciidoctor ruby-asciidoctor-pdf' and then tried
to build an asciidoc document (in this case the titan.core API guide):
asciidoctor-pdf --attribute skip-front-matter apiguide/Apiguide.adoc
Traceback (most recent call last):
5: from /usr/bin/asciidoctor-pdf:7:in `<main>'
4: from
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
3: from
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
2: from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf.rb:8:in `<top
(required)>'
1: from
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require':
cannot load such file -- prawn/templates (LoadError)
make: *** [Makefile:60: apiguide/Apiguide.pdf] Error 1
I know close to nothing about ruby, but it look like asciidoctor-pdf or one of
its upstream
dependencies depend on 'prawn/templates', but those are not installed by the
dpgk/apt
dependencies.
Indeed, there is "require 'prawn/templates'" in
/usr/lib/ruby/vendor_ruby/asciidoctor/pdf.rb
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ruby-asciidoctor-pdf depends on:
ii ruby 1:2.7+2
ii ruby-asciidoctor 2.0.12-2
ii ruby-concurrent 1.1.6+dfsg-3
ii ruby-prawn 2.3.0+dfsg-1
ii ruby-prawn-icon 2.5.0-1
ii ruby-prawn-svg 0.31.0-1
ii ruby-prawn-table 0.2.2-1
ii ruby-safe-yaml 1.0.5-1
ii ruby-thread-safe 0.3.6-1
ii ruby-treetop 1.6.8-1
ruby-asciidoctor-pdf recommends no packages.
Versions of packages ruby-asciidoctor-pdf suggests:
pn ruby-rouge <none>
-- no debconf information