New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/issues/28989#issuecomment-784277765 Comment: While doing that I run `xbps-src check` and found that several tests fail, revealing that other dependencies are missing: - in the current version: 12 tests fail - adding `mpfr-devel` to `makedepends`: 9 tests fail - adding also `pari-devel`: 2 tests fail - adding a patch found in [`sagemath`](https://trac.sagemath.org/ticket/25567#comment:41): 1 tests fail I wasn't able to get rid of the last fail (a segmentation fault). Should I do all of that in a single PR, or split? Comments: - For the remaining test failure, I will open another issue. I should point out that `sagemath` compiles giac (I think the same version as in void) and that one does NOT have the segfault so this might be worth looking into. - There are more (optional?) dependencies for giac, some of them are available in void, namely: `libao-devel libsamplerate-devel libcurl-devel libICE-devel glpk-devel gmpxx-devel ecm-devel`. If adding them to `makedepends`, they are found by configure, but they don't affect tests. I'm not sure if I should also add those dependencies or not. In case of doubt, I'll stick to the changes described above (mpfr and pari) - For the record, other (optional?) dependencies not available in void are `mpfi ntl CoCoA nauty` - I'm not a direct user of `giac`, but I would like to package `sagemath` or at least make it easy to compile with as many system packages as possible. The original issue was caught by running sage tests.