Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904232 - dev-libs/sleef-3.5.1-r1 - /.../testerutil.c: error: conflicting types for mpfr_sinpi; have void(_mpfr_struct , _mpfr_struct , mpfr
Summary: dev-libs/sleef-3.5.1-r1 - /.../testerutil.c: error: conflicting types for mpf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 16:10 UTC by Toralf Förster
Modified: 2023-04-12 20:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.77 KB, text/plain)
2023-04-12 16:10 UTC, Toralf Förster
Details
dev-libs:sleef-3.5.1-r1:20230412-103922.log (dev-libs:sleef-3.5.1-r1:20230412-103922.log,125.99 KB, text/plain)
2023-04-12 16:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.53 KB, text/plain)
2023-04-12 16:10 UTC, Toralf Förster
Details
environment (environment,94.87 KB, text/plain)
2023-04-12 16:10 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,706 bytes, application/x-bzip)
2023-04-12 16:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.90 KB, application/x-bzip)
2023-04-12 16:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.40 KB, application/x-bzip)
2023-04-12 16:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-04-12 16:10:45 UTC
/var/tmp/portage/dev-libs/sleef-3.5.1-r1/work/sleef-3.5.1/src/libm-tester/testerutil.c:293:36: warning: argument 2 of type __mpfr_struct[1] with mismatched bound [-Warray-parameter=]
  293 | void mpfr_sinpi(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd) {
      |                             ~~~~~~~^~~
/usr/include/mpfr.h:752:43: note: previously declared as mpfr_srcptr {aka const __mpfr_struct *}
  752 | __MPFR_DECLSPEC int mpfr_sinpi (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t);
      |                                           ^~~~~~~~~~~
/var/tmp/portage/dev-libs/sleef-3.5.1-r1/work/sleef-3.5.1/src/libm-tester/testerutil.c:293:6: error: conflicting types for mpfr_sinpi; have void(__mpfr_struct *, __mpfr_struct *, mpfr_rnd_t)
  293 | void mpfr_sinpi(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd) {
      |      ^~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4_test-20230410-083931

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 16.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.1
Python 3.10.11
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.68.2 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.20.3 linux/amd64

  HEAD of ::gentoo
commit 4771ff6b685b55eeb6befcbed2f544c61ee2707d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 12 10:02:03 2023 +0000

    2023-04-12 10:02:02 UTC

emerge -qpvO dev-libs/sleef
[ebuild  N    ] dev-libs/sleef-3.5.1-r1  USE="test"
Comment 1 Toralf Förster gentoo-dev 2023-04-12 16:10:46 UTC
Created attachment 859942 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-12 16:10:48 UTC
Created attachment 859943 [details]
dev-libs:sleef-3.5.1-r1:20230412-103922.log
Comment 3 Toralf Förster gentoo-dev 2023-04-12 16:10:49 UTC
Created attachment 859944 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-04-12 16:10:50 UTC
Created attachment 859945 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-04-12 16:10:51 UTC
Created attachment 859946 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-12 16:10:52 UTC
Created attachment 859947 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-12 16:10:53 UTC
Created attachment 859948 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-04-12 20:31:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=331fd2aa9bf90d6269896a8d38d6bb0984ea3638

commit 331fd2aa9bf90d6269896a8d38d6bb0984ea3638
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-04-12 20:29:56 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-04-12 20:30:43 +0000

    dev-libs/sleef: disable failing test and support mpfr-4.2
    
    Closes: https://bugs.gentoo.org/904232
    Closes: https://bugs.gentoo.org/864961
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-libs/sleef/files/sleef-3.5.1-mpfr42.patch | 30 +++++++++++++++++++++++++++
 dev-libs/sleef/sleef-3.5.1-r1.ebuild          | 13 +++++++++++-
 2 files changed, 42 insertions(+), 1 deletion(-)