Thread View: linux.debian.bugs.rc
2 messages
2 total messages
Started by Luca Toniolo
Tue, 24 Nov 2026 08:20
Bug#1155104: ruby-prawn-svg: 1.0.0 breaks ruby-asciidoctor-pdf (undefined method font_path)
Author: Luca Toniolo
Date: Tue, 24 Nov 2026 08:20
Date: Tue, 24 Nov 2026 08:20
37 lines
3270 bytes
3270 bytes
Package: ruby-prawn-svg Version: 1.0.0-2 Severity: serious Control: affects -1 ruby-asciidoctor-pdf Hello, Since ruby-prawn-svg 1.0.0 reached unstable, asciidoctor-pdf fails on every document. ruby-asciidoctor-pdf 2.3.24-5 calls Prawn::SVG::Interface.font_path at load time (lib/asciidoctor/pdf/ext/prawn-svg.rb, line 12), and 1.0.0 no longer has it: /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn-svg.rb:12:in `<top (required)>': undefined method `font_path' for class Prawn::SVG::Interface (NoMethodError) Upstream asciidoctor-pdf supports prawn-svg up to 0.40.x (it moved to 0.40.x on 2026-10-15), so it has no fix for 1.0.0 yet. The autopkgtest regression of ruby-asciidoctor-pdf that blocks migration looks like the same problem. Steps to reproduce, in a debian:sid container: apt-get install asciidoctor-pdf printf '= Test\n\nHello.\n' > test.adoc asciidoctor -r asciidoctor-pdf -b pdf test.adoc I hit it in the LinuxCNC CI, which builds the PDF documentation in debian:sid on every pull request. Package versions there: ruby-prawn-svg 1.0.0-2, ruby-prawn 2.5.0+dfsg-1, ruby-asciidoctor-pdf 2.3.24-5, ruby-asciidoctor 2.0.26-2. Keeping 0.40.x in unstable, or a Breaks: ruby-asciidoctor-pdf (<< fixed version) with a patched ruby-asciidoctor-pdf, would solve it for us. Thanks, Luca Toniolo
Processed: ruby-prawn-svg: 1.0.0 breaks ruby-asciidoctor-pdf (undefined method font_path)
Author: Debian Bug Tracking System
Date: Tue, 24 Nov 2026 08:20
Date: Tue, 24 Nov 2026 08:20
11 lines
2054 bytes
2054 bytes
Processing control commands: > affects -1 ruby-asciidoctor-pdf Bug #1155104 [ruby-prawn-svg] ruby-prawn-svg: 1.0.0 breaks ruby-asciidoctor-pdf (undefined method font_path) Added indication that 1155104 affects ruby-asciidoctor-pdf -- 1155104: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155104 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads