Bug 1074597

Summary: sagemath FTBFS against Singular-3.1.6
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: sagemathAssignee: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: paulo.cesar.pereira.de.andrade
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-15 14:32:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1074590    
Attachments:
Description Flags
sagemath-singular-3.1.6.patch none

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.