Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #30325: Optional package deformation fails to build: mpir.h not …
…found On `homebrew-macos-maximal` (https://github.com/mkoeppe/sage/runs/959683064) - which uses gmp from the system, not mpir... {{{ [deformation-d05941b.p0] error installing, exit status 1. End of log file: [deformation-d05941b.p0] /Users/runner/work/sage/sage/.tox/local- homebrew-macos-maximal/local/var/tmp/sage/build/deformation- d05941b.p0/src/generics.h:12:10: fatal error: 'mpir.h' file not found [deformation-d05941b.p0] #include <mpir.h> [deformation-d05941b.p0] ^~~~~~~~ [deformation-d05941b.p0] In file included from zero.c:1: [deformation-d05941b.p0] In file included from /Users/runner/work/sage/sage/.tox/local-homebrew-macos- maximal/local/var/tmp/sage/build/deformation-d05941b.p0/src/vec.h:8: [deformation-d05941b.p0] /Users/runner/work/sage/sage/.tox/local- homebrew-macos-maximal/local/var/tmp/sage/build/deformation- d05941b.p0/src/generics.h:12:10: fatal error: 'mpir.h' file not found }}} Is this package still maintained? Also on `debian-bullseye`: {{{ [deformation-d05941b.p0] CC ../build/perm/../perm.lo [deformation-d05941b.p0] /usr/bin/ld: -r and -pie may not be used together [deformation-d05941b.p0] collect2: error: ld returned 1 exit status }}} --- a straightforward modification of using GMP in place MPIR seems to work just fine, at least on 64-bit linux. Please review. URL: https://trac.sagemath.org/30325 Reported by: mkoeppe Ticket author(s): Matthias Koeppe, Dima Pasechnik Reviewer(s): Matthias Koeppe
- Loading branch information