texlive-latex-graphics: non-deterministic build failure

OpenSubmitted by Chris Marusich.
Details
2 participants
  • Chris Marusich
  • Ludovic Courtès
Owner
unassigned
Severity
important
Merged with
C
C
Chris Marusich wrote on 15 May 23:02 +0200
(address . bug-guix@gnu.org)
87y2cfsobn.fsf@gmail.com
Hi,
On commit 100281dd200d0a59958fb17dc6de75d3913e2b7a, the build fortexlive-latex-graphics sometimes fails and sometimes succeeds. Toreproduce the issue, just try "guix build texlive-latex-graphics" or"guix build --check texlive-latex-graphics" a few times. I used thiscumbersome one-liner to try it a bunch:
while :; do if ./pre-inst-env guix build --cores=1 --check texlive-latex-graphics; then echo SUCCESS; else echo FAIL; fi; done 2>&1 | tee /tmp/out
Then you can summarize the results with another cumbersome one-linerlike this:
cat /tmp/out | grep -e ^FAIL -e ^SUCCESS | sort | uniq -c | awk '{arr[$2] = $1; arr["TOTAL"] += $1} END {for (i in arr) printf("%5d (%6.2f%%): %s\n", arr[i], 100*arr[i]/arr["TOTAL"], i)}'
This failure happens on powerpc64le-linux and x86_64-linux. It mighthappen on other architectures; I didn't test them. In my testing, ithappened about 18% of the time on powerpc64le-linux, and about 1% of thetime on x86_64-linux.
Here is the error from the powerpc64le-linux case. Except for the storepaths, the error is identical to the x86_64-linux case:
Toggle snippet (30 lines)Generating file(s) dvipdf.def dvipsone.def dviwin.def emtex.def pctexps.def pctex32.def pctexhp.def pctexwin.def truetex.def tcidvi.def dvipsnam.def
Processing file drivers.dtx (dvipdf,color1,psrulesZ) -> dvipdf.def (tiffrules,dvipsone,color1,dosrules,psrules) -> dvipsone.def (dviwin,nops) -> dviwin.def (emtex,dosrules,nops) -> emtex.def (pctexps,color3,colorfix) -> pctexps.def (pctex32,color1) -> pctex32.def (pctexhp,nops) -> pctexhp.def (pctexwin,nops) -> pctexwin.def (truetex,color4,nops) -> truetex.def (tcidvi,color4,nops) -> tcidvi.def (dvipsnames) -> dvipsnam.defLines processed: 1701Comments removed: 776Comments passed: 9Codelines passed: 757
)warning (pdf backend): no pages of output.Transcript written on graphics-drivers.log.realloc(): invalid next sizecommand "luatex" "-interaction=nonstopmode" "-output-directory=build" "&luatex" "graphics-drivers.ins" failed with signal 6builder for `/gnu/store/r6xcixwj7y2336lg68clqck74prckzbd-texlive-latex-graphics-51265.drv' failed with exit code 1build of /gnu/store/r6xcixwj7y2336lg68clqck74prckzbd-texlive-latex-graphics-51265.drv failedView build log at '/var/log/guix/drvs/r6/xcixwj7y2336lg68clqck74prckzbd-texlive-latex-graphics-51265.drv.bz2'.guix build: error: build of `/gnu/store/r6xcixwj7y2336lg68clqck74prckzbd-texlive-latex-graphics-51265.drv' failedFAIL
Signal 6 is SIGABRT on these systems; I'm not sure what the failuremeans or what might be causing it, but I haven't dug into it much yet.
-- Chris
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmCgNtwVHGNtbWFydXNpY2hAZ21haWwuY29tAAoJEN1AmhXYIkadyTAQAI48MvN/mWRVyi97wUHU3rB+BuClI32nXN/Kv6A5eCNeg1o4Z3meis1srF3hOVMNZK1Ks85Od+SAfjQHmYpzSzZ8YkdEW14EocW4ZDOyxN1Ap8CMv3UZBGadTZB8BCDC8FPCRpHYbYb02N/M630LWsKPncIP6j8G3JH/ASXpB2xeqj7O0emB/GAQXF4aCwt05lOQLyTmmy1gQSN3WUB7jf4kSiFYflr8VCqqaguveUwYRRPUmfGOtEM5bqGuD5JEKdqYKNov9auLlCiQRYKSBV8udOZEOfll4o3GBAyTD6oHTe4Uo6R3ZMOukzsJea1/E3mQ3+wPzMPNK9QVSIfM7IKJsnc5A78LGoOKwtf7KiLX4R5jpVAMbR7+HKHLLwo5oJlXw1fKr5xH+loSKh6imu+9LxzkiMWDXeRhgHu5JhICdQZKKcnH6b/2hqRgnv34OLOJsxg/vSwOXF6u50ldrvE0O/CFpUgPb4yHUvWlUUZSUO04mwDBerUse6wAq/hqt+W6TYDXJw11DBNuSvdVCP4gk607CvYfysz/EAM/2PwUHZg27FHRP7LaaOgJvDyeJpGxuvGDWEih88uIltAEu5N55OcgngOjEJtVMURHxu9imsMJaIROZaSOTu9au3GttVB3vv7mzuXNN5naOlP6hIlimYsJJdquULkAvRPI3FzB=JvYq-----END PGP SIGNATURE-----
L
L
Ludovic Courtès wrote on 21 May 23:37 +0200
control message for bug #48064
(address . control@debbugs.gnu.org)
87cztj7oq6.fsf@gnu.org
merge 48064 48455quit
L
L
Ludovic Courtès wrote on 21 May 23:38 +0200
Re: bug#48455: texlive-latex-graphics: non-deterministic build failure
(name . Chris Marusich)(address . cmmarusich@gmail.com)(address . 48455@debbugs.gnu.org)
878s477ool.fsf@gnu.org
Hi,
Chris Marusich <cmmarusich@gmail.com> skribis:
Toggle quote (5 lines)> warning (pdf backend): no pages of output.> Transcript written on graphics-drivers.log.> realloc(): invalid next size> command "luatex" "-interaction=nonstopmode" "-output-directory=build" "&luatex" "graphics-drivers.ins" failed with signal 6
I observed similar issues on several texlive packages:
https://issues.guix.gnu.org/48064
Ludo’.
L
L
Ludovic Courtès wrote on 29 Jun 12:42 +0200
control message for bug #48064
(address . control@debbugs.gnu.org)
87zgv9rly7.fsf@gnu.org
severity 48064 importantquit
?