unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: 48455@debbugs.gnu.org
Subject: bug#48455: texlive-latex-graphics: non-deterministic build failure
Date: Sat, 15 May 2021 14:02:20 -0700	[thread overview]
Message-ID: <87y2cfsobn.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3070 bytes --]

Hi,

On commit 100281dd200d0a59958fb17dc6de75d3913e2b7a, the build for
texlive-latex-graphics sometimes fails and sometimes succeeds.  To
reproduce the issue, just try "guix build texlive-latex-graphics" or
"guix build --check texlive-latex-graphics" a few times.  I used this
cumbersome 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-liner
like 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 might
happen on other architectures; I didn't test them.  In my testing, it
happened about 18% of the time on powerpc64le-linux, and about 1% of the
time on x86_64-linux.

Here is the error from the powerpc64le-linux case. Except for the store
paths, the error is identical to the x86_64-linux case:

--8<---------------cut here---------------start------------->8---
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.def
Lines  processed: 1701
Comments removed: 776
Comments  passed: 9
Codelines passed: 757

)
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
builder for `/gnu/store/r6xcixwj7y2336lg68clqck74prckzbd-texlive-latex-graphics-51265.drv' failed with exit code 1
build of /gnu/store/r6xcixwj7y2336lg68clqck74prckzbd-texlive-latex-graphics-51265.drv failed
View 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' failed
FAIL
--8<---------------cut here---------------end--------------->8---

Signal 6 is SIGABRT on these systems; I'm not sure what the failure
means or what might be causing it, but I haven't dug into it much yet.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

             reply	other threads:[~2021-05-15 21:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15 21:02 Chris Marusich [this message]
2021-05-21 21:38 ` bug#48455: texlive-latex-graphics: non-deterministic build failure Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2cfsobn.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=48455@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).