Created attachment 226869 [details] Patch for mpfr Update mpfr 4.1.0 to patchlevel 13 Compile and tested on FreeBSD 13.0-STABLE #0 stable/13-n246086-a20c597c6d7 (amd64) (make, make check-plist, make test) Poudriere testport OK 12.2-RELEASE (amd64) Poudriere testport OK 11.4-RELEASE (amd64)
Output from make test on amd64 ============================================================================ Testsuite summary for MPFR 4.1.0 ============================================================================ # TOTAL: 183 # PASS: 180 # SKIP: 3 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a6ff91e17a65e7c43e158fe7c3ebe0c4228e66fc commit a6ff91e17a65e7c43e158fe7c3ebe0c4228e66fc Author: Alex Dupre <ale@FreeBSD.org> AuthorDate: 2021-08-06 12:14:39 +0000 Commit: Alex Dupre <ale@FreeBSD.org> CommitDate: 2021-08-06 12:15:58 +0000 math/mpfr: update to patchlevel 13. PR: 257551 Submitted by: Daniel Engberg <daniel.engberg.lists@pyret.net> math/mpfr/Makefile | 5 +++-- math/mpfr/distinfo | 28 +++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 3 deletions(-)
Looks like this broke some consumers e.g., http://www.ipv6proxy.net/go.php?u=http://beefy16.nyi.freebsd.org/data/130amd64-default/1684f47e9bea/logs/mppp-0.24_2.log src/complex.cpp:662:7: error: expected unqualified-id ::mpfr_set(mpc_realref(&m_mpc), tmp.get_mpfr_t(), MPFR_RNDN); ^ /usr/local/include/mpfr.h:882:3: note: expanded from macro 'mpfr_set' __extension__ ({ \ ^ src/complex.cpp:676:7: error: expected unqualified-id ::mpfr_set(mpc_realref(&m_mpc), tmp.get_mpfr_t(), MPFR_RNDN); ^ /usr/local/include/mpfr.h:882:3: note: expanded from macro 'mpfr_set' __extension__ ({ \ ^ src/complex.cpp:690:7: error: expected unqualified-id ::mpfr_set(mpc_realref(&m_mpc), tmp.get_mpfr_t(), MPFR_RNDN); ^ /usr/local/include/mpfr.h:882:3: note: expanded from macro 'mpfr_set' __extension__ ({ \ ^ 3 errors generated. http://www.ipv6proxy.net/go.php?u=http://beefy16.nyi.freebsd.org/data/130amd64-default/1684f47e9bea/logs/py38-piranha-0.11_7.log In file included from pyranha/core.cpp:64: pyranha/../src/real.hpp:751:11: error: expected unqualified-id ::mpfr_set(m_value, other.m_value, default_rnd); ^ /usr/local/include/mpfr.h:882:3: note: expanded from macro 'mpfr_set' __extension__ ({ \ ^ In file included from pyranha/core.cpp:64: pyranha/../src/real.hpp:811:11: error: expected unqualified-id ::mpfr_set(m_value, other.m_value, default_rnd); ^ /usr/local/include/mpfr.h:882:3: note: expanded from macro 'mpfr_set' __extension__ ({ \ ^ In file included from pyranha/core.cpp:64: pyranha/../src/real.hpp:856:15: error: expected unqualified-id ::mpfr_set(m_value, other.m_value, default_rnd); ^ /usr/local/include/mpfr.h:882:3: note: expanded from macro 'mpfr_set' __extension__ ({ \ ^ 3 errors generated.
math/mppp is reported upstream by yuri@ https://github.com/bluescarni/mppp/issues/281 math/py-piranha (and math/piranha) is by the same author so I think upstream is aware of the issue.