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 1951246 - rubygem-kramdown: FTBFS in Red Hat Enterprise Linux 9 CentOS Stream
Summary: rubygem-kramdown: FTBFS in Red Hat Enterprise Linux 9 CentOS Stream
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rubygem-kramdown
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Vít Ondruch
QA Contact: David Jež
URL:
Whiteboard:
: 1915908 1957342 (view as bug list)
Depends On:
Blocks: RHEL9BetaFTBFS 1952517 1957342 1960650
TreeView+ depends on / blocked
 
Reported: 2021-04-19 21:20 UTC by Mohan Boddu
Modified: 2021-12-07 22:00 UTC (History)
8 users (show)

Fixed In Version: rubygem-kramdown-2.3.1-3.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1960650 (view as bug list)
Environment:
Last Closed: 2021-12-07 21:57:54 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2021-04-19 21:20 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2021-04-19 21:20 UTC, Mohan Boddu
no flags Details
state.log (1.13 KB, text/plain)
2021-04-19 21:20 UTC, Mohan Boddu
no flags Details

Description Mohan Boddu 2021-04-19 21:20:24 UTC
rubygem-kramdown failed to build from source in Red Hat Enterprise Linux 9 CentOS Stream

https://kojihub.stream.rdu2.redhat.com//koji/taskinfo?taskID=247461


For details on the mass rebuild see:

Please fix rubygem-kramdown at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it.

Comment 1 Mohan Boddu 2021-04-19 21:20:27 UTC
Created attachment 1773418 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Mohan Boddu 2021-04-19 21:20:28 UTC
Created attachment 1773419 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Mohan Boddu 2021-04-19 21:20:29 UTC
Created attachment 1773420 [details]
state.log

Comment 4 Vít Ondruch 2021-05-07 14:40:26 UTC
Hi @Than,

could you please take a look. It seems that the reason for the failure is:

~~~
LaTeX Error: File `xpatch.sty' not found.
~~~

This works on Fedora and there is also:

~~~
$ sudo dnf repoquery -q --disablerepo=* --enablerepo=rawhide --whatprovides 'tex(xpatch.sty)'
texlive-xpatch-9:svn54563-38.fc35.noarch
~~~

which does not seems to be case on RHEL9. As far as I can tell, there is missing `Source5716: https://ctan.math.illinois.edu/systems/texlive/tlnet/archive/xpatch.tar.xz` in RHEL9. Is this intentional?

There is actually this [1] commit in RHEL8, which disabled most of the test cases. However, I am not sure how I figured this out that time ¯\_(ツ)_/¯



[1] https://src.osci.redhat.com/rpms/rubygem-kramdown/c/ddb73473b8448da4ed559d5763bc8bba9aa0c057?branch=rhel-8.5.0

Comment 5 Than Ngo 2021-05-07 14:43:47 UTC
Hi Vit,

sure, it seems we need to add xpatch.sty in texlive, i will have a look at this.

Comment 6 Vít Ondruch 2021-05-12 12:18:44 UTC
@Than any estimate when you could have some cycles to work on this? I don't want to put pressure on you, I am just asking because I'm still considering to just disable the specific test cases to unblock other work such as package removal from RHEL9 + git-lfs update, etc. I don't think this functionality would be essential for Kramdown.

Comment 7 Than Ngo 2021-05-12 13:04:56 UTC
Hi Vit,

i don't like to include xpatch.sty in texlive because it makes texlive bigger. Our goal for RHEL9 is to keep the texlive package as small as possible.

I have looked at the FTBFS place, it only happens when testing. I will suggest to disable this test.

Would the suggestion be acceptable to you?

Thanks!

Comment 8 Vít Ondruch 2021-05-13 09:57:08 UTC
(In reply to Than Ngo from comment #7)
> Hi Vit,
> 
> i don't like to include xpatch.sty in texlive because it makes texlive
> bigger. Our goal for RHEL9 is to keep the texlive package as small as
> possible.
> 
> I have looked at the FTBFS place, it only happens when testing. I will
> suggest to disable this test.
> 
> Would the suggestion be acceptable to you?

I am fine with disabling the test cases. It will look similar to RHEL8. I'll refer to this ticket, so next time we don't need to re-evaluate ;)

Thx for looking into this.

Comment 10 Vít Ondruch 2021-05-13 13:41:30 UTC
@Than: actually, digging a bit deeper, I wonder if you are sure xpatch.sty can be omitted. It seems that the dependency chain is:

scrartcl.cls > xpatch.sty if (amsthm.sty is used)

Given that scrartcl.cls and amsthm.sty are shipped, they can also be used by other users then just Kramdown test suite. I just want to doublecheck that the possible breakage is expected.

Just FTR, this is short reproducer:

~~~
$ cat << EOF | latex
\documentclass{scrartcl}
\usepackage{amsthm}
\begin{document}
\end{document}
EOF
~~~

Comment 11 Vít Ondruch 2021-05-14 14:01:27 UTC
(In reply to Vít Ondruch from comment #10)
I have created bug 1960650 to track this separately in the texlive context and moved forward with the rubygem-kramdown:

https://gitlab.com/redhat/centos-stream/rpms/rubygem-kramdown/-/merge_requests/1

Comment 16 Vít Ondruch 2021-06-18 11:03:22 UTC
*** Bug 1957342 has been marked as a duplicate of this bug. ***

Comment 17 Vít Ondruch 2021-06-18 11:03:34 UTC
*** Bug 1915908 has been marked as a duplicate of this bug. ***


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