Bug 1589030 - rubygem-asciidoctor-pdf not installable
Summary: rubygem-asciidoctor-pdf not installable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-asciidoctor-pdf
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: François Cami
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1553711
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-08 09:11 UTC by marianne@tuxette.fr
Modified: 2018-10-29 14:25 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-29 14:25:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description marianne@tuxette.fr 2018-06-08 09:11:40 UTC
Description of problem:
Package is not installable due to dependency conflicts

Version-Release number of selected component (if applicable):
0.2.alpha.13.fc26

How reproducible:
Trying to install package


Actual results:
 dnf install rubygem-asciidoctor-pdf
Dernière vérification de l’expiration des métadonnées effectuée il y a 0:05:02 le ven. 08 juin 2018 11:05:34 CEST.
Erreur : 
 Problème: package rubygem-asciidoctor-pdf-1.5.0-0.2.alpha.13.fc26.noarch requires rubygem(prawn-templates) >= 0.0.3, but none of the providers can be installed
  - conflicting requests
  - nothing provides rubygem(pdf-reader) < 2 needed by rubygem-prawn-templates-0.0.4-4.fc28.noarch


Expected results:
Working package installation


Additional info:
I'm using a up-to-date Fedora 28

Comment 1 Eric Lavarde 2018-06-16 10:36:20 UTC
This bug is a consequence of BZ #1553711 (which _might_ itself be a dependency of #1433327 as it could be that version 0.0.4 can't be built against rubygem-pdf-reader >= 2 but a new version could be).

Comment 2 Claude Frantz 2018-09-25 16:17:17 UTC
I confirm this bug, which occurs here also.

Comment 3 François Cami 2018-10-08 21:44:26 UTC
Updated builds of rubygem-prawn-templates are available now:

rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1151592
f29: https://koji.fedoraproject.org/koji/buildinfo?buildID=1151594
f28: https://koji.fedoraproject.org/koji/buildinfo?buildID=1151593

Please test and add karma to the following errata:

rubygem-prawn-templates-0.0.4-6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2a8a48d11c

rubygem-prawn-templates-0.0.4-6.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4ffa161002

Comment 4 Eric Lavarde 2018-10-09 08:19:39 UTC
It fails for me:

- installation of asciidoctor-pdf works with --enablerepo=updates-testing (which is an improvement)
- but asciidoctor-pdf fails where asciidoctor succeeds, with following error:

$ asciidoctor-pdf README.adoc 
Traceback (most recent call last):
	10: from /usr/bin/asciidoctor-pdf:23:in `<main>'
	 9: from /usr/bin/asciidoctor-pdf:23:in `load'
	 8: from /usr/share/gems/gems/asciidoctor-pdf-1.5.0.alpha.13/bin/asciidoctor-pdf:4:in `<top (required)>'
	 7: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:59:in `require'
	 6: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:59:in `require'
	 5: from /usr/share/gems/gems/asciidoctor-pdf-1.5.0.alpha.13/lib/asciidoctor-pdf.rb:3:in `<top (required)>'
	 4: from /usr/share/gems/gems/asciidoctor-pdf-1.5.0.alpha.13/lib/asciidoctor-pdf.rb:3:in `require_relative'
	 3: from /usr/share/gems/gems/asciidoctor-pdf-1.5.0.alpha.13/lib/asciidoctor-pdf/converter.rb:6:in `<top (required)>'
	 2: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:59:in `require'
	 1: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/share/gems/gems/prawn-templates-0.0.4/lib/prawn/templates.rb:254:in `<top (required)>': can't modify frozen Array (FrozenError)

I had installed with `gem` asciidoctor-pdf, and tried also https://copr-be.cloud.fedoraproject.org/results/evgeni/asciidoctor-pdf, but I have removed all gems and all binaries (even deleting ~/.gem).

$ rpm -qa | grep -e prawn -e pdf-core -e asciidoctor -e ttfunk
rubygem-prawn-2.2.2-1.fc28.noarch
rubygem-pdf-core-0.7.0-1.fc28.noarch
rubygem-prawn-svg-0.25.2-4.fc28.noarch
rubygem-asciidoctor-1.5.6.1-2.fc28.noarch
rubygem-ttfunk-1.5.1-1.fc28.noarch
rubygem-prawn-table-0.2.2-6.fc28.noarch
rubygem-asciidoctor-doc-1.5.6.1-2.fc28.noarch
rubygem-prawn-icon-1.3.0-4.fc28.noarch
rubygem-prawn-templates-0.0.4-6.fc28.noarch
rubygem-asciidoctor-pdf-1.5.0-0.2.alpha.13.fc26.noarch
$ rpm -qf /usr/share/rubygems/rubygems/core_ext/kernel_require.rb
rubygems-2.7.6-93.fc28.noarch

I have little knowledge of Ruby and gem, let me know if I can provide more information (or if I did something wrong).

Comment 5 Eric Lavarde 2018-10-09 08:58:15 UTC
Sorry, with a little help of pcfe, I fixed my issue:

- sudo package-cleanup --orphans --enablerepo=updates-testing => identified outdated packages I had missed
- packages removed and reinstalled from correct repo
- everything looks good now -> karma on its way! Thanks a lot.

Comment 6 François Cami 2018-10-09 09:22:52 UTC
Thanks for reporting it works for you now, you had me worried for a moment!

Comment 7 Claude Frantz 2018-10-09 13:05:52 UTC
Now, it works for me again. Many thanks !

Comment 8 François Cami 2018-10-12 13:18:18 UTC
Marianne, could you please confirm that with https://bodhi.fedoraproject.org/updates/FEDORA-2018-2a8a48d11c the bug is fixed for you?

Comment 9 marianne@tuxette.fr 2018-10-29 14:20:16 UTC
Works for me 
Thanks !

Comment 10 François Cami 2018-10-29 14:25:17 UTC
Thanks for confirming!
I'm closing this.


Note You need to log in before you can comment on or make changes to this bug.