Bug 1074597 - sagemath FTBFS against Singular-3.1.6
Summary: sagemath FTBFS against Singular-3.1.6
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sagemath
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paulo Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Singular-3.1.6
TreeView+ depends on / blocked
 
Reported: 2014-03-10 15:36 UTC by Rex Dieter
Modified: 2015-02-15 14:32 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-15 14:32:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
sagemath-singular-3.1.6.patch (2.29 KB, patch)
2014-03-12 21:36 UTC, Paulo Andrade
no flags Details | Diff

Description Rex Dieter 2014-03-10 15:36:09 UTC
Tried building sagemath-6.1.1-2 against my latest Singular-3.1.6 in progress work (see tracker bug), and hit a build failure:

sage/libs/singular/function.cpp:11669:86: error: invalid conversion from 'BOOLEAN {aka int}' to 'sleftv*' [-fpermissive]
   __pyx_r = iiMake_proc(__pyx_v_self->proc_idhdl, NULL, __pyx_v_argument_list->args);

Comment 1 Paulo Andrade 2014-03-12 18:45:01 UTC
There are already patches available for an update
http://trac.sagemath.org/ticket/14333

I am making some test build locally. And should attach
to this bug report any patch required (that should be
removed when sagemath 6.2 is released), so that you can
follow work on the Singular update.

Comment 2 Paulo Andrade 2014-03-12 21:36:15 UTC
Created attachment 873769 [details]
sagemath-singular-3.1.6.patch

This patch is enough to generate a working sagemath 6.1.1
with Singular 3.1.6.

Comment 3 Paulo Andrade 2014-03-12 21:38:27 UTC
Pseudo patch to update sagemath.spec is:

---%<---
@@ -183,6 +183,10 @@
 # https://bugzilla.redhat.com/show_bug.cgi?id=974769
 Patch28:	%{name}-sympy.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=1074597
+# http://git.sagemath.org/sage.git/commit/?id=536a31f
+Patch29:	%{name}-singular-3.1.6.patch
+
 BuildRequires:	4ti2
 BuildRequires:	atlas-devel
 BuildRequires:	cddlib-tools
@@ -620,6 +624,7 @@
 %patch6
 %patch7
 %patch8
+
 %patch9
 %patch10
 %patch11
@@ -660,6 +665,8 @@
 %patch27
 %patch28
 
+%patch29 -p1
+
 sed -e 's|@@SAGE_ROOT@@|%{SAGE_ROOT}|' \
     -e 's|@@SAGE_DOC@@|%{SAGE_DOC}|' \
     -i src/sage/env.py
---%<---

Feel free to update it.

Comment 4 Paulo Andrade 2015-02-15 14:32:43 UTC
This was a temporary issue.


Note You need to log in before you can comment on or make changes to this bug.