Bug 2488672

Summary: jadetex: "Undefined control sequence \c_sys_backend_str"
Product: [Fedora] Fedora Reporter: Jason Montleon <jason>
Component: texlive-baseAssignee: Tom "spot" Callaway <spotrh>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: omosnacek, spotrh, than
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
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: 2488671    

Description Jason Montleon 2026-06-13 05:29:16 UTC
libkcapi build fails with the error message:

pdfjadetex aborts at \begin{document} with:
! Undefined control sequence.
<argument> \c_sys_backend_str

The current kernel \document (texmf-dist/tex/latex/base/latex.ltx) runs
\@expl@sys@load@backend@@ during \begin{document} and that step loads the
output backend that defines \c_sys_backend_str. 

jadetex's copy omits this step, so \c_sys_backend_str is never created.

Starting in https://github.com/latex3/hyperref/commit/e6d9094 hyperref reads \c_sys_backend_str inside a begindocument hook.

Adding at line 1312 in texmf-dist/tex/jadetex/base/jadetex.ltx allow libkcapi build to finish successfully:
\ifdefined\@expl@sys@load@backend@@ \@expl@sys@load@backend@@ \fi

Reproducible: Always

Steps to Reproduce:
1. Try to build the latest libkcapi on Rawhide or Fedora 44
Actual Results:
Build fails with:
! Undefined control sequence.
<argument> \c_sys_backend_str

Expected Results:
Build succeeeds