Your message dated Sun, 05 Oct 2025 00:48:53 +0000
with message-id <[email protected]>
and subject line Bug#958219: fixed in gkrellshoot 0.4.4-5
has caused the Debian Bug report #958219,
regarding gkrellshoot FTCBFS: multiple reasons
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
958219: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958219
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gkrellshoot
Version: 0.4.4-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

gkrellshoot fails to cross build from source. The immediate reason is
passing compiler flags inside the CC variable as that gets substituted
by dh_auto_build during cross compilation. Then the compiler flags are
constructed using the build architecture pkg-config as it is hard coded
in the upstream Makefile. Finally, make install strips using the build
architecture strip via install -s. Doing so also breaks generation of
-dbgsym packages as well as DEB_BUILD_OPTIONS=nostrip. The attached
patch fixes all of that. Please consider applying it.

Helmut
diff --minimal -Nru gkrellshoot-0.4.4/debian/changelog 
gkrellshoot-0.4.4/debian/changelog
--- gkrellshoot-0.4.4/debian/changelog  2016-11-14 03:55:43.000000000 +0100
+++ gkrellshoot-0.4.4/debian/changelog  2020-04-19 18:00:25.000000000 +0200
@@ -1,3 +1,13 @@
+gkrellshoot (0.4.4-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Don't pass compiler flags via CC.
+    + Make pkg-config substitutable.
+    + Defer stripping to dh_strip.
+
+ -- Helmut Grohne <[email protected]>  Sun, 19 Apr 2020 18:00:25 +0200
+
 gkrellshoot (0.4.4-2) unstable; urgency=medium
 
   * Changed maintainer's email address.
diff --minimal -Nru gkrellshoot-0.4.4/debian/patches/cross.patch 
gkrellshoot-0.4.4/debian/patches/cross.patch
--- gkrellshoot-0.4.4/debian/patches/cross.patch        1970-01-01 
01:00:00.000000000 +0100
+++ gkrellshoot-0.4.4/debian/patches/cross.patch        2020-04-19 
18:00:25.000000000 +0200
@@ -0,0 +1,36 @@
+--- gkrellshoot-0.4.4.orig/Makefile
++++ gkrellshoot-0.4.4/Makefile
+@@ -1,17 +1,19 @@
+-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
+-GTK_LIB = `pkg-config gtk+-2.0 --libs`
++PKG_CONFIG ?= pkg-config
++GTK_INCLUDE = `$(PKG_CONFIG) gtk+-2.0 --cflags`
++GTK_LIB = `$(PKG_CONFIG) gtk+-2.0 --libs`
+ 
+-FLAGS = -O2 -Wall $(GTK_INCLUDE) 
++CFLAGS += -O2 -Wall $(GTK_INCLUDE) 
+ LIBS = $(GTK_LIB)
+ CFLAGS += -fPIC
+ LDFLAGS += -shared
+ 
+-CC = gcc $(FLAGS)
++CC = gcc
++INSTALL ?= install
+ 
+ OBJS = gkrellshoot.o
+ 
+ gkrellshoot.so: $(OBJS)
+-      $(CC) $(OBJS) -o gkrellshoot.so $(LDFLAGS) $(LIBS) 
++      $(CC) $(CFLAGS) $(OBJS) -o gkrellshoot.so $(LDFLAGS) $(LIBS) 
+ 
+ clean:
+       rm -f *.o core *.so* *.bak *~
+@@ -19,7 +21,7 @@
+ gkrellshoot.o: gkrellshoot.c
+ 
+ install:
+-      install -D -p -s -m 644 gkrellshoot.so 
$(DESTDIR)/usr/lib/gkrellm2/plugins/gkrellshoot.so
++      $(INSTALL) -D -p -s -m 644 gkrellshoot.so 
$(DESTDIR)/usr/lib/gkrellm2/plugins/gkrellshoot.so
+ 
+ uninstall:
+       rm -f $(DESTDIR)/usr/lib/gkrellm2/plugins/gkrellshoot.so
diff --minimal -Nru gkrellshoot-0.4.4/debian/patches/series 
gkrellshoot-0.4.4/debian/patches/series
--- gkrellshoot-0.4.4/debian/patches/series     2016-11-14 03:55:43.000000000 
+0100
+++ gkrellshoot-0.4.4/debian/patches/series     2020-04-19 18:00:08.000000000 
+0200
@@ -1 +1,2 @@
 install.patch
+cross.patch
diff --minimal -Nru gkrellshoot-0.4.4/debian/rules 
gkrellshoot-0.4.4/debian/rules
--- gkrellshoot-0.4.4/debian/rules      2016-04-17 02:42:59.000000000 +0200
+++ gkrellshoot-0.4.4/debian/rules      2020-04-19 18:00:25.000000000 +0200
@@ -7,3 +7,6 @@
 
 %:
        dh $@
+
+override_dh_auto_install:
+       dh_auto_install -- INSTALL='install --strip-program=true'

--- End Message ---
--- Begin Message ---
Source: gkrellshoot
Source-Version: 0.4.4-5
Done: Adrian Bunk <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gkrellshoot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <[email protected]> (supplier of updated gkrellshoot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 04 Oct 2025 21:24:38 +0300
Source: gkrellshoot
Architecture: source
Version: 0.4.4-5
Distribution: unstable
Urgency: medium
Maintainer: Adrian Bunk <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 958219 1114126
Changes:
 gkrellshoot (0.4.4-5) unstable; urgency=medium
 .
   * Build with -std=gnu17 to workaround FTBFS with GCC 15
     in GKrellM headers. (Closes: #1114126)
   * Add cross building changes from Helmut Grohne. (Closes: #958219)
Checksums-Sha1:
 2b0168cc9b2d571e25db843d418ef51ac6de0dc3 1779 gkrellshoot_0.4.4-5.dsc
 14e38537f930f03ce51c91932fdd4fef719ffc86 3180 gkrellshoot_0.4.4-5.debian.tar.xz
Checksums-Sha256:
 fc2fc370880c3df0799bf7e93dff688860ff35b7481142a1b2361e7d640c8c22 1779 
gkrellshoot_0.4.4-5.dsc
 d0a275dc8aad3ae45e1ee91a22dded5269542674428cf8d08973f00e9981cbe7 3180 
gkrellshoot_0.4.4-5.debian.tar.xz
Files:
 8589b8632f7b8157ffb300509748c78d 1779 x11 optional gkrellshoot_0.4.4-5.dsc
 04a38c6f64ac4b4f3d73db4df282202a 3180 x11 optional 
gkrellshoot_0.4.4-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmjhu7UACgkQiNJCh6LY
mLGsKg//Snr2BTmEVljCLPmS87TzbMIJJLXLshN5trUSMxuQNeKFtbjPK1sxzeFW
I0TNiBJsr6NxLcjteharG94DwSlYb77sItMhC02lYSH90cs0zqLMEDNs7DWRg0ji
ACR5lOAjTsXplRzvbYHXGAgeUlpwzEPHb3AGFVHDO5rDzNlgC+VHNlCGdilLZXO5
huZ5Zpw9GJiX+C81HzU3fIkaK9YrmoGrh4cSHhFN75RCGRCPO1H8MzbAI62HWA0S
IlGXb/wSy2uRid2YT1zicn33EVb9My6QxHtub+WBUOfQ5auNIc3zwGVQsAmBTHle
26SfN3K60TN9AwiRK76nIJHkGIfaG/OBmZTYgC6Y4D0qSXJIdrBhRO1Bj6JUxL2Q
hI3yEFodr9FjakZE1scGemATXnd1JR4mdrgevxeUUdMKfMREiK97OfMHTN9uBNQk
/s2k2D4UhynKAjFcdb9B4QeSHz9pml5/QZvXq85Jk0ZJSk33Vl3d+9p3iURT7Se9
zqc1WsIn+TodF5L7ndYBNW25Y/6tZom+PNN2JtVdc6sk8o3MBQhcimWy/x9svOaK
ci2JhugnyIg2Eujr54iuQ9ticprQYAFgPK2z66n1r2fYrGjgb0Wa02N/Xb75ufWl
a0SGgmFvCkxKOYUsLMDXuQvon3nKTejtyFFkNj7N+u9E7oUROC4=
=KcbD
-----END PGP SIGNATURE-----

Attachment: pgpqZqpH95AaZ.pgp
Description: PGP signature


--- End Message ---

Reply via email to