Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637496 - dev-haskell/alsa-mixer-0.2.0.3 : /.../floatn.h:73: (column 20) [ERROR] >>> Syntax error !
Summary: dev-haskell/alsa-mixer-0.2.0.3 : /.../floatn.h:73: (column 20) [ERROR] >>> Sy...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-14 15:08 UTC by Toralf Förster
Modified: 2017-12-09 13:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.69 KB, text/plain)
2017-11-14 15:08 UTC, Toralf Förster
Details
dev-haskell:alsa-mixer-0.2.0.3:20171114-143422.log (dev-haskell:alsa-mixer-0.2.0.3:20171114-143422.log,5.12 KB, text/plain)
2017-11-14 15:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,264.73 KB, text/plain)
2017-11-14 15:08 UTC, Toralf Förster
Details
environment (environment,108.97 KB, text/plain)
2017-11-14 15:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.10 KB, application/x-bzip)
2017-11-14 15:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.77 KB, application/x-bzip)
2017-11-14 15:08 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 2017-11-14 15:08:33 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2017-11-14 15:08:36 UTC
Created attachment 504226 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-14 15:08:39 UTC
Created attachment 504228 [details]
dev-haskell:alsa-mixer-0.2.0.3:20171114-143422.log
Comment 3 Toralf Förster gentoo-dev 2017-11-14 15:08:42 UTC
Created attachment 504230 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-14 15:08:45 UTC
Created attachment 504232 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-14 15:08:48 UTC
Created attachment 504234 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-14 15:08:51 UTC
Created attachment 504236 [details]
temp.tbz2
Comment 7 Adam Stylinski 2017-12-08 15:57:43 UTC
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).
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2017-12-08 21:22:24 UTC
(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.
Comment 10 Larry the Git Cow gentoo-dev 2017-12-09 13:53:31 UTC
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(+)}