unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#48064: texlive-* packages fail to build non-deterministically
@ 2021-04-27 15:39 Ludovic Courtès
  2021-06-06  1:36 ` Thiago Jung Bauermann via Bug reports for GNU Guix
  2021-06-09  0:28 ` Thiago Jung Bauermann via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: Ludovic Courtès @ 2021-04-27 15:39 UTC (permalink / raw)
  To: 48064

Some texlive- packages fail to build non-deterministically.  This one is
on powerpc64le-linux from current master (commit
d904abe0768293b2322dbf355b6e41d94e769d78), but ISTR we saw the same kind
of problem on other architectures before:

--8<---------------cut here---------------start------------->8---
Processing file fileerr.dtx (help) -> h.tex
                            (scroll) -> s.tex
                            (edit) -> e.tex
                            (batch) -> q.tex
                            (run) -> r.tex
                            (exit) -> x.tex
File fileerr.dtx ended by \endinput.
Lines  processed: 119
Comments removed: 100
Comments  passed: 0
Codelines passed: 10

***********************************************************
*
* To finish the installation you have to move the following
* files into a directory searched by TeX:
*
* All the files with extension `.sty' and `.tex'
* Note there also may be a file .tex which is `invisible'
* on some operating systems.
*
* To produce the documentation run the .dtx files through LaTeX.
*
* Happy TeXing
***********************************************************

* Finally trying to make a file `.tex'.
* (Placed at the end of this run, as this
* may fail on some operating systems.)

Generating file(s) .tex

realloc(): invalid next size
command "luatex" "-interaction=nonstopmode" "-output-directory=build" "&luatex" "tools.ins" failed with signal 6
builder for `/gnu/store/k9v4w4vc9q22yrrl5ggmpcymidwcbamf-texlive-latex-tools-51265.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

Notice the “realloc” message (from glibc) suggesting heap corruption.

Often, simply retrying yields a successful build.

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48064: texlive-* packages fail to build non-deterministically
  2021-04-27 15:39 bug#48064: texlive-* packages fail to build non-deterministically Ludovic Courtès
@ 2021-06-06  1:36 ` Thiago Jung Bauermann via Bug reports for GNU Guix
  2021-06-09  0:28 ` Thiago Jung Bauermann via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Thiago Jung Bauermann via Bug reports for GNU Guix @ 2021-06-06  1:36 UTC (permalink / raw)
  To: 48064

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

I just tried building core-updates after the upgrade to TeX Live 2020
(core-updates commit f72a125) and texlive-amscls failed with a slightly
different error coming from glibc, but still indicative of heap corruption:
“corrupted size vs. prev_size”

Full build output attached, and relevant snippet below:

```
This is LuaTeX, Version 1.12.0 (TeX Live 2020) 
 restricted system commands enabled.
(./amsdtx.ins (/gnu/store/6w056ryry98gw1h6hl1xnh725l7k5jg9-texlive-latex-base-54632/share/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' 2.5g <2018/05/03>
English documentation    <2018/05/03>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

)

Generating file(s) amsdtx.cls amsldoc.cls 

Processing file amsdtx.dtx (amsdtx) -> amsdtx.cls
                           (amsldoc) -> amsldoc.cls
File amsdtx.dtx ended by \endinput.
Lines  processed: 1196
Comments removed: 573 
Comments  passed: 1
Codelines passed: 584 

)
warning  (pdf backend): no pages of output.
Transcript written on amsdtx.log.
corrupted size vs. prev_size
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "luatex" arguments: ("-interaction=nonstopmode" "-output-directory=build" "&luatex" "amsdtx.ins") exit-status: #f term-signal: 6 stop-signal: #f> 
phase `build' failed after 6.5 seconds
command "luatex" "-interaction=nonstopmode" "-output-directory=build" "&luatex" "amsdtx.ins" failed with signal 6
```

I’ll keep trying to run valgrind on it to see where the corruption happens.
-- 
Thanks,
Thiago

