#9858: FLINT 1.5.0.p5's test suite fails to build with new GMP/MPIR
------------------------+---------------------------------------------------
   Reporter:  leif      |       Owner:  tbd                  
       Type:  defect    |      Status:  new                  
   Priority:  major     |   Milestone:  sage-4.6             
  Component:  packages  |    Keywords:  SAGE_CHECK mpz_random
     Author:            |    Upstream:  N/A                  
   Reviewer:            |      Merged:                       
Work_issues:            |  
------------------------+---------------------------------------------------
 Due to the use of deprecated/obsolete GMP functions, the test suite of
 flint-1.5.0.p5 fails to build (i.e. the package's installation also
 currently fails if {{{SAGE_CHECK=yes}}}):

 {{{
 ...
 Successfully installed flint-1.5.0.p5
 Running the test suite.
 *************************************************
 Running test suite. This should take 6-20 minutes
    Please report all failures to sage-devel
 *************************************************
 make[2]: Entering directory `/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/spkg/build/flint-1.5.0.p5/src'
 make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent
 make rule.
 gcc -std=c99 -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include/ -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include  -fPIC -funroll-loops   -O2 -c F_mpz-test.c -o
 F_mpz-test.o
 gcc -std=c99 -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include/ -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include  -fPIC -funroll-loops   -O2 -c test-support.c -o
 test-support.o
 g++  -I/home/sage/sage-4.6.prealpha3-with-mpir-2.1.1/local/include/
 -I/home/sage/sage-4.6.prealpha3-with-mpir-2.1.1/local/include  -fPIC
 -funroll-loops   -O2 F_mpz-test.o test-support.o -o F_mpz-test zn_mod.o
 misc.o mul_ks.o pack.o mul.o mulmid.o mulmid_ks.o ks_support.o
 mpn_mulmid.o nuss.o pmf.o pmfvec_fft.o tuning.o mul_fft.o mul_fft_dft.o
 array.o invert.o mpn_extras.o mpz_extras.o memory-manager.o ZmodF.o
 ZmodF_mul.o ZmodF_mul-tuning.o fmpz.o fmpz_poly.o mpz_poly-tuning.o
 mpz_poly.o ZmodF_poly.o long_extras.o zmod_poly.o theta.o zmod_mat.o
 F_mpz.o tinyQS.o factor_base.o poly.o sieve.o linear_algebra.o
 block_lanczos.o NTL-interface.o -L/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/lib/ -L/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/lib/  -lgmp -lpthread -lntl -lm
 gcc -std=c99 -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include/ -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include  -fPIC -funroll-loops   -O2 -c mpn_extras-test.c
 -o mpn_extras-test.o
 g++  -I/home/sage/sage-4.6.prealpha3-with-mpir-2.1.1/local/include/
 -I/home/sage/sage-4.6.prealpha3-with-mpir-2.1.1/local/include  -fPIC
 -funroll-loops   -O2 mpn_extras-test.o test-support.o -o mpn_extras-test
 zn_mod.o misc.o mul_ks.o pack.o mul.o mulmid.o mulmid_ks.o ks_support.o
 mpn_mulmid.o nuss.o pmf.o pmfvec_fft.o tuning.o mul_fft.o mul_fft_dft.o
 array.o invert.o mpn_extras.o mpz_extras.o memory-manager.o ZmodF.o
 ZmodF_mul.o ZmodF_mul-tuning.o fmpz.o fmpz_poly.o mpz_poly-tuning.o
 mpz_poly.o ZmodF_poly.o long_extras.o zmod_poly.o theta.o zmod_mat.o
 F_mpz.o tinyQS.o factor_base.o poly.o sieve.o linear_algebra.o
 block_lanczos.o NTL-interface.o -L/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/lib/ -L/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/lib/  -lgmp -lpthread -lntl -lm
 gcc -std=c99 -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include/ -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include  -fPIC -funroll-loops   -O2 -c fmpz_poly-test.c
 -o fmpz_poly-test.o
 g++  -I/home/sage/sage-4.6.prealpha3-with-mpir-2.1.1/local/include/
 -I/home/sage/sage-4.6.prealpha3-with-mpir-2.1.1/local/include  -fPIC
 -funroll-loops   -O2 fmpz_poly-test.o test-support.o -o fmpz_poly-test
 zn_mod.o misc.o mul_ks.o pack.o mul.o mulmid.o mulmid_ks.o ks_support.o
 mpn_mulmid.o nuss.o pmf.o pmfvec_fft.o tuning.o mul_fft.o mul_fft_dft.o
 array.o invert.o mpn_extras.o mpz_extras.o memory-manager.o ZmodF.o
 ZmodF_mul.o ZmodF_mul-tuning.o fmpz.o fmpz_poly.o mpz_poly-tuning.o
 mpz_poly.o ZmodF_poly.o long_extras.o zmod_poly.o theta.o zmod_mat.o
 F_mpz.o tinyQS.o factor_base.o poly.o sieve.o linear_algebra.o
 block_lanczos.o NTL-interface.o -L/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/lib/ -L/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/lib/  -lgmp -lpthread -lntl -lm
 gcc -std=c99 -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include/ -I/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/include  -fPIC -funroll-loops   -O2 -c fmpz-test.c -o
 fmpz-test.o
 fmpz-test.c: In function 'test___fmpz_normalise':
 fmpz-test.c:1379: warning: implicit declaration of function 'mpz_random'
 g++  -I/home/sage/sage-4.6.prealpha3-with-mpir-2.1.1/local/include/
 -I/home/sage/sage-4.6.prealpha3-with-mpir-2.1.1/local/include  -fPIC
 -funroll-loops   -O2 fmpz-test.o test-support.o -o fmpz-test zn_mod.o
 misc.o mul_ks.o pack.o mul.o mulmid.o mulmid_ks.o ks_support.o
 mpn_mulmid.o nuss.o pmf.o pmfvec_fft.o tuning.o mul_fft.o mul_fft_dft.o
 array.o invert.o mpn_extras.o mpz_extras.o memory-manager.o ZmodF.o
 ZmodF_mul.o ZmodF_mul-tuning.o fmpz.o fmpz_poly.o mpz_poly-tuning.o
 mpz_poly.o ZmodF_poly.o long_extras.o zmod_poly.o theta.o zmod_mat.o
 F_mpz.o tinyQS.o factor_base.o poly.o sieve.o linear_algebra.o
 block_lanczos.o NTL-interface.o -L/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/lib/ -L/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/local/lib/  -lgmp -lpthread -lntl -lm
 fmpz-test.o: In function `test___fmpz_normalise':
 fmpz-test.c:(.text+0x26a6): undefined reference to `mpz_random'
 collect2: ld returned 1 exit status
 make[2]: *** [fmpz-test] Error 1
 make[2]: Leaving directory `/home/sage/sage-4.6.prealpha3-with-
 mpir-2.1.1/spkg/build/flint-1.5.0.p5/src'
 Error building the test suite for FLINT
 *************************************
 Error testing package ** flint-1.5.0.p5 **
 *************************************
 sage: An error occurred while testing flint-1.5.0.p5
 ...
 }}}

 (This is actually Sage 4.6.prealpha3 with MPIR 2.1.'''2''' and [GMP-]ECM
 6.3, see #9343/[http://wiki.sagemath.org/NewPARI NewPARI wiki page], #8664
 and #5847, respectively.)

 I guess Bill has already fixed that in FLINT 1.5.2, which was released a
 month ago. So simply updating the spkg might suffice.

 Btw, at least the current FLINT in Sage ignores user-provided
 {{{CFLAGS}}}; one could perhaps "move" them into some other environment
 variable used by FLINT.

 ----

 Upstream: http://www.flintlib.org/

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9858>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to