Bug 257551 - math/mpfr: Update 4.1.0 to patchlevel 13
Summary: math/mpfr: Update 4.1.0 to patchlevel 13
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alex Dupre
URL: https://www.mpfr.org/mpfr-4.1.0/
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-02 07:21 UTC by Daniel Engberg
Modified: 2021-08-11 15:49 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments
Patch for mpfr (3.08 KB, patch)
2021-08-02 07:21 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2021-08-02 07:21:32 UTC
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)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2021-08-02 11:23:41 UTC
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
============================================================================
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-08-06 12:16:35 UTC
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(-)
Comment 3 Jan Beich freebsd_committer freebsd_triage 2021-08-11 14:36:57 UTC
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.
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2021-08-11 15:49:35 UTC
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.