sagemath/sage

Cygwin patch for Singular

mkoeppe opened this issue · 13 comments

As noted in #32001 comment:1, pynac fails on cygwin-standard. We add a patch to singular to fix this

Singular/Singular#1109 (merged)

CC: @vbraun @dimpase @slel

Component: packages: standard

Author: Matthias Koeppe

Branch/Commit: d4156f7

Reviewer: Dima Pasechnik, Samuel Lelièvre

Issue created by migration from https://trac.sagemath.org/ticket/32257

Description changed:

--- 
+++ 
@@ -1 +1,4 @@
 As noted in [#32001 comment:1](https://github.com/sagemath/sage/issues/32001#comment:1), pynac fails on `cygwin-standard`. We add a patch to `singular` to fix this
+
+https://github.com/Singular/Singular/pull/1109
+
comment:4

This does the job.


New commits:

d4156f7build/pkgs/singular/patches/0001-factory-canonicalform.h-Add-more-FACTORY_PUBLIC.patch: New

Commit: d4156f7

Author: Matthias Koeppe

Description changed:

--- 
+++ 
@@ -1,4 +1,4 @@
 As noted in [#32001 comment:1](https://github.com/sagemath/sage/issues/32001#comment:1), pynac fails on `cygwin-standard`. We add a patch to `singular` to fix this
 
-https://github.com/Singular/Singular/pull/1109
+https://github.com/Singular/Singular/pull/1109 (merged)
 
comment:5

OK, great.

Changed reviewer from https://github.com/mkoeppe/sage/actions/runs/1051039345 to Dima Pasechnik

slel commented
comment:6

I applied this locally on Cygwin on Windows 10.
It works and makes #32001 work.

I'm curious how you figured out those changes
would solve this problem! Thank you!

slel commented

Changed reviewer from Dima Pasechnik to Dima Pasechnik, Samuel Lelièvre

comment:7

Thanks for testing! The fix was just an extension of one that Hans Schoenemann did earlier this year to get Cygwin working.