Package Details: sagemath-git 10.4.beta4.r0.gc4363fc97eb-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-30 05:49 (UTC)

Latest Comments

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

Daedalus24 commented on 2015-07-05 09:56 (UTC)

Dear @arojas, Just recompiled pari-sage, I have tried to clear older build files. I get the same error reported two days ago.

arojas commented on 2015-07-04 10:36 (UTC)

@Daeedalus also make sure to rebuild pari-sage with the new patch I added today to svn, it fixed some issues when building with perl 5.22

arojas commented on 2015-07-04 07:02 (UTC)

@Dadedalus24 works for me, make sure you clean all older build files and dirs before building

Daedalus24 commented on 2015-07-03 19:44 (UTC)

Dear @arojas, After installing pari-sage using abs, sagemath still buids with error Compiling sage/ext/interpreters/wrapper_rdf.pyx because it changed. Compiling sage/ext/interpreters/wrapper_cdf.pyx because it changed. Compiling sage/ext/interpreters/wrapper_rr.pyx because it changed. Compiling sage/ext/interpreters/wrapper_py.pyx because it changed. Compiling sage/ext/interpreters/wrapper_el.pyx because it changed. Cythonizing sage/categories/map.pyx Error compiling Cython file: ------------------------------------------------------------ ... # as published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # http://www.gnu.org/licenses/ #***************************************************************************** from cpython.object cimport Py_TYPE, PyTypeObject ^ ------------------------------------------------------------ ./sage/ext/stdsage.pxd:13:0: 'Py_TYPE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # as published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # http://www.gnu.org/licenses/ #***************************************************************************** from cpython.object cimport Py_TYPE, PyTypeObject ^ ------------------------------------------------------------ ./sage/ext/stdsage.pxd:13:28: Name 'Py_TYPE' not declared in module 'cpython.object' Error compiling Cython file: ------------------------------------------------------------ ... """ Return ``t.__new__(t)``. This works even for types like :class:`Integer` where we change ``tp_new`` at runtime (Cython optimizations assume that ``tp_new`` doesn't change). """ return (<PyTypeObject*>t).tp_new(t, <object>NULL, <object>NULL) ^ ------------------------------------------------------------ ./sage/ext/stdsage.pxd:22:12: Cannot convert 'PyTypeObject *' to Python object Error compiling Cython file: ------------------------------------------------------------ ... """ Manually set ``dst.__new__`` to ``src.__new__``. This is used to speed up Cython's boilerplate object construction code by skipping irrelevant base class ``tp_new`` methods. """ (<PyTypeObject*>dst).tp_new = (<PyTypeObject*>src).tp_new ^ ------------------------------------------------------------ ./sage/ext/stdsage.pxd:31:35: Cannot convert 'PyTypeObject *' to Python object Error compiling Cython file: ------------------------------------------------------------ ... """ Manually set ``dst.__new__`` to ``src.__new__``. This is used to speed up Cython's boilerplate object construction code by skipping irrelevant base class ``tp_new`` methods. """ (<PyTypeObject*>dst).tp_new = (<PyTypeObject*>src).tp_new ^ ------------------------------------------------------------ ./sage/ext/stdsage.pxd:31:5: Cannot convert 'PyTypeObject *' to Python object Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint HAS_DICTIONARY(obj): """ Test whether the given object has a Python dictionary. """ return Py_TYPE(obj).tp_dictoffset != 0 ^ ------------------------------------------------------------ ./sage/ext/stdsage.pxd:38:18: undeclared name not builtin: Py_TYPE ************************************************************************ Traceback (most recent call last): File "setup.py", line 604, in <module> run_cythonize() File "setup.py", line 596, in run_cythonize 'profile': profile, File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 865, in cythonize cythonize_one(*args[1:]) File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 985, in cythonize_one raise CompileError(None, pyx_file) CompileError: sage/categories/map.pyx ************************************************************************ Error building the Sage library

arojas commented on 2015-07-01 16:41 (UTC)

@Daedalus that's not a good idea for several reasons: first, it will leave untracked files in your system. And most importantly, you need a patch from the pari-sage PKGBUILD, which will make Sage crash when missing. Just update the version number in the PKGBUILD, update the checksum and run makepkg The other issue should be fixed now.

