I get an error when doing a parallel build with SAGE_CHECK set. See
below for the relevant part of the output. The problem seems to be
that the M4RIE test suite requires NTL and Givaro to have already been
built, but that Sage's build scripts don't know about these
dependencies. Installing the Givaro and NTL spkgs using "sage -spkg"
before continuing solved the problem. Is this a known bug?

Successfully installed libm4rie-20111004.p0
Running the test suite.
Testing the M4RIE library
Making check in .
make[1]: Entering directory `/storage/masiao/sage-5.0.prealpha0/spkg/
build/libm4rie-20111004.p0/m4rie'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make -j16  test_trsm test_elimination test_multiplication
test_smallops test_ple
make[2]: Entering directory `/storage/masiao/sage-5.0.prealpha0/spkg/
build/libm4rie-20111004.p0/m4rie'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
g++ -DHAVE_CONFIG_H -I. -I./src   -I/storage/masiao/sage-5.0.prealpha0/
local/include    -I/include  -g -O2 -I/include -I/include  -g -O2 -MT
test_trsm-test_trsm.o -MD -MP -MF .deps
/test_trsm-test_trsm.Tpo -c -o test_trsm-test_trsm.o `test -f 'tests/
test_trsm.cc' || echo './'`tests/test_trsm.cc
g++ -DHAVE_CONFIG_H -I. -I./src   -I/storage/masiao/sage-5.0.prealpha0/
local/include    -I/include  -g -O2 -I/include -I/include  -g -O2 -MT
test_elimination-test_elimination.o -MD
 -MP -MF .deps/test_elimination-test_elimination.Tpo -c -o
test_elimination-test_elimination.o `test -f 'tests/
test_elimination.cc' || echo './'`tests/test_elimination.cc
g++ -DHAVE_CONFIG_H -I. -I./src   -I/storage/masiao/sage-5.0.prealpha0/
local/include    -I/include  -g -O2 -I/include -I/include  -g -O2 -MT
test_multiplication-test_multiplication
.o -MD -MP -MF .deps/test_multiplication-test_multiplication.Tpo -c -o
test_multiplication-test_multiplication.o `test -f 'tests/
test_multiplication.cc' || echo './'`tests/test_mul
tiplication.cc
g++ -DHAVE_CONFIG_H -I. -I./src   -I/storage/masiao/sage-5.0.prealpha0/
local/include    -I/include  -g -O2 -I/include -I/include  -g -O2 -MT
test_smallops-test_smallops.o -MD -MP -
MF .deps/test_smallops-test_smallops.Tpo -c -o test_smallops-
test_smallops.o `test -f 'tests/test_smallops.cc' || echo './'`tests/
test_smallops.cc
g++ -DHAVE_CONFIG_H -I. -I./src   -I/storage/masiao/sage-5.0.prealpha0/
local/include    -I/include  -g -O2 -I/include -I/include  -g -O2 -MT
test_ple-test_ple.o -MD -MP -MF .deps/t
est_ple-test_ple.Tpo -c -o test_ple-test_ple.o `test -f 'tests/
test_ple.cc' || echo './'`tests/test_ple.cc
In file included from tests/test_elimination.cc:2:
./gf2e_cxx/finite_field_givaro.h:20:27: error: givaro/givgfq.h: No
such file or directory
In file included from tests/test_trsm.cc:28:
./gf2e_cxx/finite_field_givaro.h:20:27: error: givaro/givgfq.h: No
such file or directory
In file included from tests/test_multiplication.cc:29:
./gf2e_cxx/finite_field_givaro.h:20:27: error: givaro/givgfq.h: No
such file or directory
In file included from tests/test_smallops.cc:3:
./gf2e_cxx/finite_field_givaro.h:20:27: error: givaro/givgfq.h: No
such file or directory
In file included from tests/test_ple.cc:2:
./gf2e_cxx/finite_field_givaro.h:20:27: error: givaro/givgfq.h: No
such file or directory
In file included from tests/test_elimination.cc:2:
./gf2e_cxx/finite_field_givaro.h:25: error: expected template-name
before ‘<’ token
./gf2e_cxx/finite_field_givaro.h:25: error: expected `{' before ‘<’
token
./gf2e_cxx/finite_field_givaro.h:25: error: expected unqualified-id
before ‘<’ token
tests/test_elimination.cc:114: error: expected `}' at end of input
In file included from tests/test_smallops.cc:3:
./gf2e_cxx/finite_field_givaro.h:25: error: expected template-name
before ‘<’ token
./gf2e_cxx/finite_field_givaro.h:25: error: expected `{' before ‘<’
token
./gf2e_cxx/finite_field_givaro.h:25: error: expected unqualified-id
before ‘<’ token
In file included from tests/test_trsm.cc:28:
./gf2e_cxx/finite_field_givaro.h:25: error: expected template-name
before ‘<’ tokentests/test_smallops.cc:193: error: expected `}' at end
of input
./gf2e_cxx/finite_field_givaro.h:25: error: expected `{' before ‘<’
token
./gf2e_cxx/finite_field_givaro.h:25: error: expected unqualified-id
before ‘<’ token

tests/test_trsm.cc:505: error: expected `}' at end of input
In file included from tests/test_multiplication.cc:29:
./gf2e_cxx/finite_field_givaro.h:25: error: expected template-name
before ‘<’ token
./gf2e_cxx/finite_field_givaro.h:25: error: expected `{' before ‘<’
token
./gf2e_cxx/finite_field_givaro.h:25: error: expected unqualified-id
before ‘<’ token
tests/test_multiplication.cc:238: error: expected `}' at end of input
In file included from tests/test_ple.cc:2:
./gf2e_cxx/finite_field_givaro.h:25: error: expected template-name
before ‘<’ token
./gf2e_cxx/finite_field_givaro.h:25: error: expected `{' before ‘<’
token
./gf2e_cxx/finite_field_givaro.h:25: error: expected unqualified-id
before ‘<’ token
tests/test_ple.cc:229: error: expected `}' at end of input
make[2]: *** [test_elimination-test_elimination.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [test_smallops-test_smallops.o] Error 1
make[2]: *** [test_multiplication-test_multiplication.o] Error 1
make[2]: *** [test_trsm-test_trsm.o] Error 1
make[2]: *** [test_ple-test_ple.o] Error 1
make[2]: Leaving directory `/storage/masiao/sage-5.0.prealpha0/spkg/
build/libm4rie-20111004.p0/m4rie'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/storage/masiao/sage-5.0.prealpha0/spkg/
build/libm4rie-20111004.p0/m4rie'
make: *** [check-recursive] Error 1
Error testing M4RIE
************************************************************************
Error testing package libm4rie-20111004.p0
************************************************************************

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to