Skip to content

d/p/upstream-big-endian.patch: New patch; fix identifier handling on big endian architectures.

Doug Torrance requested to merge dtorrance/singular:big-endian into master

Singular 4.1.2 is broken on big endian architectures like s390x, e.g.,:

                     SINGULAR                                 /  Development
 A Computer Algebra System for Polynomial Computations       /   version 4.2.1
                                                           0<
 by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \   May 2021
FB Mathematik der Universitaet, D-67653 Kaiserslautern        \  Debian 1:4.2.1-p2+ds-5
> ring r=32003,(x,y,z),dp;
> poly f=x3+y5+z2;
> f;
   ? `f` is undefined
   ? error occurred in or before STDIN line 3: `f;`

This causes the QEPCAD autopkgtests to fail, which is in turn preventing Singular (and thus Macaulay2 and Pynac) from migrating from "proposed" to "release" in Ubuntu.

See https://github.com/Singular/Singular/issues/1125. Fortunately, upstream provided a fix very quickly, which I've adapted into a quilt patch.

Merge request reports

Loading