I am setting up MPIR inside a vagrant VM (ubuntu xenial) with the following installed libraries
>sudo apt-get update >sudo apt-get install git-all -y >sudo apt-get install -y python python3 tmux curl libmagic1 libmagic-dev >python-pip >export LC_ALL=C >pip install -U pip >sudo apt-get install libsodium-dev -y >sudo apt-get install yasm -y >sudo apt-get install m4 -y >sudo apt-get install llvm -y The commands I use to install mpir are >./configure --enable-cxx >make >make check >sudo make install However I get two failures at "make check": ... PASS: t-import ../../test-driver: line 107: 8416 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: t-inp_str ../../test-driver: line 107: 8436 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: t-io_raw ... See tests/mpz/test-suite.log Please report to http://groups.google.co.uk/group/mpir-devel/ ============================================================================ Makefile:1355: recipe for target 'test-suite.log' failed make[5]: *** [test-suite.log] Error 1 make[5]: Leaving directory '/playground/mpir-3.0.0/tests/mpz' Makefile:1461: recipe for target 'check-TESTS' failed make[4]: *** [check-TESTS] Error 2 make[4]: Leaving directory '/playground/mpir-3.0.0/tests/mpz' Makefile:2010: recipe for target 'check-am' failed make[3]: *** [check-am] Error 2 make[3]: Leaving directory '/playground/mpir-3.0.0/tests/mpz' Makefile:798: recipe for target 'check-recursive' failed make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory '/playground/mpir-3.0.0/tests' Makefile:942: recipe for target 'check-recursive' failed make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory '/playground/mpir-3.0.0' Makefile:1231: recipe for target 'check' failed make: *** [check] Error 2 The content of test-suite.log is: ========================================== MPIR 3.0.0: tests/mpz/test-suite.log ========================================== # TOTAL: 69 # PASS: 67 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: t-inp_str =============== mpz_inp_str nread wrong inp "0" base 10 pre 0 post 0 got_nread 0 want_nread 1 FAIL: t-io_raw ============== t-io_raw.c:104: GNU MP assertion failed: ! ferror(fp) When I install mpir in my normal environment (not bare VM) I do not get this error. Can anyone help me find out what is going wrong here? -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at https://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout.