Bug#1121781: gnome-2048 FTBFS with the nocheck profile: ../meson.build:45:6: ERROR: Program 'update-desktop-database' not found or not executable

2025-12-02 Thread Santiago Vila
On Sun, Nov 30, 2025 at 05:45:57PM +0100, Helmut Grohne wrote:

> I suspect that desktop-file-utils should not be annotated .

Hello Helmut. Do not suspect! Just check it :-)

Inspired by debbisect, I wrote this tiny script to check nocheck
annotations:

https://people.debian.org/~sanvila/check-nocheck/

For this package, this is the output in the logfile:

 Checking annotations for package gnome-2048 
Trying with all build-dependencies
Build worked
Trying without appstream
Build worked, it is ok to keep appstream 
Trying without desktop-file-utils
Build did NOT work, desktop-file-utils should not have 
 build-dependencies that should drop their  annotation 
desktop-file-utils

[ This package (gnome-2048) had only two  annotations,
  and it was easy, but for more complex packages the script may save
  some time ].

Thanks.



Bug#1121781: gnome-2048 FTBFS with the nocheck profile: ../meson.build:45:6: ERROR: Program 'update-desktop-database' not found or not executable

2025-12-02 Thread Helmut Grohne
Source: gnome-2048
Version: 50~alpha-1
Severity: serious
Tags: ftbfs

gnome-2048 fails to build from source when enabling the nocheck build
profile. A build ends with:

| Got pkg-config variable glib_compile_schemas : 
/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas
| Program /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas found: YES 
(/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas)
| Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache)
| Program update-desktop-database found: NO
| 
| ../meson.build:45:6: ERROR: Program 'update-desktop-database' not found or 
not executable
| dh_auto_configure: error: cd obj-x86_64-linux-gnu && 
DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. 
--wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc 
--localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1 
--bindir=games returned exit code 1
| make[1]: *** [debian/rules:10: override_dh_auto_configure] Error 25
| make[1]: Leaving directory '/build/reproducible-path/gnome-2048-50~alpha'
| make: *** [debian/rules:7: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
2

I suspect that desktop-file-utils should not be annotated .

Helmut