https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: x11-libs/gtksourceview-4.8.1 fails to compile. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html If you think it is a GCC-11 related issue, please block bug 732706.
Created attachment 703524 [details] build.log build log and emerge --info
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]
Upstream issue: https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/179
The committed patch in the upstream issue solved it here. Direct link: https://gitlab.gnome.org/GNOME/gtksourceview/-/commit/d1ed58b2ab82bd5be55881088fc17ff1527511db.diff
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284fa7b9c84407be55015e601768262d5c2c0f0d commit 284fa7b9c84407be55015e601768262d5c2c0f0d Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-04-30 01:54:50 +0000 Commit: Matt Turner <mattst88@gentoo.org> 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. Closes: https://bugs.gentoo.org/732784 Closes: https://bugs.gentoo.org/786630 Signed-off-by: Matt Turner <mattst88@gentoo.org> ...ble-Werror-for-incompatible-pointer-types.patch | 33 ++++++++++++++++++++++ x11-libs/gtksourceview/gtksourceview-4.8.1.ebuild | 4 +++ 2 files changed, 37 insertions(+)