Your message dated Fri, 01 Feb 2019 15:50:14 +0000
with message-id <[email protected]>
and subject line Bug#920780: fixed in horst 5.1-2
has caused the Debian Bug report #920780,
regarding horst FTCBFS: upstream Makefile hard codes build architecture tools
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.)


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

horst fails to cross build from source, because the upstream Makefile
hard codes build architecture build tools such as gcc or pkg-config.
After making them substitutable, dh_auto_build substitutes them and
horst cross builds successfully. Please consider applying the attached
patch.

Helmut
--- horst-5.1.orig/Makefile
+++ horst-5.1/Makefile
@@ -54,6 +54,7 @@
 	radiotap/radiotap.o			   \
 	util.o					   \
 	wlan_util.o
+PKG_CONFIG ?= pkg-config
 LIBS=-lncurses -lm
 CFLAGS+=-std=gnu99 -Wall -Wextra -g -I. -DVERSION=\"$(VERSION)\"
 
@@ -83,7 +84,7 @@
     endif
   else
     OBJS += ifctrl-nl80211.o
-    CFLAGS += $(shell pkg-config --cflags libnl-$(LIBNL))
+    CFLAGS += $(shell $(PKG_CONFIG) --cflags libnl-$(LIBNL))
     ifeq ($(LIBNL),tiny)
       LIBS+=-lnl-tiny
     else
@@ -100,9 +101,9 @@
 all: $(NAME)
 
 .objdeps.mk: $(OBJS:%.o=%.c)
-	gcc -MM -I. $^ >$@
+	$(CC) -MM -I. $^ >$@
 ifeq ($(OSX),1)
-	gcc -MM -I. ifctrl-osx.m >>$@
+	$(CC) -MM -I. ifctrl-osx.m >>$@
 endif
 
 -include .objdeps.mk

--- End Message ---
--- Begin Message ---
Source: horst
Source-Version: 5.1-2

We believe that the bug you reported is fixed in the latest version of
horst, 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.
Antoine Beaupré <[email protected]> (supplier of updated horst 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: SHA256

Format: 1.8
Date: Fri, 01 Feb 2019 10:29:06 -0500
Source: horst
Architecture: source
Version: 5.1-2
Distribution: unstable
Urgency: medium
Maintainer: Antoine Beaupré <[email protected]>
Changed-By: Antoine Beaupré <[email protected]>
Closes: 920780
Changes:
 horst (5.1-2) unstable; urgency=medium
 .
   * Bug fix: "horst FTCBFS: upstream Makefile hard codes build
     architecture tools", thanks to Helmut Grohne (Closes: #920780).
Checksums-Sha1:
 07256470fb46f2a432910e61b24e0754edb90293 1526 horst_5.1-2.dsc
 de936da744ee66c500e72aecb291c74b18e38188 6392 horst_5.1-2.debian.tar.xz
 2368529da71cac7ff2de1d2b49f3a976f164b95c 5363 horst_5.1-2_amd64.buildinfo
Checksums-Sha256:
 f1093edd01ef174eccb778298a6922025db64d97c65d0d7aa71df68e145d5123 1526 
horst_5.1-2.dsc
 261886dca6874c86b74812010d1b60e5f584bec54289bae7fc73bfc451a0e2b6 6392 
horst_5.1-2.debian.tar.xz
 4792cfbf23138a7a479eab8b33e9ec4427069d230c7808c031aa71e604d525f8 5363 
horst_5.1-2_amd64.buildinfo
Files:
 bb4c4e71dadc518a55658294f6964b57 1526 net optional horst_5.1-2.dsc
 0ce4cfe90e8cc0e09afd9f87b6866325 6392 net optional horst_5.1-2.debian.tar.xz
 e879f50e4d4f67e686d687516169e3ef 5363 net optional horst_5.1-2_amd64.buildinfo

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

iQEzBAEBCAAdFiEEexZCBNCWcjsBljWrPqHd3bJh2XsFAlxUZqMACgkQPqHd3bJh
2XuGLAf/S+o7hyB5DK12Y63ttuak9qcTHfpBRXUB0xhKkjxkpU+aQU2nEcZvTLtd
KJazqiWG+5dNjC5cPSsa05Sy6PEOqTektlXEGwPRX0vGakRBTseG5WeXLXEOBSN8
800WfaOYAZSVfJUbSMqraGlhFo19VDa5n7D6SX2C+ELkR2gedgpxihl0U4L/9g7W
cxayDtNUV6DSRl54oOzj5RBpmq+cB35woeUGqi99palCYxgNUcfX+b+zMpatH+cC
Bn64Li6vQLVUvfPqS89TgM+DQI2TATMeWv6oHjiX7tnGxxoT3fRUD+Yw0SzZWg5T
9+Ubk+06betM27iZcV1cR99adMQkhQ==
=WzVa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to