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.
Created attachment 706134 [details] build.log build log and emerge --info
""" 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.
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(+)