RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2210326 - Fix rdoc parsing of nil text tokens
Summary: Fix rdoc parsing of nil text tokens
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ruby
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jarek Prokop
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-26 15:28 UTC by Todd Zullinger
Modified: 2023-11-14 17:03 UTC (History)
5 users (show)

Fixed In Version: ruby-2.5-8090020230627084142.b46abd14
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-14 15:35:34 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/rpms ruby merge_requests 15 0 None opened Fix rdoc parsing of nil text tokens (rhbz#2210326) 2023-05-26 15:37:41 UTC
Gitlab redhat/centos-stream/rpms ruby merge_requests 16 0 None merged Fix rdoc parsing of nil text tokens + backport moderate CVEs. 2023-07-10 07:30:38 UTC
Red Hat Issue Tracker RHELPLAN-158317 0 None None None 2023-05-26 15:31:27 UTC
Red Hat Product Errata RHSA-2023:7025 0 None None None 2023-11-14 15:35:46 UTC

Description Todd Zullinger 2023-05-26 15:28:05 UTC
With ruby < 2.6.0 / rdoc < 6.0.2, rdoc fails to parse valid ruby code, resulting in build failures.  An example is asciidoctor > 2.0.15 (though 2.0.20, currently)

While attempting to build asciidoctor-2.0.20 for Fedora and RHEL+EPEL releases, I ran into the following error on RHEL+EPEL 8:

    Installing ri documentation for asciidoctor-2.0.20
    Installing darkfish documentation for asciidoctor-2.0.20
    ERROR:  While executing gem ... (RDoc::Error)
        error generating Asciidoctor/Converter/ManPageConverter.html: no implicit conversion of nil into String (TypeError)

I have reported this upstream as well:

    https://github.com/asciidoctor/asciidoctor/issues/4462

I will submit a merge request to backport the small rdoc fix.

Comment 1 Jun Aruga 2023-05-29 10:13:13 UTC
Note the PR is <https://gitlab.com/redhat/centos-stream/rpms/ruby/-/merge_requests/15>.

Comment 6 Jarek Prokop 2023-07-10 07:30:39 UTC
Fix included with CVE backports in MR: https://gitlab.com/redhat/centos-stream/rpms/ruby/-/merge_requests/16

Comment 9 errata-xmlrpc 2023-11-14 15:35:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: ruby:2.5 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:7025


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