[sage-devel] Compilation of 6.2.beta0 - 6.2.beta4 fails

2014-03-16 Thread Christian Stump
Hi --

[ disclaimer: I am not quite sure that I did everything right, git still 
doesn't feel like home. ]

I pulled the Sage master and development branches. Then I checked out 
master and compiled 6.1.1 without problems. Then I checked out devel, 
compiled, and got the error below. Then I checked out (like a5c1ade...) for 
6.2.beta0, but the error remained.

Prequestion 1: Did these last checkouts actually updated the files?

Prequestion 2: What is the default way of checking on which Sage version a 
branch on trac is built on?

Question: Did I do sth. wrong / what to do to fix the error ( Ubuntu 13.10, 
64bit ) ?

Thanks!

Christian

---

sage/libs/singular/function.cpp:11286:92: error: invalid conversion from 
‘sleftv*’ to ‘int’ [-fpermissive]
   __pyx_v_error = iiMake_proc(__pyx_v_self->proc_idhdl, NULL, 
__pyx_v_argument_list->args);


^
sage/libs/singular/function.cpp:11323:38: error: no matching function for 
call to ‘sleftv::Copy(sleftv**)’
 __pyx_v_res->Copy((&iiRETURNEXPR));
  ^
sage/libs/singular/function.cpp:11323:38: note: candidate is:
In file included from ../local/include/singular/lists.h:12:0,
 from ../local/include/libsingular.h:24,
 from sage/libs/singular/function.cpp:319:
../local/include/singular/subexpr.h:60:10: note: void sleftv::Copy(leftv)
 void Copy(leftv e);
  ^
../local/include/singular/subexpr.h:60:10: note:   no known conversion for 
argument 1 from ‘sleftv**’ to ‘leftv {aka sleftv*}’
sage/libs/singular/function.cpp:11332:18: error: request for member ‘Init’ 
in ‘iiRETURNEXPR’, which is of pointer type ‘sleftv*’ (maybe you meant to 
use ‘->’ ?)
 iiRETURNEXPR.Init();
  ^
error: command 'gcc' failed with exit status 1gcc -fno-strict-aliasing -g 
-O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-I/home/stumpc5/progs/sage/local/include/singular 
-I/home/stumpc5/progs/sage/local/include/factory 
-I/home/stumpc5/progs/sage/local/include 
-I/home/stumpc5/progs/sage/local/include/csage 
-I/home/stumpc5/progs/sage/src -I/home/stumpc5/progs/sage/src/sage/ext 
-I/home/stumpc5/progs/sage/local/include 
-I/home/stumpc5/progs/sage/local/include/csage 
-I/home/stumpc5/progs/sage/src -I/home/stumpc5/progs/sage/src/sage/ext 
-I/home/stumpc5/progs/sage/local/include/python2.7 -c 
sage/libs/singular/option.cpp -o 
build/temp.linux-x86_64-2.7/sage/libs/singular/option.o 
-D__STDC_LIMIT_MACROS -fno-strict-aliasing -w -fno-tree-dominator-opts 
-fno-strict-aliasing -w -fno-tree-dominator-opts -fno-strict-aliasing -w 
-fno-tree-dominator-opts -fno-strict-aliasing -w -fno-tree-dominator-opts 
-fno-strict-aliasing -w -fno-tree-dominator-opts -fno-strict-aliasing -w 
-fno-tree-dominator-opts -fno-strict-aliasing -w -fno-tree-dominator-opts 
-fno-strict-aliasing -w -fno-tree-dominator-opts -fno-strict-aliasing -w 
-fno-tree-dominator-opts -fno-strict-aliasing -w -fno-tree-dominator-opts 
-fno-strict-aliasing -w -fno-tree-dominator-opts -fno-strict-aliasing -w 
-fno-tree-dominator-opts -fno-strict-aliasing -w -fno-tree-dominator-opts

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Compilation of 6.2.beta0 - 6.2.beta4 fails

2014-03-16 Thread Vincent Delecroix
Could you be more precise on which command did you use? It might be
that you rebuild sage source code ("sage -b") instead of rebuild
everything ("make").

2014-03-16 19:32 UTC+01:00, Christian Stump :
> Hi --
>
> [ disclaimer: I am not quite sure that I did everything right, git still
> doesn't feel like home. ]
>
> I pulled the Sage master and development branches. Then I checked out
> master and compiled 6.1.1 without problems. Then I checked out devel,
> compiled, and got the error below. Then I checked out (like a5c1ade...) for
>
> 6.2.beta0, but the error remained.
>
> Prequestion 1: Did these last checkouts actually updated the files?
>
> Prequestion 2: What is the default way of checking on which Sage version a
> branch on trac is built on?
>
> Question: Did I do sth. wrong / what to do to fix the error ( Ubuntu 13.10,
>
> 64bit ) ?
>
> Thanks!
>
> Christian
>
> ---
>
> sage/libs/singular/function.cpp:11286:92: error: invalid conversion from
> 'sleftv*' to 'int' [-fpermissive]
>__pyx_v_error = iiMake_proc(__pyx_v_self->proc_idhdl, NULL,
> __pyx_v_argument_list->args);
>
> ^
> sage/libs/singular/function.cpp:11323:38: error: no matching function for
> call to 'sleftv::Copy(sleftv**)'
>  __pyx_v_res->Copy((&iiRETURNEXPR));
>   ^
> sage/libs/singular/function.cpp:11323:38: note: candidate is:
> In file included from ../local/include/singular/lists.h:12:0,
>  from ../local/include/libsingular.h:24,
>  from sage/libs/singular/function.cpp:319:
> ../local/include/singular/subexpr.h:60:10: note: void sleftv::Copy(leftv)
>  void Copy(leftv e);
>   ^
> ../local/include/singular/subexpr.h:60:10: note:   no known conversion for
> argument 1 from 'sleftv**' to 'leftv {aka sleftv*}'
> sage/libs/singular/function.cpp:11332:18: error: request for member 'Init'
> in 'iiRETURNEXPR', which is of pointer type 'sleftv*' (maybe you meant to
> use '->' ?)
>  iiRETURNEXPR.Init();
>   ^
> error: command 'gcc' failed with exit status 1gcc -fno-strict-aliasing -g
> -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
> -I/home/stumpc5/progs/sage/local/include/singular
> -I/home/stumpc5/progs/sage/local/include/factory
> -I/home/stumpc5/progs/sage/local/include
> -I/home/stumpc5/progs/sage/local/include/csage
> -I/home/stumpc5/progs/sage/src -I/home/stumpc5/progs/sage/src/sage/ext
> -I/home/stumpc5/progs/sage/local/include
> -I/home/stumpc5/progs/sage/local/include/csage
> -I/home/stumpc5/progs/sage/src -I/home/stumpc5/progs/sage/src/sage/ext
> -I/home/stumpc5/progs/sage/local/include/python2.7 -c
> sage/libs/singular/option.cpp -o
> build/temp.linux-x86_64-2.7/sage/libs/singular/option.o
> -D__STDC_LIMIT_MACROS -fno-strict-aliasing -w -fno-tree-dominator-opts
> -fno-strict-aliasing -w -fno-tree-dominator-opts -fno-strict-aliasing -w
> -fno-tree-dominator-opts -fno-strict-aliasing -w -fno-tree-dominator-opts
> -fno-strict-aliasing -w -fno-tree-dominator-opts -fno-strict-aliasing -w
> -fno-tree-dominator-opts -fno-strict-aliasing -w -fno-tree-dominator-opts
> -fno-strict-aliasing -w -fno-tree-dominator-opts -fno-strict-aliasing -w
> -fno-tree-dominator-opts -fno-strict-aliasing -w -fno-tree-dominator-opts
> -fno-strict-aliasing -w -fno-tree-dominator-opts -fno-strict-aliasing -w
> -fno-tree-dominator-opts -fno-strict-aliasing -w -fno-tree-dominator-opts
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Compilation of 6.2.beta0 - 6.2.beta4 fails

2014-03-16 Thread Christian Stump
>
> Could you be more precise on which command did you use? It might be
>
that you rebuild sage source code ("sage -b") instead of rebuild
> everything ("make").
>

That is right, I did use "sage -b". Should I have used "make" instead? (At
some point I also tried "make start", but I am not sure anymore if this
worked with 6.1.1. or if it didn't with 6.2.beta*.)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Compilation of 6.2.beta0 - 6.2.beta4 fails

2014-03-16 Thread Vincent Delecroix
2014-03-16 19:57 UTC+01:00, Christian Stump :
>>
>> Could you be more precise on which command did you use? It might be
>>
> that you rebuild sage source code ("sage -b") instead of rebuild
>> everything ("make").
>>
>
> That is right, I did use "sage -b". Should I have used "make" instead? (At
> some point I also tried "make start", but I am not sure anymore if this
> worked with 6.1.1. or if it didn't with 6.2.beta*.)
>

The thing is that between two versions some of the spkg might have
changed. So each time you change version you should do use "make". If
no spkg has changed, it will be equivalent to "sage -b".

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Compilation of 6.2.beta0 - 6.2.beta4 fails

2014-03-16 Thread Christian Stump
>
> The thing is that between two versions some of the spkg might have
>
 changed. So each time you change version you should do use "make". If
> no spkg has changed, it will be equivalent to "sage -b".
>

Thanks, it worked now! But I just got the below error building the doc. Is
that related, or another issue?

Cheers,

Christian


[graphs   ]
/home/stumpc5/progs/sage/local/lib/python2.7/site-packages/sage/graphs/dot2tex_utils.py:docstring
of sage.graphs.dot2tex_utils.key_with_hash:1: ERROR: Unknown interpreted
text role "function".
[graphs   ]
/home/stumpc5/progs/sage/local/lib/python2.7/site-packages/sage/graphs/dot2tex_utils.py:docstring
of sage.graphs.dot2tex_utils.key_with_hash:1: ERROR: Unknown interpreted
text role "function".
Traceback (most recent call last):
  File "/home/stumpc5/progs/sage/src/doc/common/builder.py", line 83, in f
execfile(sys.argv[0])
  File "/home/stumpc5/progs/sage/src/doc/common/custom-sphinx-build.py",
line 185, in 
sphinx.cmdline.main(sys.argv)
  File
"/home/stumpc5/progs/sage/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/cmdline.py",
line 206, in main
print >>error
  File "/home/stumpc5/progs/sage/src/doc/common/custom-sphinx-build.py",
line 165, in write
self._write(str)
  File "/home/stumpc5/progs/sage/src/doc/common/custom-sphinx-build.py",
line 139, in _write
self._log_line(line)
  File "/home/stumpc5/progs/sage/src/doc/common/custom-sphinx-build.py",
line 108, in _log_line
raise OSError(line)
OSError: [graphs   ]
/home/stumpc5/progs/sage/local/lib/python2.7/site-packages/sage/graphs/dot2tex_utils.py:docstring
of sage.graphs.dot2tex_utils.key_with_hash:1: ERROR: Unknown interpreted
text role "function".


Error building the documentation.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Compilation of 6.2.beta0 - 6.2.beta4 fails

2014-03-16 Thread Vincent Delecroix
No idea... You can try to rebuild doc from scratch with "make
doc-clean" and then "make doc-html". Anyway, even not doing that you
should have a working Sage version (without docs)

2014-03-16 22:48 UTC+01:00, Christian Stump :
>>
>> The thing is that between two versions some of the spkg might have
>>
>  changed. So each time you change version you should do use "make". If
>> no spkg has changed, it will be equivalent to "sage -b".
>>
>
> Thanks, it worked now! But I just got the below error building the doc. Is
> that related, or another issue?
>
> Cheers,
>
> Christian
>
>
> [graphs   ]
> /home/stumpc5/progs/sage/local/lib/python2.7/site-packages/sage/graphs/dot2tex_utils.py:docstring
> of sage.graphs.dot2tex_utils.key_with_hash:1: ERROR: Unknown interpreted
> text role "function".
> [graphs   ]
> /home/stumpc5/progs/sage/local/lib/python2.7/site-packages/sage/graphs/dot2tex_utils.py:docstring
> of sage.graphs.dot2tex_utils.key_with_hash:1: ERROR: Unknown interpreted
> text role "function".
> Traceback (most recent call last):
>   File "/home/stumpc5/progs/sage/src/doc/common/builder.py", line 83, in f
> execfile(sys.argv[0])
>   File "/home/stumpc5/progs/sage/src/doc/common/custom-sphinx-build.py",
> line 185, in 
> sphinx.cmdline.main(sys.argv)
>   File
> "/home/stumpc5/progs/sage/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/cmdline.py",
> line 206, in main
> print >>error
>   File "/home/stumpc5/progs/sage/src/doc/common/custom-sphinx-build.py",
> line 165, in write
> self._write(str)
>   File "/home/stumpc5/progs/sage/src/doc/common/custom-sphinx-build.py",
> line 139, in _write
> self._log_line(line)
>   File "/home/stumpc5/progs/sage/src/doc/common/custom-sphinx-build.py",
> line 108, in _log_line
> raise OSError(line)
> OSError: [graphs   ]
> /home/stumpc5/progs/sage/local/lib/python2.7/site-packages/sage/graphs/dot2tex_utils.py:docstring
> of sage.graphs.dot2tex_utils.key_with_hash:1: ERROR: Unknown interpreted
> text role "function".
>
>
> Error building the documentation.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Compilation of 6.2.beta0 - 6.2.beta4 fails

2014-03-16 Thread Christian Stump
>
> No idea... You can try to rebuild doc from scratch with "make
>
doc-clean" and then "make doc-html". Anyway, even not doing that you
> should have a working Sage version (without docs)
>

Thanks again, Sage works now! And I will be the docs working hopefully
also...

Christian

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.