[-- Attachment #2: kl1j9qpdpplhavyjwpk1sgrafcl5kx-texlive-amscls-54632.drv --]
[-- Type: text/plain, Size: 18547 bytes --]

starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/vfxpj706yr9fgx0ix8ybq0h9ffc1qhwk-texlive-bin-20200406/bin:/gnu/store/zsf4dp8xvyllizhhfhgdaynzwk0xgxyf-tar-1.34/bin:/gnu/store/5q1kx181nc983fp655vv07g01xx0v6bd-gzip-1.10/bin:/gnu/store/lv8zj6sl3fc6db2ljq10haba3sfhvq6b-bzip2-1.0.8/bin:/gnu/store/hhg5z17xyfj7zvg864br41nsj6g918ym-xz-5.2.5/bin:/gnu/store/pnj9pzyk4ajs9a245krx5l4sp4p8xwyk-file-5.39/bin:/gnu/store/mvxsyhxj63kyi6ibsyjp91yxd7xlr7rj-diffutils-3.7/bin:/gnu/store/bncgfp7dffjx7a27b4p2if5rm4v8n3ii-patch-2.7.6/bin:/gnu/store/r14nlk5qhfa953fwm574jmnqqsf5ywlx-findutils-4.8.0/bin:/gnu/store/0amam2n0vjb62zh6jssb9pjnwcf302hw-gawk-5.1.0/bin:/gnu/store/m6b1c0i5yp8awbyrx6n7kv37wafrslv1-sed-4.8/bin:/gnu/store/2al8j47dd09vfrq3awv2xnvn020rvczz-grep-3.6/bin:/gnu/store/5lg8xdy31as4dmr9a04759n90prgfjqb-coreutils-8.32/bin:/gnu/store/i9f294lim0i9rlb9sn5yixsjvgyvs3nh-make-4.3/bin:/gnu/store/kpkbyk7jlw6n5z3jkbia9mcr0bhflzbf-bash-minimal-5.1.8/bin:/gnu/store/b4z5gpy24s00q8v3nmr7ka978f2g6d2s-ld-wrapper-0/bin:/gnu/store/3fasjd1jnnm6vhyff5wb3kkahnxzbl49-binutils-2.36.1/bin:/gnu/store/yhf1hv6dqd49m7q13zji964d2wss4cy9-gcc-8.5.0/bin:/gnu/store/mf4kmmhka2dagnna6a0h4fciz5ijaxsn-glibc-2.33/bin:/gnu/store/mf4kmmhka2dagnna6a0h4fciz5ijaxsn-glibc-2.33/sbin'
environment variable `GUIX_TEXMF' set to `/gnu/store/vfxpj706yr9fgx0ix8ybq0h9ffc1qhwk-texlive-bin-20200406/share/texmf-dist:/gnu/store/6w056ryry98gw1h6hl1xnh725l7k5jg9-texlive-latex-base-54632/share/texmf-dist:/gnu/store/p4w80z96h8f8wk7pc2czcav27iar0zhd-texlive-latexconfig-54632/share/texmf-dist:/gnu/store/jlzlv3d6w931afi3rzj7ingzgh41m743-texlive-ruhyphen-54632/share/texmf-dist:/gnu/store/k0h90f17r1fczgzd981s3c5sc9jg63yc-texlive-ukrhyph-54632/share/texmf-dist:/gnu/store/2l50axyknc5adng6v11zwg5rvs1g1dm4-texlive-unicode-data-54632/share/texmf-dist:/gnu/store/pb2g83gz3bbf3rjgkr3kcvna3wbm17wd-texlive-hyphen-welsh-54632/share/texmf-dist:/gnu/store/a8341z6hvj21fdb7hbpka4klglg6c2ai-texlive-hyphen-uppersorbian-54632/share/texmf-dist:/gnu/store/iqv6hf2zlq364fb0gpzppblwykjqhj2j-texlive-hyphen-ukrainian-54632/share/texmf-dist:/gnu/store/r2xcn8fdy0plb9b2mwrpw3zy25h4nsd9-texlive-hyphen-turkmen-54632/share/texmf-dist:/gnu/store/43i7qyb7r41b0jfla695j63bfp6dgxjr-texlive-hyphen-turkish-54632/share/texmf-dist:/gnu/store/hm686isax0bzw0niqbs66sc7s9k50apf-texlive-hyphen-thai-54632/share/texmf-dist:/gnu/store/szqh9bdj7f9psirj3343gb1vj3ini2q7-texlive-hyphen-swedish-54632/share/texmf-dist:/gnu/store/pyw7d6x9a52r2nbwffzns5l16qp89qba-texlive-hyphen-spanish-54632/share/texmf-dist:/gnu/store/qblq8b658xjvxc2dh0iblagzsy5ynzzv-texlive-hyphen-slovenian-54632/share/texmf-dist:/gnu/store/glvjcbh7j0zpqfj07qwjfki5l75d3b6v-texlive-hyphen-slovak-54632/share/texmf-dist:/gnu/store/dix1kfdhjaqyn2wxn1k7kxdvvzhf8s26-texlive-hyphen-serbian-54632/share/texmf-dist:/gnu/store/qq3agmpk80xbc1bh35k5110g0h435ri5-texlive-hyphen-sanskrit-54632/share/texmf-dist:/gnu/store/rglrph2mfar0v2dm8wg2crj36npyk6jv-texlive-hyphen-russian-54632/share/texmf-dist:/gnu/store/yq7hq3b5c7rirsddkqp7bqnj60l7nycq-texlive-hyphen-romansh-54632/share/texmf-dist:/gnu/store/m3x8m82xw0rgv2ljx5xzsph565s0rq61-texlive-hyphen-romanian-54632/share/texmf-dist:/gnu/store/0ww1g10gdg2pa6jpi3dklknd12rjzys7-texlive-hyphen-portuguese-54632/share/texmf-dist:/gnu/store/0xzry3pn0pnm6nnpksd3azbrs85v0pah-texlive-hyphen-polish-54632/share/texmf-dist:/gnu/store/x73591v1i5s002ms27cgwx81iscdi7dp-texlive-hyphen-piedmontese-54632/share/texmf-dist:/gnu/store/b0r899v58mfdyjx6ij5k5nfd4dg59qic-texlive-hyphen-pali-54632/share/texmf-dist:/gnu/store/820l3prb64x28qyr2x9x3djghw32pp88-texlive-hyphen-occitan-54632/share/texmf-dist:/gnu/store/rc3i84plc48972hz7bjy0cvmrad64a6v-texlive-hyphen-norwegian-54632/share/texmf-dist:/gnu/store/iq0id11vpk0wq13y5bnkg1b232kp3341-texlive-hyphen-mongolian-54632/share/texmf-dist:/gnu/store/14wyxinb2c5igmawlafanf3x5fn866bh-texlive-hyphen-macedonian-54632/share/texmf-dist:/gnu/store/l6nr6p4l14x0ylr9p8cbm67nqqr6lk2i-texlive-hyphen-lithuanian-54632/share/texmf-dist:/gnu/store/08xipkc02jn89pk05gjgpybh9dlqp0dd-texlive-hyphen-latvian-54632/share/texmf-dist:/gnu/store/lq62qi0k4w95fy3kvklws7ni78rhjf8z-texlive-hyphen-latin-54632/share/texmf-dist:/gnu/store/iyxvjdinyz9yzwglgg1m9cjjjj2i8ysx-texlive-hyphen-kurmanji-54632/share/texmf-dist:/gnu/store/qcilrlhjig5kvybhxr5a1g8rrbbc5vfj-texlive-hyphen-italian-54632/share/texmf-dist:/gnu/store/dw9qg3bhn7v3afkgfg6bbsxp2i78kkrj-texlive-hyphen-irish-54632/share/texmf-dist:/gnu/store/w28b5kb9pzgqgmji84g86i4cgi3rh1hi-texlive-hyphen-interlingua-54632/share/texmf-dist:/gnu/store/ixbln3d4pajsi65njbhbpzpss856vmw0-texlive-hyphen-indonesian-54632/share/texmf-dist:/gnu/store/bvg7iybbzfrr9ick61chi5rny5xy41bm-texlive-hyphen-indic-54632/share/texmf-dist:/gnu/store/gfaawsmz0xas0wiyhwl8ligkpihk8302-texlive-hyphen-icelandic-54632/share/texmf-dist:/gnu/store/qq63s0l41yhn9qhhpmgx3da7llmrf4kr-texlive-hyphen-hungarian-54632/share/texmf-dist:/gnu/store/75q5m1lx7cvg056hwxx5kcs0vzk4b5ai-texlive-hyphen-greek-54632/share/texmf-dist:/gnu/store/v6ggh84zkhqv4llrpy9c92l45ykm9wgr-texlive-hyphen-german-54632/share/texmf-dist:/gnu/store/p7l8q57x6phwpxnnihmkg1xmn2zrdzdj-texlive-hyphen-georgian-54632/share/texmf-dist:/gnu/store/dfqvkmcfr2ayrspdilf44m9bma28dxl2-texlive-hyphen-galician-54632/share/texmf-dist:/gnu/store/3k9s9nncxrq2h0c0xpzbs5pggvknrylc-texlive-hyphen-friulan-54632/share/texmf-dist:/gnu/store/mjwjdwn10fcq5s51zi0sysdgzq32f8fi-texlive-hyphen-french-54632/share/texmf-dist:/gnu/store/g5m3x3vkk1j0cyqbmz0fas3s6vgv406m-texlive-hyphen-finnish-54632/share/texmf-dist:/gnu/store/4pj81ymxcf8mdk20kd8akf412l89vpn4-texlive-hyphen-ethiopic-54632/share/texmf-dist:/gnu/store/4vkx8qzp0bvdwnxsvallgzbpxgsykclk-texlive-hyphen-estonian-54632/share/texmf-dist:/gnu/store/skx1d93ny0i5rf2gpfzyz71x75yxmzzw-texlive-hyphen-esperanto-54632/share/texmf-dist:/gnu/store/jyhqi0sr6zpgm8m4l060kvw6i1qd6cmg-texlive-hyphen-english-54632/share/texmf-dist:/gnu/store/hqc98y006dvpp89pfgiwbjy5k60ziy7j-texlive-hyphen-dutch-54632/share/texmf-dist:/gnu/store/vcgm9ra3cyqnyy9ryqflyd8anphqx0dv-texlive-hyphen-danish-54632/share/texmf-dist:/gnu/store/qiaznyx0ly8nrix3k2sl7lgvsgji5bvw-texlive-hyphen-czech-54632/share/texmf-dist:/gnu/store/3q774b5d5fs3x2x6p9v6gixkkxwzn21z-texlive-hyphen-croatian-54632/share/texmf-dist:/gnu/store/y7vyczikzgddbmc2sn93lvbfq8i1bxin-texlive-hyphen-coptic-54632/share/texmf-dist:/gnu/store/c3a8h4zz391yqr715kgcrm4qhi9h2n5h-texlive-hyphen-churchslavonic-54632/share/texmf-dist:/gnu/store/mfa2xda0pg3bn5ncq1ap3813klpd4s27-texlive-hyphen-chinese-54632/share/texmf-dist:/gnu/store/gwsgkk1fyg7hk2nc83rn3sbj2p33cp59-texlive-hyphen-catalan-54632/share/texmf-dist:/gnu/store/dxmk8ln2hkpdp7lxybiwmjid9iryrnq9-texlive-hyphen-bulgarian-54632/share/texmf-dist:/gnu/store/91gbrpcrwscwm2mr264bah2a3pgsdym4-texlive-hyphen-belarusian-54632/share/texmf-dist:/gnu/store/g7pg2mpvmrd94q4pgfz5d3lms7i5d89z-texlive-hyphen-basque-54632/share/texmf-dist:/gnu/store/33kpynmc3w69mlj244nm8j8d7bhbp55w-texlive-hyphen-armenian-54632/share/texmf-dist:/gnu/store/z0hhky74c8pi8fm8dwr6a0vyldpiqiy4-texlive-hyphen-ancientgreek-54632/share/texmf-dist:/gnu/store/hfj1ilmg6fdks3y112b0b04kcynriq97-texlive-hyphen-afrikaans-54632/share/texmf-dist:/gnu/store/16x3phgpkm0sv6a50mmk36q4l840g57d-texlive-hyphen-base-54632/share/texmf-dist:/gnu/store/2pgacp9c63hn921a4zf1chvj7qnjb65s-texlive-hyph-utf8-54632/share/texmf-dist:/gnu/store/gmpv8ifrpjgcws3gcl55mxayihx65cly-texlive-etex-54632/share/texmf-dist:/gnu/store/0v85ypm5arvwbjb7cn0nmg013mxv2qi7-texlive-dehyph-exptl-54632/share/texmf-dist'
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to `/gnu/store/vfxpj706yr9fgx0ix8ybq0h9ffc1qhwk-texlive-bin-20200406/include:/gnu/store/lv8zj6sl3fc6db2ljq10haba3sfhvq6b-bzip2-1.0.8/include:/gnu/store/hhg5z17xyfj7zvg864br41nsj6g918ym-xz-5.2.5/include:/gnu/store/pnj9pzyk4ajs9a245krx5l4sp4p8xwyk-file-5.39/include:/gnu/store/0amam2n0vjb62zh6jssb9pjnwcf302hw-gawk-5.1.0/include:/gnu/store/i9f294lim0i9rlb9sn5yixsjvgyvs3nh-make-4.3/include:/gnu/store/3fasjd1jnnm6vhyff5wb3kkahnxzbl49-binutils-2.36.1/include:/gnu/store/yhf1hv6dqd49m7q13zji964d2wss4cy9-gcc-8.5.0/include:/gnu/store/mf4kmmhka2dagnna6a0h4fciz5ijaxsn-glibc-2.33/include:/gnu/store/g80vdkkh106f4azvv78sdmdwqh3i928g-linux-libre-headers-5.10.35/include'
environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/vfxpj706yr9fgx0ix8ybq0h9ffc1qhwk-texlive-bin-20200406/include:/gnu/store/lv8zj6sl3fc6db2ljq10haba3sfhvq6b-bzip2-1.0.8/include:/gnu/store/hhg5z17xyfj7zvg864br41nsj6g918ym-xz-5.2.5/include:/gnu/store/pnj9pzyk4ajs9a245krx5l4sp4p8xwyk-file-5.39/include:/gnu/store/0amam2n0vjb62zh6jssb9pjnwcf302hw-gawk-5.1.0/include:/gnu/store/i9f294lim0i9rlb9sn5yixsjvgyvs3nh-make-4.3/include:/gnu/store/3fasjd1jnnm6vhyff5wb3kkahnxzbl49-binutils-2.36.1/include:/gnu/store/yhf1hv6dqd49m7q13zji964d2wss4cy9-gcc-8.5.0/include/c++:/gnu/store/yhf1hv6dqd49m7q13zji964d2wss4cy9-gcc-8.5.0/include:/gnu/store/mf4kmmhka2dagnna6a0h4fciz5ijaxsn-glibc-2.33/include:/gnu/store/g80vdkkh106f4azvv78sdmdwqh3i928g-linux-libre-headers-5.10.35/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/vfxpj706yr9fgx0ix8ybq0h9ffc1qhwk-texlive-bin-20200406/lib:/gnu/store/lv8zj6sl3fc6db2ljq10haba3sfhvq6b-bzip2-1.0.8/lib:/gnu/store/hhg5z17xyfj7zvg864br41nsj6g918ym-xz-5.2.5/lib:/gnu/store/pnj9pzyk4ajs9a245krx5l4sp4p8xwyk-file-5.39/lib:/gnu/store/0amam2n0vjb62zh6jssb9pjnwcf302hw-gawk-5.1.0/lib:/gnu/store/3fasjd1jnnm6vhyff5wb3kkahnxzbl49-binutils-2.36.1/lib:/gnu/store/mf4kmmhka2dagnna6a0h4fciz5ijaxsn-glibc-2.33/lib:/gnu/store/dj2p4mwp6gwbx8fpd6gqsj2c307mm6sp-glibc-2.33-static/lib:/gnu/store/dxplmvm0xf8z968m3lbwzizc95h9nldc-glibc-utf8-locales-2.33/lib'
environment variable `GUIX_LOCPATH' set to `/gnu/store/dxplmvm0xf8z968m3lbwzizc95h9nldc-glibc-utf8-locales-2.33/lib/locale'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
using 'en_US.utf8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/bibtex/bst/amscls/amsalpha.bst' -> `./bibtex/bst/amscls/amsalpha.bst'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/bibtex/bst/amscls/amsplain.bst' -> `./bibtex/bst/amscls/amsplain.bst'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/amsbooka.dtx' -> `./source/latex/amscls/amsbooka.dtx'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/amsbooka.ins' -> `./source/latex/amscls/amsbooka.ins'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/amsclass.dtx' -> `./source/latex/amscls/amsclass.dtx'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/amsclass.ins' -> `./source/latex/amscls/amsclass.ins'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/amsdtx.dtx' -> `./source/latex/amscls/amsdtx.dtx'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/amsdtx.ins' -> `./source/latex/amscls/amsdtx.ins'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/amsmidx.dtx' -> `./source/latex/amscls/amsmidx.dtx'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/amsmidx.ins' -> `./source/latex/amscls/amsmidx.ins'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/amsthdoc.tex' -> `./source/latex/amscls/amsthdoc.tex'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/install.txt' -> `./source/latex/amscls/install.txt'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/thmtest.tex' -> `./source/latex/amscls/thmtest.tex'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/upref.dtx' -> `./source/latex/amscls/upref.dtx'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/source/latex/amscls/upref.ins' -> `./source/latex/amscls/upref.ins'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/00LICENSE.txt' -> `./doc/latex/amscls/00LICENSE.txt'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/README' -> `./doc/latex/amscls/README'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/amsart-template.tex' -> `./doc/latex/amscls/amsart-template.tex'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/amsbook-template.tex' -> `./doc/latex/amscls/amsbook-template.tex'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/amsbooka.pdf' -> `./doc/latex/amscls/amsbooka.pdf'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/amsclass.pdf' -> `./doc/latex/amscls/amsclass.pdf'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/amsdtx.pdf' -> `./doc/latex/amscls/amsdtx.pdf'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/amsmidx.pdf' -> `./doc/latex/amscls/amsmidx.pdf'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/amsproc-template.tex' -> `./doc/latex/amscls/amsproc-template.tex'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/amsthdoc.pdf' -> `./doc/latex/amscls/amsthdoc.pdf'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/diffs-c.txt' -> `./doc/latex/amscls/diffs-c.txt'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/manifest.txt' -> `./doc/latex/amscls/manifest.txt'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/thmtest.pdf' -> `./doc/latex/amscls/thmtest.pdf'
`/gnu/store/dr3r0jrjfnjvbfirha40bzzkvbfwby2d-texlive-amscls-54632-checkout/doc/latex/amscls/upref.pdf' -> `./doc/latex/amscls/upref.pdf'
phase `unpack' succeeded after 0.1 seconds
starting phase `chdir'
phase `chdir' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
This is LuaTeX, Version 1.12.0 (TeX Live 2020) 
 restricted system commands enabled.
(./amsbooka.ins (/gnu/store/6w056ryry98gw1h6hl1xnh725l7k5jg9-texlive-latex-base-54632/share/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' 2.5g <2018/05/03>
English documentation    <2018/05/03>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

)

Generating file(s) amsbooka.sty 

Processing file amsbooka.dtx -> amsbooka.sty
File amsbooka.dtx ended by \endinput.
Lines  processed: 585
Comments removed: 334
Comments  passed: 0
Codelines passed: 249

)
warning  (pdf backend): no pages of output.
Transcript written on amsbooka.log.
This is LuaTeX, Version 1.12.0 (TeX Live 2020) 
 restricted system commands enabled.
(./amsclass.ins (/gnu/store/6w056ryry98gw1h6hl1xnh725l7k5jg9-texlive-latex-base-54632/share/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' 2.5g <2018/05/03>
English documentation    <2018/05/03>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

)

Generating file(s) amsthm.sty amsart.cls amsbook.cls amsproc.cls 

Processing file amsclass.dtx (amsthm) -> amsthm.sty
                             (amsart,classes) -> amsart.cls
                             (amsbook,classes) -> amsbook.cls
                             (amsproc,classes) -> amsproc.cls
File amsclass.dtx ended by \endinput.
Lines  processed: 5194
Comments removed: 2925
Comments  passed: 21
Codelines passed: 2060

)
warning  (pdf backend): no pages of output.
Transcript written on amsclass.log.
This is LuaTeX, Version 1.12.0 (TeX Live 2020) 
 restricted system commands enabled.
(./amsdtx.ins (/gnu/store/6w056ryry98gw1h6hl1xnh725l7k5jg9-texlive-latex-base-54632/share/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' 2.5g <2018/05/03>
English documentation    <2018/05/03>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

)

Generating file(s) amsdtx.cls amsldoc.cls 

Processing file amsdtx.dtx (amsdtx) -> amsdtx.cls
                           (amsldoc) -> amsldoc.cls
File amsdtx.dtx ended by \endinput.
Lines  processed: 1196
Comments removed: 573
Comments  passed: 1
Codelines passed: 584

)
warning  (pdf backend): no pages of output.
Transcript written on amsdtx.log.
corrupted size vs. prev_size
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "luatex" arguments: ("-interaction=nonstopmode" "-output-directory=build" "&luatex" "amsdtx.ins") exit-status: #f term-signal: 6 stop-signal: #f> 
phase `build' failed after 6.5 seconds
command "luatex" "-interaction=nonstopmode" "-output-directory=build" "&luatex" "amsdtx.ins" failed with signal 6

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48064: texlive-* packages fail to build non-deterministically
  2021-04-27 15:39 bug#48064: texlive-* packages fail to build non-deterministically Ludovic Courtès
  2021-06-06  1:36 ` Thiago Jung Bauermann via Bug reports for GNU Guix
@ 2021-06-09  0:28 ` Thiago Jung Bauermann via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Thiago Jung Bauermann via Bug reports for GNU Guix @ 2021-06-09  0:28 UTC (permalink / raw)
  To: 48064

Hello,

I was able to do a build of texlive-amscls with `export MALLOC_CHECK_=2`, 
and a core dump was generated. I managed to get a guix environment with 
debuginfo for texlive-bin, but for some reason it still doesn’t have 
debug info for glibc available. FYI, this was the command line I used:

$ guix environment texlive-amscls --with-debug-info=texlive-bin \
	--ad-hoc valgrind gdb glibc:debug

Valgrind isn’t working because of the lack of glibc debug info, but I was 
able to get the backtrace below from the core file, using GDB. I am yet to
analyse it and see if it provides any clue:

Core was generated by `luatex amsclass.ins'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f50ad3d5a7a in raise () from /gnu/store/vp1q2ymbfzr52zxqs5z3r3nd0yprbg7h-glibc-2.33/lib/libc.so.6
(gdb) backtrace
#0  0x00007f50ad3d5a7a in raise () from /gnu/store/vp1q2ymbfzr52zxqs5z3r3nd0yprbg7h-glibc-2.33/lib/libc.so.6
#1  0x00007f50ad3c0523 in abort () from /gnu/store/vp1q2ymbfzr52zxqs5z3r3nd0yprbg7h-glibc-2.33/lib/libc.so.6
#2  0x00007f50ad415d28 in ?? () from /gnu/store/vp1q2ymbfzr52zxqs5z3r3nd0yprbg7h-glibc-2.33/lib/libc.so.6
#3  0x00007f50ad41d54a in ?? () from /gnu/store/vp1q2ymbfzr52zxqs5z3r3nd0yprbg7h-glibc-2.33/lib/libc.so.6
#4  0x00007f50ad421bd7 in ?? () from /gnu/store/vp1q2ymbfzr52zxqs5z3r3nd0yprbg7h-glibc-2.33/lib/libc.so.6
#5  0x0000000000486c7e in my_luaalloc (ud=<optimized out>, ptr=<optimized out>, osize=1104, nsize=<optimized out>)
    at ../../../texlive-20190410-source/texk/web2c/luatexdir/lua/luastuff.c:115
#6  0x00007f50ad754b81 in luaM_realloc_ (L=L@entry=0x12212a8, block=block@entry=0x1316cc0,
    osize=osize@entry=1104, nsize=nsize@entry=2208)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/lmem.c:86
#7  0x00007f50ad74d8b3 in luaD_reallocstack (L=0x12212a8, newsize=138)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/ldo.c:182
#8  0x00007f50ad74e121 in luaD_precall (L=L@entry=0x12212a8, func=<optimized out>, nresults=0)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/ldo.c:424
#9  0x00007f50ad74e393 in luaD_precall (nresults=<optimized out>, func=<optimized out>, L=0x12212a8)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/ldo.c:413
#10 luaD_call (L=L@entry=0x12212a8, func=<optimized out>, nResults=<optimized out>)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/ldo.c:498
#11 0x00007f50ad74e3f1 in luaD_callnoyield (L=0x12212a8, func=<optimized out>, nResults=<optimized out>)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/ldo.c:509
#12 0x00007f50ad74d83f in luaD_rawrunprotected (L=L@entry=0x12212a8, f=f@entry=0x7f50ad74f6d0 <dothecall>,
    ud=ud@entry=0x0) at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/ldo.c:142
#13 0x00007f50ad74e6fb in luaD_pcall (L=L@entry=0x12212a8, func=func@entry=0x7f50ad74f6d0 <dothecall>,
    u=u@entry=0x0, old_top=1200, ef=ef@entry=0)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/ldo.c:729
#14 0x00007f50ad74f5dd in GCTM (L=L@entry=0x12212a8, propagateerrors=propagateerrors@entry=0)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/lgc.c:823
#15 0x00007f50ad750eca in callallpendingfinalizers (L=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/lgc.c:862
#16 luaC_freeallobjects (L=L@entry=0x12212a8)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/lgc.c:971
#17 0x00007f50ad75a93e in close_state (L=0x12212a8)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/lstate.c:245
#18 0x00007f50ad75ae20 in lua_close (L=<optimized out>)
    at ../../../texlive-20190410-source/libs/lua53/lua53-src/src/lstate.c:344
#19 0x00000000004999a6 in do_final_end ()
    at ../../../texlive-20190410-source/texk/web2c/luatexdir/tex/errors.c:257
#20 0x000000000044ea9e in main (ac=<optimized out>, av=<optimized out>)
    at ../../../texlive-20190410-source/texk/web2c/luatexdir/luatex.c:609
(gdb)
-- 
Thanks,
Thiago






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-09  0:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 15:39 bug#48064: texlive-* packages fail to build non-deterministically Ludovic Courtès
2021-06-06  1:36 ` Thiago Jung Bauermann via Bug reports for GNU Guix
2021-06-09  0:28 ` Thiago Jung Bauermann via Bug reports for GNU Guix

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git