Sage update

Ajtim lumiwa at gmail.com
Thu Jan 30 11:37:33 UTC 2014


On Thursday 30 January 2014 05:31:19 Montgomery-Smith, Stephen wrote:
> On 01/29/2014 07:26 PM, Montgomery-Smith, Stephen wrote:
> So I tried it on my slow i386 computer.  It dies on the subpackage
> r-3.0.2.p0.  I would be interested if other people are seeing the same
> problem.
> 
> I think it is because in the build, it creates libR.so using a command
> like this:
> 

I did try to build again and I check 387 (Use 387 instead of SSE FPU) and I got:

mpn_bases' can not be used when making a shared object; recompile with -fPIC
/usr/ports/math/sage/work/sage-6.0/local/lib/libgmp.a: error adding symbols: Bad value
collect2: ld returned 1 exit status
make[8]: *** [libmpfr.la] Error 1
make[8]: Leaving directory `/usr/ports/math/sage/work/sage-6.0/local/var/tmp/sage/build/mpfr-3.1.2.p0/src/src'
make[7]: *** [all] Error 2
make[7]: Leaving directory `/usr/ports/math/sage/work/sage-6.0/local/var/tmp/sage/build/mpfr-3.1.2.p0/src/src'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/usr/ports/math/sage/work/sage-6.0/local/var/tmp/sage/build/mpfr-3.1.2.p0/src'
Error building MPFR.

real    0m17.525s
user    0m53.171s
sys     0m12.151s
************************************************************************
Error installing package mpfr-3.1.2.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /usr/ports/math/sage/work/sage-6.0/logs/pkgs/mpfr-3.1.2.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/ports/math/sage/work/sage-6.0/local/var/tmp/sage/build/mpfr-3.1.2.p0 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/usr/ports/math/sage/work/sage-6.0/local/var/tmp/sage/build/mpfr-3.1.2.p0' && '/usr/ports/math/sage/work/sage-6.0/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[5]: *** [/usr/ports/math/sage/work/sage-6.0/local/var/lib/sage/installed/mpfr-3.1.2.p0] Error 1
make[5]: Leaving directory `/usr/ports/math/sage/work/sage-6.0/build'
make[4]: *** [toolchain-deps] Error 2
make[4]: Leaving directory `/usr/ports/math/sage/work/sage-6.0/build'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/ports/math/sage/work/sage-6.0/build'

real    1m32.542s
user    2m35.877s
sys     0m43.556s
***************************************************************
Error building Sage.

The following package(s) may have failed to build:

package: mpfr-3.1.2.p0
log file: /usr/ports/math/sage/work/sage-6.0/logs/pkgs/mpfr-3.1.2.p0.log
build directory: /usr/ports/math/sage/work/sage-6.0/local/var/tmp/sage/build/mpfr-3.1.2.p0

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

gmake[2]: *** [build] Error 1
gmake[2]: Leaving directory `/usr/ports/math/sage/work/sage-6.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/sage
*** Error code 1

Thank you.

-- 
Mitja
-------
http://www.redbubble.com/people/lumiwa



More information about the freebsd-ports mailing list