Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788298 - dev-haskell/alsa-mixer-0.3.0 fails to compile
Summary: dev-haskell/alsa-mixer-0.3.0 fails to compile
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
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2021-05-05 06:54 UTC by Agostino Sarubbo
Modified: 2021-05-05 08:05 UTC (History)
0 users

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

build.log (build.log,40.64 KB, text/plain)
2021-05-05 06:54 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-05-05 06:54:14 UTC

Issue: dev-haskell/alsa-mixer-0.3.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses GCC-11:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-05 06:54:16 UTC
Created attachment 706134 [details]

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-05 07:58:38 UTC
dist/build/Sound/ALSA/Mixer/Internal.i:1: (column 1) [ERROR]  >>> Lexical error !
  The character '#' does not fit here.

It's a side effect of gcc-11's linue number changes.
Comment 3 Larry the Git Cow gentoo-dev 2021-05-05 08:05:02 UTC
The bug has been closed via the following commit(s):

commit 294d3baca2c4c837a45324b2dcedcc4ca654ecc1
Author:     Sergei Trofimovich <>
AuthorDate: 2021-05-05 08:02:50 +0000
Commit:     Sergei Trofimovich <>
CommitDate: 2021-05-05 08:04:58 +0000

    dev-haskell/language-c: handle gcc-11's #line 0 macros
    Reported-by: Agostino Sarubbo
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <>

 .../language-c/files/language-c-0.8.3-gcc-11.patch | 41 ++++++++++++++++++++++
 dev-haskell/language-c/language-c-0.8.3-r1.ebuild  | 41 ++++++++++++++++++++++
 2 files changed, 82 insertions(+)