Debian Bug report logs - #1122092
asciidoctor-pdf: raises exception when processing any file

version graph

Package: asciidoctor-pdf; Maintainer for asciidoctor-pdf is Keith Packard <[email protected]>; Source for asciidoctor-pdf is src:ruby-asciidoctor-pdf (PTS, buildd, popcon).

Reported by: "brian m. carlson" <[email protected]>

Date: Sat, 6 Dec 2025 23:39:01 UTC

Severity: grave

Found in version ruby-asciidoctor-pdf/2.3.19-3

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Keith Packard <[email protected]> (asciidoctor-pdf for {1122092}):
Bug#1122092; Package asciidoctor-pdf. (Sat, 06 Dec 2025 23:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to "brian m. carlson" <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected]. (Sat, 06 Dec 2025 23:39:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: "brian m. carlson" <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: asciidoctor-pdf: raises exception when processing any file
Date: Sat, 6 Dec 2025 23:30:33 +0000
[Message part 1 (text/plain, inline)]
Package: asciidoctor-pdf
Version: 2.3.19-3
Severity: grave

I noticed that asciidoctor-pdf no longer processes files:

----
% asciidoctor-pdf -a reproducible -a pdf-page-size=letter -o foo.pdf foo.adoc
/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2242:in `raise_if_conflicts': Unable to activate prawn-2.4.0, because pdf-core-0.10.0 conflicts with pdf-core (~> 0.9.0) (Gem::ConflictError)
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `activate'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1423:in `block in activate_dependencies'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `each'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `activate_dependencies'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1389:in `activate'
	from /usr/lib/ruby/vendor_ruby/rubygems.rb:215:in `rescue in try_activate'
	from /usr/lib/ruby/vendor_ruby/rubygems.rb:208:in `try_activate'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `block in require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `synchronize'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `rescue in require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:135:in `require'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn/extensions.rb:5:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn.rb:18:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn.rb:18:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext.rb:6:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext.rb:6:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf.rb:20:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf.rb:20:in `<top (required)>'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/bin/asciidoctor-pdf:7:in `<main>'
/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:2242:in `raise_if_conflicts': Unable to activate prawn-2.4.0, because pdf-core-0.10.0 conflicts with pdf-core (~> 0.9.0) (Gem::ConflictError)
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `activate'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1423:in `block in activate_dependencies'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `each'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `activate_dependencies'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1389:in `activate'
	from /usr/lib/ruby/vendor_ruby/rubygems.rb:209:in `try_activate'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `block in require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `synchronize'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `rescue in require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:135:in `require'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn/extensions.rb:5:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn.rb:18:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn.rb:18:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext.rb:6:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext.rb:6:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf.rb:20:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf.rb:20:in `<top (required)>'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/bin/asciidoctor-pdf:7:in `<main>'
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- prawn/icon (LoadError)
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn/extensions.rb:5:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn.rb:18:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext/prawn.rb:18:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext.rb:6:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf/ext.rb:6:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf.rb:20:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/asciidoctor/pdf.rb:20:in `<top (required)>'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /usr/bin/asciidoctor-pdf:7:in `<main>'
----

This is true for any file, but the file I have tested above is as follows:

----
= Document

Hello, world!
----

I have also found that the older syntax fails to work for similar
reasons:

----
% asciidoctor -r asciidoctor/pdf -a reproducible -a pdf-page-size=letter -o foo.pdf foo.adoc
asciidoctor: FAILED: 'asciidoctor/pdf' could not be loaded
  Use --trace to show backtrace
----

Could you maybe try to get this fixed?

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.9+deb14-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages asciidoctor-pdf depends on:
ii  ruby                  1:3.3+b1
ii  ruby-asciidoctor-pdf  2.3.19-3

asciidoctor-pdf recommends no packages.

asciidoctor-pdf suggests no packages.

-- no debconf information

-- 
brian m. carlson (they/them)
Toronto, Ontario, CA
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sat Jan 17 03:19:09 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.