Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2031879

Summary: texlive-texlive-scripts ships an invalid symlink to mktexmf
Product: Red Hat Enterprise Linux 9 Reporter: Frantisek Sumsal <frantisek>
Component: texliveAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Jakub Haruda <jharuda>
Severity: high Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, jharuda, jwboyer, paul
Target Milestone: rcKeywords: Triaged
Target Release: 9.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: texlive-20200406-25.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:14:37 UTC 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:
Bug Depends On:    
Bug Blocks: 2029481    

Description Frantisek Sumsal 2021-12-13 16:09:22 UTC
Description of problem:
When trying to rebuild libtommath for EPEL 9 I noticed that the build fails because of missing `mktexmf` script, even though texlive-texlive-scripts is installed. The root cause seems to be the invalid /usr/bin/mktexmf symlink, which points to /usr/share/texlive/texmf instead of /usr/share/texlive/texmf-dist/scripts/texlive/mktexmf.

Version-Release number of selected component (if applicable):
texlive-texlive-scripts-20200406-23.el9.noarch

How reproducible:
always

Steps to Reproduce:
# dnf -y install texlive-texlive-scripts
# /usr/bin/mktexmf
bash: /usr/bin/mktexmf: No such file or directory
# stat /usr/bin/mktexmf
  File: /usr/bin/mktexmf -> /usr/share/texlive/texmf
  Size: 24        	Blocks: 0          IO Block: 4096   symbolic link
Device: 70h/112d	Inode: 15867691    Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2021-12-13 15:49:03.745785713 +0000
Modify: 2021-10-28 14:13:30.000000000 +0000
Change: 2021-12-13 15:48:52.138737760 +0000
 Birth: -

# stat -L /usr/bin/mktexmf
stat: cannot statx '/usr/bin/mktexmf': No such file or directory

# stat /usr/share/texlive/texmf-dist/scripts/texlive/mktexmf
  File: /usr/share/texlive/texmf-dist/scripts/texlive/mktexmf
  Size: 4007      	Blocks: 8          IO Block: 4096   regular file
Device: 70h/112d	Inode: 20186388    Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2021-12-13 16:04:51.680424508 +0000
Modify: 2021-10-28 14:14:19.000000000 +0000
Change: 2021-12-13 15:48:52.151737813 +0000
 Birth: -

Comment 1 Than Ngo 2022-02-04 13:47:51 UTC
i can reproduce this problem. It should be symlink to /usr/share/texlive/texmf-dist/scripts/texlive/mktexmf

Comment 6 Than Ngo 2022-02-14 15:59:22 UTC
it is fixed in texlive-20200406-25.el9

Comment 12 errata-xmlrpc 2022-05-17 13:14:37 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 (new packages: texlive), 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/RHBA-2022:2480