Your message dated Mon, 19 Oct 2020 21:28:25 +0000
with message-id <[email protected]>
and subject line Bug#968204: Removed package(s) from unstable
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 ---
Version: 0.6-5.1+rm

Dear submitter,

as the package gkrellmoon has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/968204

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

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

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to