#1121783 gkrellm FTCBFS: fails make clean

#1121783#5
Date:
2025-12-01 13:26:02 UTC
From:
To:
gkrellm recently regressed cross building. Its makefile now errors out
when required packages go missing. This is also checked when requesting
the clean target and since debhelper does not pass cross tools there,
the build architecture pkg-config fails to locate host packages and
clean fails. A typical workaround is exporting tools from dpkg's
buildtools.mk for all targets. Once doing so STRIP is changed from empty
to an actual stripping tool and that ends up breaking make install. So
STRIP should be skipped. I'm attaching a patch with these changes.
Please consider applying it as it makes gkrellm cross buildable again.

Helmut

#1121783#10
Date:
2025-12-04 20:58:27 UTC
From:
To:
I assume that STRIP is meant to point to the command used to strip
binaries in that context? The Makefile STRIP variable used in the
gkrellm rules only holds the optional '-s' argument that is passed to
install.

Although gkrellm 2.5.0 will come with Meson build rules which will
eventually replace the older Make build rules I'd be happy to also
rename that variable. Maybe 'INSTALL_STRIP_OPT' would be more appropriate.

Regards,
Stefan