In file included from /var/tmp/portage/sci-libs/mpfi-1.5.1/work/mpfi-1.5.1/src/mpfi-impl.h:29:0, from /var/tmp/portage/sci-libs/mpfi-1.5.1/work/mpfi-1.5.1/src/abs.c:26: /var/tmp/portage/sci-libs/mpfi-1.5.1/work/mpfi-1.5.1/src/mpfi.h:49:9: error: unknown type name '__gmp_const' typedef __gmp_const __mpfi_struct *mpfi_srcptr; ^~~~~~~~~~~ /var/tmp/portage/sci-libs/mpfi-1.5.1/work/mpfi-1.5.1/src/mpfi.h:49:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop_20180623-161021 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * emerge -qpv sci-libs/mpfi [ebuild N ] sci-libs/mpfi-1.5.1 USE="-static-libs"
Created attachment 537224 [details] emerge-info.txt
Created attachment 537226 [details] emerge-history.txt
Created attachment 537228 [details] environment
Created attachment 537230 [details] etc.portage.tbz2
Created attachment 537232 [details] logs.tbz2
Created attachment 537234 [details] sci-libs:mpfi-1.5.1:20180625-000148.log
Created attachment 537236 [details] temp.tbz2
This compiles if we replace __gmp_const with const in src/mpfi.h as suggested below https://github.com/MLton/mlton/issues/3 I also had to add "# define _MPFR_PROTO(x) x"
Created attachment 541726 [details] ebuild for mpfi-1.5.3 which works
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=816535e88e38b049df6358aae11968e0d64ded51 commit 816535e88e38b049df6358aae11968e0d64ded51 Author: David Seifert <soap@gentoo.org> AuthorDate: 2019-04-06 12:53:53 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2019-04-06 12:53:53 +0000 sci-libs/mpfi: Version bump to 1.5.3 Closes: https://bugs.gentoo.org/659168 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: David Seifert <soap@gentoo.org> sci-libs/mpfi/Manifest | 1 + sci-libs/mpfi/mpfi-1.5.3.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+)