Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1969480

Summary: LaTeXML-0.8.5-3.fc35 FTBFS: t/83_expl3.t fails: Error:expected:{} Missing argument {} for Core::Definition::Expandable[\@expl@push@filename@aux@@ {}{}{}] at xparse.sty
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: LaTeXMLAssignee: W. Michael Petullo <mike>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mike, redhat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/LaTeXML?collection=f35
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-24 06:42:27 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: 1927309    

Description Petr Pisar 2021-06-08 13:59:13 UTC
LaTeXML-0.8.5-3.fc35 fails to build in Fedora 35 because a test fails:

t/82_moderncv.t ........... ok
Error:expected:{} Missing argument {} for Core::Definition::Expandable[\@expl@push@filename@aux@@ {}{}{}]
	at xparse.sty; line 61 col 0 - line 61 col 3
	Ended at xparse.sty; line 61 col 0 - line 61 col 3
	Input is empty
	In Core::Definition::Expandable[\@expl@p... /usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty; from line 192 col 0 to line 192 col 3
	 <= Core::Gullet[@0x142e83c98] <= Core::Stomach[@0x142e81b30] <= Core::Definition::Constructor[\Requir... <= ...
Error:expected:{} Missing argument {} for Core::Definition::Expandable[\@expl@push@filename@aux@@ {}{}{}]
	at xparse.sty; line 61 col 0 - line 61 col 3
	Ended at xparse.sty; line 61 col 0 - line 61 col 3
	Input is empty
	In Core::Definition::Expandable[\@expl@p... /usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty; from line 192 col 0 to line 192 col 3
	 <= Core::Gullet[@0x142e83c98] <= Core::Stomach[@0x142e81b30] <= Core::Definition::Constructor[\Requir... <= ...
Error:expected:{} Missing argument {} for Core::Definition::Expandable[\@expl@push@filename@aux@@ {}{}{}]
	at xparse.sty; line 61 col 0 - line 61 col 3
	Ended at xparse.sty; line 61 col 0 - line 61 col 3
	Input is empty
	In Core::Definition::Expandable[\@expl@p... /usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty; from line 192 col 0 to line 192 col 3
	 <= Core::Gullet[@0x142e83c98] <= Core::Stomach[@0x142e81b30] <= Core::Definition::Constructor[\Requir... <= ...
Error:unexpected:undef Unexpected input remaining: 'undef'
	at xparse.sty.ltxml; line 19
	Finished reading from Mouth[/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty@0x0], but it still has input.
	Input is empty
	In Core::Gullet[@0x142e83c98] /builddir/build/BUILD/LaTeXML-0.8.5/blib/lib/LaTeXML/Package/xparse.sty.ltxml; line 19
	 <= Core::Definition::Constructor[\usepac... <= Core::Stomach[@0x142e81b30] <= ...
Error:unexpected:T_CS[\NewDocumentCommand] Unexpected input remaining: 'T_CS[\NewDocumentCommand]'
	at xparse.tex; line 4 col 19 - line 4 col 19
	Finished reading from Mouth[/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty@0x0], but it still has input.
	Next token is T_BEGIN[{]
	In Core::Gullet[@0x142e83c98] /builddir/build/BUILD/LaTeXML-0.8.5/t/expl3/xparse.tex; from line 4 col 21 to line 4 col 21
	 <= Core::Definition::Constructor[\usepac... <= Core::Stomach[@0x142e81b30] <= ...
Error:unexpected:<closed> Mouth is unexpectedly already closed
	at String; line 0 col 0 - line 0 col 0
	Reading from Mouth[/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty@0x0], but it has already been closed.
	Input is empty
	In Core::Gullet[@0x142e83c98] Anonymous String; from line 1 col 0 to line 1 col 0
	 <= Core::Definition::Constructor[\usepac... <= Core::Stomach[@0x142e81b30] <= ...
Error:unexpected:<closed> Mouth is unexpectedly already closed
	at String; line 1 col 0 - line 1 col 0
	Reading from Mouth::Binding[/builddir/build/BUILD/LaTeXML-0.8.5/blib/lib/LaTeXML/Package/xparse.sty.ltxml], but it has already been closed.
	Input is empty
	In Core::Gullet[@0x142e83c98] Anonymous String; from line 2 col 0 to line 2 col 0
	 <= Core::Definition::Constructor[\usepac... <= Core::Stomach[@0x142e81b30] <= ...
#   Failed test 't/expl3/xparse'
#   at /builddir/build/BUILD/LaTeXML-0.8.5/blib/lib/LaTeXML/Util/Test.pm line 112.
# Couldn't convert dom to string: :2: parser error : Start tag expected, '<' not found
# 
# ^
# Looks like you failed 1 test of 3.
t/83_expl3.t .............. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/10388726>. An upgrade of texlive from 9:svn54074-38.fc35 to 9:svn57862-40.fc35 looks suspicious.

Comment 1 Fedora Release Engineering 2021-07-11 04:23:01 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-08-03).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 2 W. Michael Petullo 2021-07-12 17:40:38 UTC
I will take a look at this.

Comment 3 W. Michael Petullo 2021-07-12 17:57:19 UTC
See also https://github.com/brucemiller/LaTeXML/issues/1565.

Comment 4 W. Michael Petullo 2021-07-21 20:59:14 UTC
Made progress by backporting https://github.com/brucemiller/LaTeXML/pull/1547.

Comment 5 W. Michael Petullo 2021-07-24 06:42:27 UTC
Fixed by backporting the patch at https://github.com/brucemiller/LaTeXML/pull/1578. I will package the next release once it is available.