Summary: | gnome-base/nautilus-40.0 fails to build (error: passing 'typeof (*(>ype_id)) *' (aka 'volatile unsigned long *') to parameter of type 'gsize *' (aka 'unsigned long *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Julian Moch <gentoo> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | alex.iris.parker, floppym, gentoo, jstein, marduk, ostroffjh, sam, steffen.weber, ursm, whissi, williamh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=792369 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: | build.log |
Description
Alexander Julian Moch
2021-04-28 19:44:13 UTC
Created attachment 703467 [details]
build.log
I think this is because Meson actually has glib-mkenums templates built in that have the volatile keyword, e.g.: /usr/lib/python3.9/site-packages/mesonbuild/modules/gnome.py Ah, this was fixed in Meson 0.58: https://github.com/mesonbuild/meson/commit/42ba8efaf220bceca7850f2ffe0d84ee426f7b34 (In reply to Alex Parker from comment #3) > Ah, this was fixed in Meson 0.58: > > https://github.com/mesonbuild/meson/commit/ > 42ba8efaf220bceca7850f2ffe0d84ee426f7b34 CCing meson maintainers. (In reply to Sam James from comment #4) > (In reply to Alex Parker from comment #3) > > Ah, this was fixed in Meson 0.58: > > > > https://github.com/mesonbuild/meson/commit/ > > 42ba8efaf220bceca7850f2ffe0d84ee426f7b34 > > CCing meson maintainers. (Note that it's fixed in 0.57.0.) Not reproduced with meson 0.57.2 I can confirm the bump to meson-0.57.2 fixes the build issues with nautilus and gtksourceview. Also confirming meson-0.57.2 builds gtksourceview-4.6.1 and nautilus-0.40. Where are you getting meson 0.57.2? 0.56.2 is the latest I see in portage, other then 9999. (In reply to Jack from comment #9) > Where are you getting meson 0.57.2? 0.56.2 is the latest I see in portage, > other then 9999. i bumped meson in my local overlay The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbde2c4fa6503964ce55b01fca31e67ce4e3b58c commit cbde2c4fa6503964ce55b01fca31e67ce4e3b58c Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-05-03 16:09:01 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-05-03 16:11:25 +0000 gnome-base/nautilus: require >=dev-util/meson-0.57.2 Closes: https://bugs.gentoo.org/786540 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> gnome-base/nautilus/nautilus-40.0.ebuild | 1 + gnome-base/nautilus/nautilus-40.1.ebuild | 1 + 2 files changed, 2 insertions(+) |