Bug 2210326
| Summary: | Fix rdoc parsing of nil text tokens | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Todd Zullinger <tmz> |
| Component: | ruby | Assignee: | Jarek Prokop <jprokop> |
| Status: | VERIFIED --- | QA Contact: | Lukáš Zachar <lzachar> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | CentOS Stream | CC: | bstinson, jaruga, jprokop, jwboyer, pvalena |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ruby-2.5-8090020230627084142.b46abd14 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Note the PR is <https://gitlab.com/redhat/centos-stream/rpms/ruby/-/merge_requests/15>. Fix included with CVE backports in MR: https://gitlab.com/redhat/centos-stream/rpms/ruby/-/merge_requests/16 |
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.