Daedalus24 commented on 2015-07-01 08:24 (UTC)

@arojas, abs will compile the 2.8-1564 version of pari. The best choice is to download the 2.8-1637 version, then ./Configure --prefix=/usr && make && make all && make install It seems to work this way. I still get an error when running makepkg under sagemath-git ... [418/419] Cythonizing sage/tests/cython.pyx [419/419] Cythonizing sage/tests/stl_vector.pyx Finished Cythonizing, time: 438.52 seconds. Discovering Python source code.... Discovered Python source, time: 0.02 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 630, in <module> clean_install_dir(output_dir, python_packages, python_modules, ext_modules) File "/home/unicornis24/builds/sagemath-git/src/sage/src/sage_setup/clean.py", line 153, 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

arojas commented on 2015-06-30 18:14 (UTC)

@Daedalus you'll need to update pari-sage to the latest version 2.8-1637 from http://mirrors.mit.edu/sage/spkg/upstream/pari/, you can do it with abs. I can't update the [community] package since it's not compatible with Sage 6.7

Daedalus24 commented on 2015-06-30 17:39 (UTC)

And the beginning of it: patching file src/sage/misc/package.py Hunk #1 succeeded at 203 (offset -1 lines). patching file src/bin/sage-env Hunk #3 succeeded at 274 (offset 7 lines). Hunk #4 succeeded at 316 (offset -2 lines). Hunk #5 succeeded at 399 with fuzz 2 (offset 21 lines). Hunk #6 succeeded at 564 (offset 17 lines). patching file src/sage/env.py patching file src/setup.py Reversed (or previously applied) patch detected! Assume -R? [n] y Hunk #1 succeeded at 618 (offset 33 lines). patching file src/bin/sage patching file src/module_list.py Hunk #1 succeeded at 625 (offset -60 lines). patching file ./src/sage/rings/bernmm/bernmm-test.cpp patching file ./src/sage/rings/bernmm/bern_modp.cpp patching file ./src/sage/rings/bernmm/bern_modp.h patching file ./src/sage/rings/bernmm/bern_modp_util.cpp patching file ./src/sage/rings/bernmm/bern_modp_util.h patching file pexpect.py Hunk #3 succeeded at 419 (offset -3 lines). patching file pexpect.py Hunk #1 succeeded at 342 (offset 1 line). ==> Removing existing $pkgdir/ directory... ==> Starting build()... make: 'sage/libs/pari/auto_gen.pxi' is up to date. make: 'sage/ext/interpreters/__init__.py' is up to date. Updating Cython code.... Enabling Cython debugging support Compiling sage/algebras/quatalg/quaternion_algebra_element.pyx because it depends on ./sage/structure/category_object.pxd. ...

Daedalus24 commented on 2015-06-30 17:30 (UTC)

Hello @arojas, rankwidth install well, makepkg returns error when trying to build sagemath-git. The problem is in the pari package, as it shows ..... Compiling sage/ext/interpreters/wrapper_rr.pyx because it changed. Compiling sage/ext/interpreters/wrapper_py.pyx because it changed. Compiling sage/ext/interpreters/wrapper_el.pyx because it changed. [ 1/419] Cythonizing sage/graphs/bliss.pyx [ 2/419] Cythonizing sage/libs/gap/util.pyx [ 3/419] Cythonizing sage/libs/pari/pari_instance.pyx Error compiling Cython file: ------------------------------------------------------------ ... _x = (<gen>x).g cdef long _y = -1 if y is not None: _y = pari_instance.get_var(y) pari_catch_sig_on() cdef GEN _ret = polmodular(L, _x, _y, compute_derivs) ^ ------------------------------------------------------------ sage/libs/pari/auto_instance.pxi:928:34: Call with wrong number of arguments (expected 5, got 4) ************************************************************************ Traceback (most recent call last): File "setup.py", line 604, in <module> run_cythonize() File "setup.py", line 596, in run_cythonize 'profile': profile, File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 873, in cythonize cythonize_one(*args) File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 993, in cythonize_one raise CompileError(None, pyx_file) CompileError: sage/libs/pari/pari_instance.pyx ************************************************************************ Error building the Sage library