c2hs: C header contains errors: /usr/include/bits/floatn.h:73: (column 20) [ERROR] >>> Syntax error ! The symbol `_Float128' does not fit here. * ERROR: dev-haskell/alsa-mixer-0.2.0.3::gentoo failed (compile phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_libressl_20171106-195719 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) [5] pypy (fallback) [6] jython2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv dev-haskell/alsa-mixer [ebuild N ] dev-haskell/alsa-mixer-0.2.0.3 USE="-doc -hscolour -profile"
Created attachment 504226 [details] emerge-info.txt
Created attachment 504228 [details] dev-haskell:alsa-mixer-0.2.0.3:20171114-143422.log
Created attachment 504230 [details] emerge-history.txt
Created attachment 504232 [details] environment
Created attachment 504234 [details] etc.portage.tbz2
Created attachment 504236 [details] temp.tbz2
I believe this is related to a recent glibc change (allowing 128 bit floats). This same issue can be had trying to compile anything with nvcc - the compiler throws a similar error. Either this blocks new glibc or this package needs to be patched to support 128 bit floats (or you can hack that header).
see also: https://github.com/haskell/c2hs/issues/192 https://github.com/visq/language-c/pull/41
(In reply to Adam Stylinski from comment #8) > see also: > > https://github.com/haskell/c2hs/issues/192 > https://github.com/visq/language-c/pull/41 Right you are! I'll try to pull new c2hs from ::haskell into ::gentoo.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b4d6e4cdce07fab1e408ae8a15e8b98ddb5ad7d commit 7b4d6e4cdce07fab1e408ae8a15e8b98ddb5ad7d Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2017-12-09 13:34:03 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2017-12-09 13:53:24 +0000 dev-haskell/language-c: bump up to 0.7.1, bug #637496 Bug: https://bugs.gentoo.org/637496 Package-Manager: Portage-2.3.16, Repoman-2.3.6 dev-haskell/language-c/Manifest | 1 + dev-haskell/language-c/language-c-0.7.1.ebuild | 34 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+)}