Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786630 - x11-libs/gtksourceview-4.8.1 fails to compile
Summary: x11-libs/gtksourceview-4.8.1 fails to compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Keywords: PATCH
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2021-04-29 05:56 UTC by Agostino Sarubbo
Modified: 2021-04-30 01:56 UTC (History)
7 users (show)

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

build.log (build.log,165.23 KB, text/plain)
2021-04-29 05:56 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-04-29 05:56:34 UTC

Issue: x11-libs/gtksourceview-4.8.1 fails to compile.
Discovered on: amd64 (internal ref: ci)

This machine uses GCC-11:
If you think it is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-29 05:56:37 UTC
Created attachment 703524 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-29 05:56:38 UTC
Possible context of error(s):

/usr/include/glib-2.0/glib/gatomic.h:117:5: error: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Werror=incompatible-pointer-types]
Comment 3 tt_1 2021-04-29 07:47:55 UTC
Upstream issue:
Comment 4 thulle 2021-04-29 10:37:53 UTC
The committed patch in the upstream issue solved it here.
Direct link:
Comment 5 Larry the Git Cow gentoo-dev 2021-04-30 01:56:49 UTC
The bug has been closed via the following commit(s):

commit 284fa7b9c84407be55015e601768262d5c2c0f0d
Author:     Matt Turner <>
AuthorDate: 2021-04-30 01:54:50 +0000
Commit:     Matt Turner <>
CommitDate: 2021-04-30 01:55:59 +0000

    x11-libs/gtksourceview: Add patch to build with GCC-11
    I mistakenly thought this patch was included in the v4.8.1 release when
    I added it and closed bug #732784.
    Signed-off-by: Matt Turner <>

 ...ble-Werror-for-incompatible-pointer-types.patch | 33 ++++++++++++++++++++++
 x11-libs/gtksourceview/gtksourceview-4.8.1.ebuild  |  4 +++
 2 files changed, 37 insertions(+)