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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL: https://github.com/visq/language-c/is...
Whiteboard:
Keywords:
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: ---


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

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
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

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=294d3baca2c4c837a45324b2dcedcc4ca654ecc1

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

    dev-haskell/language-c: handle gcc-11's #line 0 macros
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/788298
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../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(+)