@Daedalus24 it's fixed in AUR4
Search Criteria
Package Details: sagemath-git 6.8.beta3.r0.g336ae6c-1
Package Actions
| Package Base: | sagemath-git |
|---|---|
| Description: | Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab |
| Upstream URL: | http://www.sagemath.org |
| Category: | science |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | arojas |
| Maintainer: | arojas |
| Last Packager: | arojas |
| Votes: | 2 |
| First Submitted: | 2015-04-16 17:55 |
| Last Updated: | 2015-06-07 11:51 |
Dependencies (70)
- eclib
- flintqs
- gap
- gd
- gfan
- glpk
- gmp-ecm
- gsl
- ipython2
- lcalc
- libcliquer
- libgap
- linbox
- lrcalc
- maxima-ecl
- mpfi
- palp
- pari-galdata
- pari-seadata-small
- planarity
- polybori
- ppl
- pynac
- python2-cvxopt
- python2-matplotlib
- python2-networkx
- python2-rpy2
- python2-scipy
- python2-sympy
- rubiks
- sage-data-combinatorial_designs
- sage-data-conway_polynomials
- sage-data-elliptic_curves
- sage-data-graphs
- sage-data-polytopes_db
- singular
- sympow
- tachyon
- zn_poly
- arb (make)
- bliss-graphs (make)
- boost (make)
- coin-or-cbc (make)
- coxeter3 (make)
- cryptominisat (make)
- cython2-devel (make)
- fflas-ffpack (make)
- mcqd (make)
- modular_decomposition (make)
- python2-jinja (make)
- ratpoints (make)
- symmetrica (make)
- arb (optional) – floating-point ball arithmetic
- benzene (optional) – for generating fusenes and benzenoids
- buckygen (optional) – for generating fullerene graphs
- coin-or-cbc (optional) – COIN backend for numerical computations
- coxeter3 (optional) – Coxeter groups implementation
- cryptominisat (optional) – SAT solver
- cython2 (optional) – to compile cython code
- imagemagick (optional) – to show animations
- ipython2-notebook (optional) – IPython notebook interface
- jmol (optional) – 3D plots
- lrs (optional) – Algorithms for linear reverse search used in game theory and for computing volume of polytopes
- mathjax (optional) – IPython notebook interface
- modular_decomposition (optional) – modular decomposition of graphs
- nauty (optional) – for generating some classes of graphs
- plantri (optional) – for generating some classes of graphs
- sage-notebook (optional) – Browser-based (flask) notebook interface
- sagemath-doc (optional) – Documentation and inline help
- sagemath-src (optional) – source files needed to build cython code
Required by (0)
Sources
- anal.h
- clean.patch
- disable-fes.patch
- env.patch
- git://git.sagemath.org/sage.git#branch=develop
- http://mirrors.mit.edu/sage/spkg/upstream/pexpect/pexpect-2.0.tar.bz2
- ntl9.patch
- package.patch
- paths.patch
- pexpect-del.patch
- pexpect-env.patch
- skip-check.patch
Latest Comments
Comment by arojas
Comment by Daedalus24
Hello @arojas. I am reporting a new problem :
Extracting pexpect-2.0.tar.bz2 with bsdtar
==> Starting pkgver()...
==> Updated version: sagemath-git 6.8.beta4.r0.g06dbbff-1
==> Starting prepare()...
patching file src/sage/misc/package.py
Hunk #1 FAILED at 194.
1 out of 1 hunk FAILED -- saving rejects to file src/sage/misc/package.py.rej
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Makepkg was unable to build sagemath-git
Comment by Daedalus24
Much obliged @arojas. Thank you very much for your time and kindness. Warm regards,
Bogdan
Comment by arojas
Should be all good with cython 0.22-3
Comment by arojas
@Daedelus24 It should get further now, but to completely fix it a patch needs to be backported in cython, see https://bugs.archlinux.org/task/43890
Comment by Daedalus24
Hello @arojas and thank you once more. Unfortunately, I still get an error
g++ -o libcsage.so -shared src/interrupt.os src/ntl_wrap.os -L/usr/lib -L/usr/lib/python2.7/config -lntl -lpari -lgmp -lpython2.7
scons: done building targets.
/tmp/yaourt-tmp-unicornis65/aur-sagemath-git/src/sage/src
/bin/sh: --version: command not found
Updating Cython code....
Enabling Cython debugging support
Traceback (most recent call last):
File "setup.py", line 567, in <module>
run_cythonize()
File "setup.py", line 559, in run_cythonize
'profile': profile,
File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 754, in cythonize
aliases=aliases)
File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 662, in create_extension_list
kwds = deps.distutils_info(file, aliases, base).values
File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 562, in distutils_info
return (self.transitive_merge(filename, self.distutils_info0, DistutilsInfo.merge)
File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 572, in transitive_merge
node, extract, merge, seen, {}, self.cimported_files)[0]
File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 577, in transitive_merge_helper
deps = extract(node)
File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 553, in distutils_info0
externs = self.cimports_and_externs(filename)[1]
File "/usr/lib/python2.7/site-packages/Cython/Utils.py", line 35, in wrapper
res = cache[args] = f(self, *args)
File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 463, in cimports_and_externs
for include in self.included_files(filename):
File "/usr/lib/python2.7/site-packages/Cython/Utils.py", line 35, in wrapper
res = cache[args] = f(self, *args)
File "/usr/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 446, in included_files
include_path = self.context.find_include_file(include, None)
File "/usr/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 225, in find_include_file
error(pos, "'%s' not found" % filename)
File "/usr/lib/python2.7/site-packages/Cython/Compiler/Errors.py", line 172, in error
raise InternalError(message)
Cython.Compiler.Errors.InternalError: Internal compiler error: 'auto_gen.pxi' not found
Comment by arojas
Merging in sagemath-git
Comment by arojas
@Daedalus24 It looks like pari needs some extra patching. Sage 6.6 is about to be released and I'll fix all dependencies in [community] then. For now, if you really need latest git, I think you're better off compiling the upstream bundle.
Comment by Daedalus24
This would be my last try, after compiling eclib (./configure --with-pari=/usr --with-ntl=/usr).
I get
Cythonizing sage/libs/ntl/ntl_mat_ZZ.pyx
Cythonizing sage/libs/pari/gen.pyx
Error compiling Cython file:
------------------------------------------------------------
...
cdef GEN _L = NULL
if L is not None:
L = objtogen(L)
_L = (<gen>L).g
pari_catch_sig_on()
cdef GEN _ret = nupow(_x, _n, _L)
^
------------------------------------------------------------
sage/libs/pari/auto_gen.pxi:3256:29: Call with wrong number of arguments (expected 2, got 3)
Traceback (most recent call last):
File "setup.py", line 572, in <module>
run_cythonize()
File "setup.py", line 564, 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)
Cython.Compiler.Errors.CompileError: sage/libs/pari/gen.pyx
==> ERROR: A failure occurred in build().
Aborting...
Comment by Daedalus24
I have managed to compile eclib against pari-git, there is a problem when compiling lcalc
...
../include/Lexplicit_formula.h:457:155: error: redeclaration of ‘Double L_function<ttype>::rhs_explicit_formula(Double, Double, Complex*, int, const char*, int, std::vector<double>)’ may not have default arguments [-fpermissive]
rhs_explicit_formula(Double x_0, Double alpha, Complex *c, int num_coeffs, const char *method="hermite",int n=0,vector<Double> polynomial=vector<Double>())
^
../include/Lexplicit_formula.h:601:181: error: redeclaration of ‘int L_function<ttype>::plot_explicit_formula(Double, Double, Double, Double, const char*, int, Double*)’ may not have default arguments [-fpermissive]
plot_explicit_formula(Double alpha, Double x=Double(0), Double x2=Double(100), Double step_size=.01, const char *xxx_phi_method="hermite", int num_coeffs=-1, Double *rhs_store=NULL){
^
Makefile:253: recipe for target 'Lriemannsiegel.o' failed
make[1]: *** [Lriemannsiegel.o] Error 1
It seems the problem is documented for gcc-5.0 or higher and a bug tracker was filed for the package
http://lists.alioth.debian.org/pipermail/debian-science-maintainers/2015-February/029456.html
Thank you very much again, I have to wait a little before trying to reinstall sage-mathematics-git.
Best regards from here
Comment by arojas
@Dedalus24 thanks, patch should be fixed now. Note that this currently won't compile against the [community] pari package, you need pari-git (and then rebuild eclib and lcalc against it)
Comment by Daedalus24
Hello,
While trying to install I have encountered the following problem:
Making package: sage-mathematics-git 6.6.beta1.r0.g6c5572a-1 (Fri Mar 27 19:22:02 EET 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning sage git repo...
Cloning into bare repository '/tmp/yaourt-tmp-unicornis24/aur-sage-mathematics-git/sage'...
remote: Counting objects: 361117, done.
remote: Compressing objects: 100% (67641/67641), done.
remote: Total 361117 (delta 266862), reused 356278 (delta 262092)
Receiving objects: 100% (361117/361117), 146.42 MiB | 4.95 MiB/s, done.
Resolving deltas: 100% (266862/266862), done.
Checking connectivity... done.
-> 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 16880 0 0:00:01 0:00:01 --:--:-- 16880
-> Found anal.h
-> Found package.patch
-> Found c_lib.patch
-> Found env.patch
-> Found paths.patch
-> Found clean.patch
-> Found skip-check.patch
-> Found pexpect-env.patch
-> Found pexpect-del.patch
-> Found fes02.patch
==> Validating source files with md5sums...
sage ... Skipped
pexpect-2.0.tar.bz2 ... Passed
anal.h ... Passed
package.patch ... Passed
c_lib.patch ... Passed
env.patch ... Passed
paths.patch ... Passed
clean.patch ... Passed
skip-check.patch ... Passed
pexpect-env.patch ... Passed
pexpect-del.patch ... Passed
fes02.patch ... Passed
==> Extracting sources...
-> Creating working copy of sage git repo...
Cloning into 'sage'...
done.
Switched to a new branch 'makepkg'
-> Extracting pexpect-2.0.tar.bz2 with bsdtar
==> Starting pkgver()...
==> Updated version: sage-mathematics-git 6.6.rc1.r0.g4087964-1
==> Starting prepare()...
patching file src/sage/misc/package.py
patching file src/setup.py
Hunk #1 FAILED at 40.
Hunk #2 succeeded at 174 (offset 3 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/setup.py.rej
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Makepkg was unable to build sage-mathematics-git.
I get the same result both on my desktop and laptop. Thank you!
Bogdan