Your message dated Sun, 23 Jun 2024 21:50:12 +0000
with message-id <[email protected]>
and subject line Bug#901126: fixed in gkrellmoon 0.6-7.1
has caused the Debian Bug report #901126,
regarding gkrellmoon FTCBFS: uses the build architecture toolchain
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.)


-- 
901126: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901126
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gkrellmoon
Version: 0.6-5.1
Tags: patch
User: [email protected]
Usertags: rebootstrap

gkrellmoon fails to cross build from source, because it uses the build
architecture toolchain. debian/rules does not pass cross tools to make
(fixed by using dh_auto_build) and the build system does not pick them
up properly. Furthermore it stuffs flags into CC, which get overridden
by dh_auto_build, so they must be moved out of CC. After applying the
attached patch, gkrellmoon cross builds successfully. Please consider
using it.

Helmut
diff -u gkrellmoon-0.6/Makefile gkrellmoon-0.6/Makefile
--- gkrellmoon-0.6/Makefile
+++ gkrellmoon-0.6/Makefile
@@ -1,5 +1,6 @@
-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`
 
 INSTALLDIR = ${DESTDIR}/usr/lib/gkrellm2/plugins
 
@@ -8,12 +9,14 @@
 LIBS = $(GTK_LIB)
 LFLAGS = -shared
 
-CC = gcc $(CFLAGS) $(FLAGS)
+CC = gcc
+%.o:%.c
+       $(CC) $(CFLAGS) $(FLAGS) -c $< -o $@
 
 OBJS = gkrellmoon.o MoonRise.o CalcEphem.o Moon.o
 
 gkrellmoon.so: $(OBJS)
-       $(CC) $(OBJS) -o gkrellmoon.so $(LFLAGS) $(LIBS)
+       $(CC) $(CFLAGS) $(FLAGS) $(OBJS) -o gkrellmoon.so $(LFLAGS) $(LIBS)
 
 clean:
        rm -f *.o core *.so* *.bak *~
diff -u gkrellmoon-0.6/debian/changelog gkrellmoon-0.6/debian/changelog
--- gkrellmoon-0.6/debian/changelog
+++ gkrellmoon-0.6/debian/changelog
@@ -1,3 +1,13 @@
+gkrellmoon (0.6-5.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + Do not stuff flags into CC.
+    + Make pkg-config substitutable.
+
+ -- Helmut Grohne <[email protected]>  Sat, 09 Jun 2018 06:48:10 +0200
+
 gkrellmoon (0.6-5.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -u gkrellmoon-0.6/debian/rules gkrellmoon-0.6/debian/rules
--- gkrellmoon-0.6/debian/rules
+++ gkrellmoon-0.6/debian/rules
@@ -19,10 +19,7 @@
 
 build:
        dh_testdir
-
-       # Add here commands to compile the package.
-       $(MAKE)
-
+       dh_auto_build
 
 clean:
        dh_testdir

--- End Message ---
--- Begin Message ---
Source: gkrellmoon
Source-Version: 0.6-7.1
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gkrellmoon, 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.
Bastian Germann <[email protected]> (supplier of updated gkrellmoon 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: Thu, 13 Jun 2024 20:47:57 +0000
Source: gkrellmoon
Architecture: source
Version: 0.6-7.1
Distribution: unstable
Urgency: medium
Maintainer: Adrian Bunk <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 901126 1007433
Changes:
 gkrellmoon (0.6-7.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Convert to source format 3.0. (Closes: #1007433)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #901126)
     + Let dh_auto_build pass cross tools to make.
     + Do not stuff flags into CC.
     + Make pkg-config substitutable.
Checksums-Sha1:
 f878728eba9b41a9f710f60e013757e4e4336356 1540 gkrellmoon_0.6-7.1.dsc
 4e0d01a37a5368ebe4f30491bd6880f379627376 3384 gkrellmoon_0.6-7.1.debian.tar.xz
 0629e45dc1fb11eb1dbb1af2c209e749ce8c28d9 11185 
gkrellmoon_0.6-7.1_source.buildinfo
Checksums-Sha256:
 935170e0352e5c307ce88cc2e7b16c6d99ffa31d98e0824cf77edccffa507c9a 1540 
gkrellmoon_0.6-7.1.dsc
 06b3443bd236073ab2737038f79674c32e950a3ed4c2828e5f1a3faff256c7a0 3384 
gkrellmoon_0.6-7.1.debian.tar.xz
 09116067e5b0305e6ee9301902c6e717f6fa4e1f3735f9907cb20b7620c5e41b 11185 
gkrellmoon_0.6-7.1_source.buildinfo
Files:
 21523f5fc142cbcf5108b045469657f7 1540 x11 optional gkrellmoon_0.6-7.1.dsc
 df7f4299c1e99e38eb23e16d31266437 3384 x11 optional 
gkrellmoon_0.6-7.1.debian.tar.xz
 f4564a633b8839965593e341195349e9 11185 x11 optional 
gkrellmoon_0.6-7.1_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmZrXwYQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFII7C/46Op1iHgNyu7Sf7lpMbhUeeOOLeExYzqlg
vr8I27em6h30eiJQe4AEgupG2oK+cysSTJyyiJrNXBPnrQvvNArWvkumbc5LYUzN
PV870UglMSkFjmkZONzzY0ft79O4A8pMd/tCZiUYJ1tds6MWlFA/ZQt1a0RpRx4P
Kruzv/oJNC4r7JF/ZWQydOQk30pcUJd55hsvvFt5Xk9ijv8dpDcu0gS2ZJYhYmqr
gT2Cljm2DiJuiQfceeyzdIJLhnANwrhSeuCqoe6OD/0m6zk7ljv6ioVzhVYKQL7Y
D54CffdpfuGO7tVmQw3Pb3PzcgLeQahL8K6Z6wUlr+djfn4XxB/FeBPDutNREM/O
mpwt+o1uO7M9T2bkXdSF25T9DSvQxUQFhdaYRZsygP77Xp9lwgTFbA9Mo2mjcRj1
Toq3HE47dptkbKK4DztLw4CLpJE3N28afe59rt5yyTVNpVP/qj2/dQBaVjcOdxAn
7nFcJrOHPu0IsqYttVjnrYRdeBy2VfE=
=ilfy
-----END PGP SIGNATURE-----

Attachment: pgp4981TvWnIg.pgp
Description: PGP signature


--- End Message ---

Reply via email to