Collecting git+https://github.com/videlec/pypolymake Cloning https://github.com/videlec/pypolymake to /tmp/pip-n4LMb_-build Installing collected packages: pypolymake Running setup.py install for pypolymake: started Running setup.py install for pypolymake: finished with status 'error' Complete output from command /ext/sage/sage-7.6/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-n4LMb_-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-GEvGW4-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/polymake copying polymake/functions.py -> build/lib.linux-x86_64-2.7/polymake copying polymake/__init__.py -> build/lib.linux-x86_64-2.7/polymake creating build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/__init__.py -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/perl_object.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/rational_function.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/incidence_matrix.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/polynomial.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/quadratic_extension.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/array.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/main.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/set.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/handlers.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/map.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/matrix.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/integer.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/vector.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/power_set.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/rational.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/sparse_matrix.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/defs.pxd -> build/lib.linux-x86_64-2.7/polymake copying polymake/rational_function.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/power_set.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/matrix.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/sparse_matrix.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/quadratic_extension.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/handlers.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/rational.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/polynomial.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/sage_conversion.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/big_object.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/vector.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/integer.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/set.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/map.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/incidence_matrix.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/array.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/sage.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/perl_object.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/main.pyx -> build/lib.linux-x86_64-2.7/polymake copying polymake/wrap.h -> build/lib.linux-x86_64-2.7/polymake copying polymake/cygmp/mpq.pxd -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/utils.pxd -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/mpn.pxd -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/mpz.pxd -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/mpf.pxd -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/misc.pxd -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/random.pxd -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/all.pxd -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/types.pxd -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/utils.pyx -> build/lib.linux-x86_64-2.7/polymake/cygmp copying polymake/cygmp/python_extra.h -> build/lib.linux-x86_64-2.7/polymake/cygmp running build_ext *** Rebuilding handlers and mappings *** Map.h --> map.pxd Set.h --> set.pxd Matrix.h --> matrix.pxd QuadraticExtension.h --> quadratic_extension.pxd PowerSet.h --> power_set.pxd Vector.h --> vector.pxd Rational.h --> rational.pxd Polynomial.h --> polynomial.pxd Integer.h --> integer.pxd Array.h --> array.pxd RationalFunction.h --> rational_function.pxd IncidenceMatrix.h --> incidence_matrix.pxd SparseMatrix.h --> sparse_matrix.pxd polymake/sage_conversion.pyx: cannot find cimported module 'sage.libs.flint.fmpq_mat' Compiling polymake/perl_object.pyx because it depends on polymake/map.pxd. Compiling polymake/main.pyx because it depends on polymake/array.pxd. Compiling polymake/handlers.pyx because it depends on polymake/vector.pxd. Compiling polymake/array.pyx because it depends on polymake/set.pxd. Compiling polymake/incidence_matrix.pyx because it depends on polymake/incidence_matrix.pxd. Compiling polymake/integer.pyx because it depends on polymake/rational.pxd. Compiling polymake/map.pyx because it depends on polymake/rational.pxd. Compiling polymake/matrix.pyx because it depends on polymake/auto_matrix.pxi. Compiling polymake/polynomial.pyx because it depends on polymake/auto_polynomial.pxi. Compiling polymake/power_set.pyx because it depends on polymake/auto_power_set.pxi. Compiling polymake/quadratic_extension.pyx because it depends on polymake/auto_quadratic_extension.pxi. Compiling polymake/rational.pyx because it depends on polymake/rational.pxd. Compiling polymake/rational_function.pyx because it depends on polymake/auto_rational_function.pxi. Compiling polymake/set.pyx because it depends on polymake/auto_set.pxi. Compiling polymake/sparse_matrix.pyx because it depends on polymake/sparse_matrix.pxd. Compiling polymake/vector.pyx because it depends on polymake/vector.pxd. Compiling polymake/sage_conversion.pyx because it depends on polymake/vector.pxd. [ 1/17] Cythonizing polymake/array.pyx [ 2/17] Cythonizing polymake/handlers.pyx warning: polymake/handlers.pyx:80:19: local variable 'ans' referenced before assignment warning: polymake/handlers.pyx:81:14: local variable 'ans' referenced before assignment warning: polymake/handlers.pyx:84:26: local variable 'ans' referenced before assignment warning: polymake/handlers.pyx:85:14: local variable 'ans' referenced before assignment warning: polymake/handlers.pyx:89:21: local variable 'ans' referenced before assignment warning: polymake/handlers.pyx:90:14: local variable 'ans' referenced before assignment warning: polymake/handlers.pyx:93:28: local variable 'ans' referenced before assignment warning: polymake/handlers.pyx:94:14: local variable 'ans' referenced before assignment [ 3/17] Cythonizing polymake/incidence_matrix.pyx [ 4/17] Cythonizing polymake/integer.pyx [ 5/17] Cythonizing polymake/main.pyx [ 6/17] Cythonizing polymake/map.pyx [ 7/17] Cythonizing polymake/matrix.pyx [ 8/17] Cythonizing polymake/perl_object.pyx [ 9/17] Cythonizing polymake/polynomial.pyx [10/17] Cythonizing polymake/power_set.pyx [11/17] Cythonizing polymake/quadratic_extension.pyx [12/17] Cythonizing polymake/rational.pyx [13/17] Cythonizing polymake/rational_function.pyx [14/17] Cythonizing polymake/sage_conversion.pyx [15/17] Cythonizing polymake/set.pyx [16/17] Cythonizing polymake/sparse_matrix.pyx [17/17] Cythonizing polymake/vector.pyx building 'polymake.cygmp.utils' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/polymake creating build/temp.linux-x86_64-2.7/polymake/cygmp gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -fPIC -I/ext/sage/sage-7.6/local/include/python2.7 -c polymake/cygmp/utils.c -o build/temp.linux-x86_64-2.7/polymake/cygmp/utils.o polymake/cygmp/utils.c:7:28: warning: "/*" within comment [-Wcomment] "polymake/cygmp/*.pxd", ^ polymake/cygmp/utils.c:8:28: warning: "/*" within comment [-Wcomment] "polymake/cygmp/*h" ^ gcc -pthread -shared -L/ext/sage/sage-7.6/local/lib -Wl,-rpath,/ext/sage/sage-7.6/local/lib -L/ext/sage/sage-7.6/local/lib -Wl,-rpath,/ext/sage/sage-7.6/local/lib build/temp.linux-x86_64-2.7/polymake/cygmp/utils.o -L/ext/sage/sage-7.6/local/lib -lgmp -lpython2.7 -o build/lib.linux-x86_64-2.7/polymake/cygmp/utils.so building 'polymake.perl_object' extension gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -fPIC -I/ext/sage/sage-7.6/local/include/python2.7 -c polymake/perl_object.cpp -o build/temp.linux-x86_64-2.7/polymake/perl_object.o polymake/perl_object.cpp:7:22: warning: "/*" within comment [-Wcomment] "polymake/*.pxd", ^ polymake/perl_object.cpp:8:28: warning: "/*" within comment [-Wcomment] "polymake/cygmp/*", ^ In file included from /ext/sage/sage-7.6/local/include/polymake/Series.h:25:0, from /ext/sage/sage-7.6/local/include/polymake/internal/sparse.h:20, from /ext/sage/sage-7.6/local/include/polymake/GenericIO.h:20, from /ext/sage/sage-7.6/local/include/polymake/perl/Value.h:20, from /ext/sage/sage-7.6/local/include/polymake/client.h:21, from /ext/sage/sage-7.6/local/include/polymake/Main.h:31, from polymake/wrap.h:5, from polymake/perl_object.cpp:471: /ext/sage/sage-7.6/local/include/polymake/internal/shared_object.h: In member function ‘bool pm::shared_alias_handler::preCoW(long int) const’: /ext/sage/sage-7.6/local/include/polymake/internal/shared_object.h:204:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] return is_owner() || al_set.owner && refc > al_set.owner->n_aliases+1; ^ In file included from /ext/sage/sage-7.6/local/include/polymake/internal/sparse.h:23:0, from /ext/sage/sage-7.6/local/include/polymake/GenericIO.h:20, from /ext/sage/sage-7.6/local/include/polymake/perl/Value.h:20, from /ext/sage/sage-7.6/local/include/polymake/client.h:21, from /ext/sage/sage-7.6/local/include/polymake/Main.h:31, from polymake/wrap.h:5, from polymake/perl_object.cpp:471: /ext/sage/sage-7.6/local/include/polymake/internal/iterator_zipper.h: In static member function ‘static int pm::forward_zipper::state(int)’: /ext/sage/sage-7.6/local/include/polymake/internal/iterator_zipper.h:35:45: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] static int state(int cmp) { return 1 << 1+cmp; } ^ /ext/sage/sage-7.6/local/include/polymake/internal/iterator_zipper.h: In static member function ‘static int pm::set_symdifference_zipper::stable(int)’: /ext/sage/sage-7.6/local/include/polymake/internal/iterator_zipper.h:57:48: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] static int stable(int state) { return state & zipper_lt+zipper_gt; } ^ In file included from /ext/sage/sage-7.6/local/include/polymake/permutations.h:25:0, from /ext/sage/sage-7.6/local/include/polymake/next/IncidenceMatrix.h:28, from /ext/sage/sage-7.6/local/include/polymake/IncidenceMatrix.h:20, from polymake/perl_object.cpp:480: /ext/sage/sage-7.6/local/include/polymake/Bitset.h: In member function ‘bool pm::Bitset_iterator::at_end() const’: /ext/sage/sage-7.6/local/include/polymake/Bitset.h:78:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] diff==0 && !(mpz_getlimbn(bits, n) & (mp_limb_t)(-1) << (cur%bits_per_limb)); ^ polymake/perl_object.cpp: In function ‘PyObject* __pyx_f_8polymake_11perl_object_get_properties(__pyx_obj_8polymake_11perl_object_PerlObject*, int)’: polymake/perl_object.cpp:1600:79: error: ‘call_function’ was not declared in this scope __pyx_t_4 = call_function(((std::string)__pyx_t_3), (__pyx_v_p->pm_obj[0])); ^ polymake/perl_object.cpp: In function ‘PyObject* __pyx_f_8polymake_11perl_object_get_methods(__pyx_obj_8polymake_11perl_object_PerlObject*, int)’: polymake/perl_object.cpp:1888:79: error: ‘call_function’ was not declared in this scope __pyx_t_4 = call_function(((std::string)__pyx_t_3), (__pyx_v_p->pm_obj[0])); ^ polymake/perl_object.cpp: In function ‘PyObject* __pyx_pf_8polymake_11perl_object_10call_polymake_function(PyObject*, PyObject*, PyObject*, PyObject*)’: polymake/perl_object.cpp:2401:57: error: ‘call_function’ was not declared in this scope __pyx_t_8 = call_function(((std::string)__pyx_t_7)); ^ polymake/perl_object.cpp:2442:75: error: ‘call_function’ was not declared in this scope __pyx_t_8 = call_function(((std::string)__pyx_t_7), ((int)__pyx_t_9)); ^ polymake/perl_object.cpp:2487:94: error: ‘call_function’ was not declared in this scope __pyx_t_8 = call_function(((std::string)__pyx_t_7), ((int)__pyx_t_9), ((int)__pyx_t_10)); ^ polymake/perl_object.cpp:2536:113: error: ‘call_function’ was not declared in this scope __pyx_t_8 = call_function(((std::string)__pyx_t_7), ((int)__pyx_t_10), ((int)__pyx_t_9), ((int)__pyx_t_11)); ^ error: command 'gcc' failed with exit status 1 ----------------------------------------