Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836293 - gnome-base/gnome-shell-42.0 fails to build in configure phase ("meson.build:303:6: ERROR: Program 'gtk4-update-icon-cache' not found or not executable")
Summary: gnome-base/gnome-shell-42.0 fails to build in configure phase ("meson.build:3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-27 21:25 UTC by Pascal Jäger
Modified: 2022-03-28 05:44 UTC (History)
2 users (show)

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


Attachments
emerge --info '=gnome-base/gnome-shell-42.0::gentoo' (gnome-shell-emerge-info,11.33 KB, text/plain)
2022-03-27 21:25 UTC, Pascal Jäger
Details
build.log (build.log,20.66 KB, text/x-log)
2022-03-27 21:28 UTC, Pascal Jäger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Jäger 2022-03-27 21:25:09 UTC
Created attachment 768027 [details]
emerge --info '=gnome-base/gnome-shell-42.0::gentoo'

gnome-shell-42.0 and several other gnome packages fails to build because of 
"meson.build:303:6: ERROR: Program 'gtk4-update-icon-cache' not found or not executable"
Comment 1 Pascal Jäger 2022-03-27 21:28:37 UTC
Created attachment 768028 [details]
build.log
Comment 2 Pascal Jäger 2022-03-27 21:33:15 UTC
Even though dev-util/gtk-update-icon-cache is installed in version 3.24.31 (which is the newest available for me), there is no /usr/bin/gtk4-update-icon-cache on my system.

I linked /usr/bin/gtk4-update-icon-cache to /usr/bin/gtk-update-icon-cache as a quick workaround, which seems to work.
Comment 3 Drunkard Zhang 2022-03-28 01:03:54 UTC
Same issue with media-sound/gnome-music-42.0:

Program gtk4-update-icon-cache found: NO
Program gtk4-update-icon-cache found: NO

meson.build:103:6: ERROR: Program 'gtk4-update-icon-cache' not found or not executable
Comment 4 Ionen Wolkens gentoo-dev 2022-03-28 04:55:42 UTC
In case it gets missed, the see also bug #836294 explains why this is happening.

Did a quickfix on that package (which I prefer to letting it try to update icon cache), but I imagine it may be widespread/annoying.
Comment 5 Ionen Wolkens gentoo-dev 2022-03-28 05:09:59 UTC
For users having problems, one workaround is not use =meson-0.61.4 for now.
Comment 6 Ionen Wolkens gentoo-dev 2022-03-28 05:35:09 UTC
(In reply to Ionen Wolkens from comment #4)
> In case it gets missed, the see also bug #836294 explains why this is
> happening.
> 
> Did a quickfix on that package (which I prefer to letting it try to update
> icon cache), but I imagine it may be widespread/annoying.
Although, sam noted that cache update is skipped if DESTDIR is set.. so the problem is more that it checks for the (unused) dependency.
Comment 7 Larry the Git Cow gentoo-dev 2022-03-28 05:44:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97a560be2de84ac8d5f911eb77e68e3036744e3

commit f97a560be2de84ac8d5f911eb77e68e3036744e3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-28 05:43:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-28 05:44:21 +0000

    dev-util/meson: fix gtk-update-icon-cache check
    
    Was checking for gtk4* twice.
    
    Bug: https://bugs.gentoo.org/836294
    Closes: https://bugs.gentoo.org/836293
    Closes: https://bugs.gentoo.org/836281
    Signed-off-by: Sam James <sam@gentoo.org>

 ...on-0.61.4-fix-gtk-update-icon-cache-check.patch | 29 ++++++++++++++++++++++
 ...{meson-0.61.4.ebuild => meson-0.61.4-r1.ebuild} |  4 +++
 2 files changed, 33 insertions(+)