Summary: | x11-libs/gtksourceview-4.8.1 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Adrian.Bassett, gentoo, harrisl, herrtimson, mattst88, sam, steffen.weber |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=732784 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2021-04-29 05:56:34 UTC
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(+) |