* bug#18003: texlive-2014 fails to build on MIPS
@ 2014-07-12 15:03 Mark H Weaver
2014-07-12 15:20 ` Mark H Weaver
0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2014-07-12 15:03 UTC (permalink / raw)
To: 18003
texlive-2014 contains a copy of luajit which fails its test suite on
MIPS, thus causing the entire build to fail on guix. Here's the tail of
the build log:
--8<---------------cut here---------------start------------->8---
Making check in luajit
make[2]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
Making check in .
make[3]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
make jittest luajittry \
luajit.test luajiterr.test
make[4]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
gcc -DHAVE_CONFIG_H -I. -I../../../texlive-20140525-source/libs/luajit -Iinclude -Wall -g -O2 -MT jittest-jittest.o -MD -MP -MF .deps/jittest-jittest.Tpo -c -o jittest-jittest.o `test -f 'jittest.c' || echo '../../../texlive-20140525-source/libs/luajit/'`jittest.c
mv -f .deps/jittest-jittest.Tpo .deps/jittest-jittest.Po
gcc -Wall -g -O2 -o jittest jittest-jittest.o libluajit.a -ldl -lm
gcc -DHAVE_CONFIG_H -I. -I../../../texlive-20140525-source/libs/luajit -Iinclude -Wall -g -O2 -MT LuaJIT-2.0.3/src/luajittry-luajit.o -MD -MP -MF LuaJIT-2.0.3/src/.deps/luajittry-luajit.Tpo -c -o LuaJIT-2.0.3/src/luajittry-luajit.o `test -f 'LuaJIT-2.0.3/src/luajit.c' || echo '../../../texlive-20140525-source/libs/luajit/'`LuaJIT-2.0.3/src/luajit.c
mv -f LuaJIT-2.0.3/src/.deps/luajittry-luajit.Tpo LuaJIT-2.0.3/src/.deps/luajittry-luajit.Po
gcc -Wall -g -O2 -o luajittry LuaJIT-2.0.3/src/luajittry-luajit.o libluajit.a -ldl -lm
make[4]: Nothing to be done for '../../../texlive-20140525-source/libs/luajit/luajit.test'.
make[4]: Nothing to be done for '../../../texlive-20140525-source/libs/luajit/luajiterr.test'.
make[4]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
make check-TESTS
make[4]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
make[5]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
PASS: luajit.test
FAIL: luajiterr.test
make[6]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
make all-recursive
make[7]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
Making all in .
make[8]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
make[8]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
Making all in native
make[8]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit/native'
make all-am
make[9]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit/native'
make[9]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit/native'
make[8]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit/native'
Making all in include
make[8]: Entering directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit/include'
make[8]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit/include'
make[7]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
make[6]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
============================================================================
Testsuite summary for luajit for TeX Live 2.0.3
============================================================================
# TOTAL: 2
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to tex-k@tug.org
============================================================================
Makefile:1166: recipe for target 'test-suite.log' failed
make[5]: *** [test-suite.log] Error 1
make[5]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
Makefile:1272: recipe for target 'check-TESTS' failed
make[4]: *** [check-TESTS] Error 2
make[4]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
Makefile:1499: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
Makefile:1052: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs/luajit'
Makefile:456: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/tmp/nix-build-texlive-2014.drv-1/build/libs'
Makefile:545: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
phase `check' failed after 35 seconds
--8<---------------cut here---------------end--------------->8---
Here's the contents of luajiterr.log on Loongson 2F:
--8<---------------cut here---------------start------------->8---
../../../texlive-20140525-source/libs/luajit/luajiterr.test: line 6: 9268 Illegal instruction ./luajittry -e "error('test')" 2> jiterr.tmp
1,4d0
< ./luajittry: (command line):1: test
< stack traceback:
< [C]: in function 'error'
< (command line):1: in main chunk
--8<---------------cut here---------------end--------------->8---
On Loongson 3A, it's almost the same except that it's "Bus Error"
instead of "Illegal instruction".
I will investigate further and report back.
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#18003: texlive-2014 fails to build on MIPS
2014-07-12 15:03 bug#18003: texlive-2014 fails to build on MIPS Mark H Weaver
@ 2014-07-12 15:20 ` Mark H Weaver
2014-07-28 2:43 ` Mark H Weaver
0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2014-07-12 15:20 UTC (permalink / raw)
To: 18003
I found that Guix's own 'luajit' package builds successfully on MIPS,
presumably because it does not run the test suite. The 'luajit' package
in Guix includes "#:tests? #f" in the arguments, with the comment
"luajit is distributed without tests".
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#18003: texlive-2014 fails to build on MIPS
2014-07-12 15:20 ` Mark H Weaver
@ 2014-07-28 2:43 ` Mark H Weaver
2014-08-11 14:18 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2014-07-28 2:43 UTC (permalink / raw)
To: 18003-done
I've worked around the problem by disabling tests on MIPS, commit
2f4640e320a8834f618c7be5a7e8dba62da91190. Closing this bug.
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#18003: texlive-2014 fails to build on MIPS
2014-07-28 2:43 ` Mark H Weaver
@ 2014-08-11 14:18 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-08-11 14:18 UTC (permalink / raw)
To: 18003
Mark H Weaver <mhw@netris.org> skribis:
> I've worked around the problem by disabling tests on MIPS, commit
> 2f4640e320a8834f618c7be5a7e8dba62da91190. Closing this bug.
Great, thanks!
Ludo'.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-11 14:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-12 15:03 bug#18003: texlive-2014 fails to build on MIPS Mark H Weaver
2014-07-12 15:20 ` Mark H Weaver
2014-07-28 2:43 ` Mark H Weaver
2014-08-11 14:18 ` Ludovic Courtès
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).