[DRE-maint] Bug#952637: ruby-asciidoctor-pdf: FTBFS: Could not find 'concurrent-ruby' (~> 1.0.5) - did find: [concurrent-ruby-1.1.6]
Pirate Praveen
praveen at onenetbeyond.org
Wed Feb 26 17:32:35 GMT 2020
Package: ruby-asciidoctor-pdf
Version: 1.5.0~alpha.17.dev-6.1
Severity: serious
Control: tags -1 patch
With recent upload to ruby-concurrent to 1.1.6, ruby-asciidoctor-pdf
started FTBFS because the dependency declared in gemspec is too strict.
┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby2.5
│
└──────────────────────────────────────────────────────────────────────────────┘
GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-asciidoctor-pdf/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0
ruby2.5 -e gem\ \"asciidoctor-pdf\"
/usr/lib/ruby/2.5.0/rubygems/dependency.rb:312:in `to_specs': Could not
find 'concurrent-ruby' (~> 1.0.5) - did find: [concurrent-ruby-1.1.6]
(Gem::MissingSpecVersionError)
It can be fixed easily with a patch,
commit 0a0cd710110b8445fc5ea5abeb809c97b40b0518
Author: Pirate Praveen <praveen at debian.org>
Date: Wed Feb 26 22:58:15 2020 +0530
Relax dependencies of stable libraries
diff --git a/asciidoctor-pdf.gemspec b/asciidoctor-pdf.gemspec
index b66e4ba..8ec4524 100644
--- a/asciidoctor-pdf.gemspec
+++ b/asciidoctor-pdf.gemspec
@@ -47,9 +47,9 @@ An extension for Asciidoctor that converts AsciiDoc
documents to PDF using the P
# prawn-svg >= 0.22.1 requires Ruby >= 2.0.0, so we must cast a
wider net to support Ruby 1.9.3
s.add_runtime_dependency 'prawn-svg', '>= 0.28.0'
s.add_runtime_dependency 'prawn-icon', '>= 1.4.0'
- s.add_runtime_dependency 'safe_yaml', '~> 1.0.4'
+ s.add_runtime_dependency 'safe_yaml', '~> 1.0', '>= 1.0.4'
s.add_runtime_dependency 'thread_safe', '~> 0.3.6'
- s.add_runtime_dependency 'concurrent-ruby', '~> 1.0.5'
+ s.add_runtime_dependency 'concurrent-ruby', '~> 1.0', '>= 1.0.5'
# For our usage, treetop 1.6.2 is slower than 1.5.3
s.add_runtime_dependency 'treetop', '>= 1.5.3'
end
I have also sent a merge request
<https://salsa.debian.org/keithp/asciidoctor-pdf/-/merge_requests/4>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20200226/22a8c6c2/attachment.html>
More information about the Pkg-ruby-extras-maintainers
mailing list