Bug 275957

Summary: textproc/rubygem-asciidoctor-pdf: Allow work with rubygem-prawn-svg 0.33.0+
Product: Ports & Packages Reporter: Danilo G. Baio <dbaio>
Component: Individual Port(s)Assignee: Danilo G. Baio <dbaio>
Status: Closed FIXED    
Severity: Affects Many People CC: fernape
Priority: --- Flags: dbaio: maintainer-feedback+
dbaio: merge-quarterly+
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/asciidoctor/asciidoctor-pdf/commit/cd71092a5c5c86b9770359a0f1bd7c60b9dce7ea
Attachments:
Description Flags
rubygem-asciidoctor-pdf_rubygem-prawn-svg.patch
none
rubygem-asciidoctor-pdf_rubygem-prawn-svg-v02.patch none

Description Danilo G. Baio freebsd_committer freebsd_triage 2023-12-27 02:44:39 UTC
Created attachment 247276 [details]
rubygem-asciidoctor-pdf_rubygem-prawn-svg.patch

The last update of print/rubygem-prawn-svg broke textproc/rubygem-asciidoctor-pdf and all our misc/freebsd-doc-* ports.

https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p384f6f077a9c_s1ff41cad71/logs/en-freebsd-doc-20231208,1.log
https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p384f6f077a9c_s1ff41cad71/logs/en-freebsd-doc-20231208,1.log

asciidoctor build_pdf: articles en bsdl-gpl
/usr/local/lib/ruby/site_ruby/3.1/rubygems/specification.rb:1477:in `rescue in block in activate_dependencies': Could not find 'prawn-svg' (~> 0.32.0) among 23 total gem(s) (Gem::MissingSpecError)
Comment 1 Danilo G. Baio freebsd_committer freebsd_triage 2023-12-27 02:47:37 UTC
Created attachment 247277 [details]
rubygem-asciidoctor-pdf_rubygem-prawn-svg-v02.patch
Comment 2 Fernando ApesteguĂ­a freebsd_committer freebsd_triage 2024-01-08 07:58:17 UTC
This happens also in 2024Q1 as reported in bug #276167.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-01-10 00:00:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=af747c350b9477460c7d606dc0a2a801ce803663

commit af747c350b9477460c7d606dc0a2a801ce803663
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-12-27 02:39:47 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2024-01-09 23:58:12 +0000

    textproc/rubygem-asciidoctor-pdf: Allow work with rubygem-prawn-svg 0.33.0+

    Obtained from:  https://github.com/asciidoctor/asciidoctor-pdf/commit/cd71092a5c5c86b9770359a0f1bd7c60b9dce7ea

    PR:             275957
    Approved by:    maintainer timeout

 textproc/rubygem-asciidoctor-pdf/Makefile                 |  1 +
 ...h-rubygem-prawn-icon => patch-asciidoctor-pdf.gemspec} | 15 ++++++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-01-10 00:05:08 UTC
A commit in branch 2024Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8db33f5bcac0c07921728d8d7ba795c6e7aa6fda

commit 8db33f5bcac0c07921728d8d7ba795c6e7aa6fda
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-12-27 02:39:47 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2024-01-10 00:03:28 +0000

    textproc/rubygem-asciidoctor-pdf: Allow work with rubygem-prawn-svg 0.33.0+

    Obtained from:  https://github.com/asciidoctor/asciidoctor-pdf/commit/cd71092a5c5c86b9770359a0f1bd7c60b9dce7ea

    PR:             275957
    Approved by:    maintainer timeout

    (cherry picked from commit af747c350b9477460c7d606dc0a2a801ce803663)

 textproc/rubygem-asciidoctor-pdf/Makefile                 |  1 +
 ...h-rubygem-prawn-icon => patch-asciidoctor-pdf.gemspec} | 15 ++++++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)