Package Details: sagemath-git 10.4.beta3.r0.g15fcf52fbd6-1

Git Clone URL: https://aur.archlinux.org/sagemath-git.git (read-only, click to copy)
Package Base: sagemath-git
Description: Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab
Upstream URL: http://www.sagemath.org
Licenses: GPL
Conflicts: sagemath
Provides: sagemath
Submitter: arojas
Maintainer: arojas
Last Packager: arojas
Votes: 6
Popularity: 0.000000
First Submitted: 2015-04-16 17:55 (UTC)
Last Updated: 2024-04-23 06:47 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »

Daedalus24 commented on 2015-10-22 06:26 (UTC) (edited on 2015-10-22 06:27 (UTC) by Daedalus24)

Would it be a cython error? Discovering Python/Cython source code.... Discovered Python/Cython sources, time: 0.03 seconds. Cleaning up stale installed files.... - cleaning /usr/lib/python2.7/site-packages Cleaning up stale file: /usr/lib/python2.7/site-packages/sage/combinat/knutson_tao_puzzles.pyo ************************************************************************ Traceback (most recent call last): File "setup.py", line 633, in <module> ext_modules, python_data_files) File "/tmp/yaourt-tmp-unicornis65/aur-sagemath-git/src/sage/src/sage_setup/clean.py", line 166, in clean_install_dir os.unlink(f) OSError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/sage/combinat/knutson_tao_puzzles.pyo' ************************************************************************ Error building the Sage library

Daedalus24 commented on 2015-10-17 07:59 (UTC) (edited on 2015-10-18 09:56 (UTC) by Daedalus24)

Thank you @arojas. I was doing it the hard way by downloading eclib and lcalc tarballs, then compiling with the errors reported here. Only after recompiling both eclib and lcalc under abs it worked. Gracias!

arojas commented on 2015-10-17 01:17 (UTC)

Use abs, don't just run make. lcalc is old and requires a few patches to build.

Daedalus24 commented on 2015-10-16 20:37 (UTC)

Would it be lcalc-1.23.tar.bz2? Because, when launching make I get: inline double lcalc_to_double(const long unsigned int& x) { return x; } ^ Makefile:172: recipe for target 'Lglobals.o' failed make[1]: *** [Lglobals.o] Error 1 make[1]: Leaving directory '/home/unicornis65/builds/lcalc-1.23/src' Makefile:146: recipe for target 'all' failed make: *** [all] Error 2

arojas commented on 2015-10-16 06:54 (UTC)

@Daedalus24 you need to recompile eclib and lcalc against the new pari

Daedalus24 commented on 2015-10-16 06:52 (UTC)

I have to get back. It doesn't compile yet, there's a new error /usr/bin/ld: avma: TLS reference in /usr/lib/libec.so mismatches non-TLS definition in /usr/lib/libpari.so section .bss /usr/lib/libpari.so: error adding symbols: Bad value collect2: error: ld returned 1 exit status [132/427] creating build/temp.linux-x86_64-2.7/tmp/yaourt-tmp-unicornis65/aur-sagemath-git/src/sage/src/build/cythonized/sage/libs/pari gcc -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/sage -I/usr/include/python2.7 -I/usr/lib/python2.7/site-packages/numpy/core/include -I/tmp/yaourt-tmp-unicornis65/aur-sagemath-git/src/sage/src -I/tmp/yaourt-tmp-unicornis65/aur-sagemath-git/src/sage/src/sage/ext -I/tmp/yaourt-tmp-unicornis65/aur-sagemath-git/src/sage/src/build/cythonized -I/tmp/yaourt-tmp-unicornis65/aur-sagemath-git/src/sage/src/build/cythonized/sage/ext -I/usr/include/python2.7 -c /tmp/yaourt-tmp-unicornis65/aur-sagemath-git/src/sage/src/build/cythonized/sage/libs/pari/closure.c -o build/temp.linux-x86_64-2.7/tmp/yaourt-tmp-unicornis65/aur-sagemath-git/src/sage/src/build/cythonized/sage/libs/pari/closure.o -fno-strict-aliasing -w error: command 'g++' failed with exit status 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build sagemath-git. I'll try and look over it!

Daedalus24 commented on 2015-10-16 05:55 (UTC) (edited on 2015-10-16 20:39 (UTC) by Daedalus24)

An issue occurred, related to the pari package and a new compile error .... [167/430] Cythonizing sage/libs/ntl/ntl_mat_ZZ.pyx [168/430] Cythonizing sage/libs/pari/closure.pyx [169/430] Cythonizing sage/libs/pari/gen.pyx Error compiling Cython file: ------------------------------------------------------------ ... cdef GEN _D = D.g cdef long _x = -1 if x is not None: _x = pari_instance.get_var(x) pari_catch_sig_on() cdef GEN _ret = polclass(_D, _x) ^ ------------------------------------------------------------ sage/libs/pari/auto_gen.pxi:12618:32: Call with wrong number of arguments (expected 3, got 2) ************************************************************************ Traceback (most recent call last): File "setup.py", line 603, in <module> run_cythonize() File "setup.py", line 595, in run_cythonize 'profile': profile, File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 877, in cythonize cythonize_one(*args) File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 997, in cythonize_one raise CompileError(None, pyx_file) CompileError: sage/libs/pari/gen.pyx In order to be able to update the package, you should build pari-2.8-1813-g6157df4.tar.gz downloaded from http://mirrors.mit.edu/sage/spkg/upstream/pari/. Download it, unpack it, then: ./Configure --prefix=/usr && make && make check && make install It seems to work! Have a nice week-end!

Daedalus24 commented on 2015-10-08 17:09 (UTC)

De nada, @arojas. I thank you!

arojas commented on 2015-10-06 18:58 (UTC) (edited on 2015-10-06 18:58 (UTC) by arojas)

@Daedalus24 fixed, thanks. You can easily fix these errors by running updpkgsums in the path where the PKGBUILD is located.

Daedalus24 commented on 2015-10-05 15:21 (UTC) (edited on 2015-10-05 19:37 (UTC) by Daedalus24)

There is a slight problem with the integrity check for kernel.json, when building pexpect Downloading pexpect-2.0.tar.bz2... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 22181 100 22181 0 0 38908 0 --:--:-- --:--:-- --:--:-- 38982 -> Found anal.h -> Found package.patch -> Found env.patch -> Found paths.patch -> Found clean.patch -> Found skip-check.patch -> Found pexpect-env.patch -> Found pexpect-del.patch -> Found disable-fes.patch -> Found kernel.json ==> ERROR: Integrity checks (md5) differ in size from the source array. To overcome this error you should edit the md5 PKGBUILD part which you see in the following and add an extra line with 'SKIP', before the closing paranthesis) ... md5sums=('SKIP' 'd9a3e113ed147dcee8f89962a8dccd43' 'a906a180d198186a39820b0a2f9a9c63' '9ba81f717ffd4e20b8b2f2a318307488' '5ebdb6e6ac541f040a39f8d3fd9c8ee1' 'fd8e3e07f5b7318e6a7200a3c64f5bc2' '23e972753be1e5d0f761a7f82a95cebf' '5947a420a0b1483f0cbc74c76895789b' 'a83a3b1bc7fcb7cbf752a83a8311fc42' 'f333939ea6c41377b66407c81016cee4' '4eb23a3c7363258bc9ba764d6e5512ba' 'SKIP') --> added line That is all!