Bug#986527: sagemath: FTBFS: /<<PKGBUILDDIR>>/sage/src/bin/sage: line 549: exec: cython: not found

Jochen Sprickerhof jspricke at debian.org
Tue May 18 14:31:44 BST 2021


Hi Julien,

* Julien Puydt <julien.puydt at gmail.com> [2021-05-18 07:56]:
>1) Upstream itself uses the testsuite in the sense of "shouldn't have
>too many failing tests", and it still allows to detect when a build is
>utterly broken, so we shouldn't disable it.

Debian doesn't necessarily need to do the same as upstream here.

>2) It's not an FTBFS, since the sources actually build to a set of
>packages.

I did a diff of the logs from EC2 and RB and found this only on RB:
Killing test src/sage/misc/cython.py
(14 in total)

That's this line:

https://sources.debian.org/src/sagemath/9.2-2/sage/src/sage/doctest/forker.py/#L1999

So if we add a

except: before the finally: we get:

EXCEPTION: [Errno 24] Too many open files

so running the build with a higher file limit:

ulimit -n 10240

will produce:

Error: 1940 tests failed, up to 200 failures are tolerated

Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20210518/51355fac/attachment.sig>


More information about the debian-science-maintainers mailing list