[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#929328: marked as done (netmate FTCBFS: upstream Makefile hard codes build tools)



Your message dated Fri, 27 Mar 2020 01:34:53 +0000
with message-id <E1jHdtd-0002o3-8E@fasolo.debian.org>
and subject line Bug#929328: fixed in netmate 0.2.0-10
has caused the Debian Bug report #929328,
regarding netmate FTCBFS: upstream Makefile hard codes build 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 owner@bugs.debian.org
immediately.)


-- 
929328: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929328
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: netmate
Version: 0.2.0-10
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap

netmate fails to cross build from source, because the upstream Makefile
hard codes build tools such as gcc or pkg-config. The attached patch
makes them substitutable and netmate cross buildable. Please consider
applying it.

Helmut
--- netmate-0.2.0.orig/Makefile
+++ netmate-0.2.0/Makefile
@@ -10,12 +10,13 @@
 DEBUGFLAGS = -g
 CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS)
 LDFLAGS += -Wl,-z,relro
-GTK_CFLAGS = $(shell pkg-config --cflags gtk+-3.0)
-GTK_LIBS = $(shell pkg-config --libs gtk+-3.0)
+PKG_CONFIG ?= pkg-config
+GTK_CFLAGS = $(shell $(PKG_CONFIG) --cflags gtk+-3.0)
+GTK_LIBS = $(shell $(PKG_CONFIG) --libs gtk+-3.0)
 
 all: netmate.c layer2.h layer3.h layer4.h
-	gcc $(CPPFLAGS) $(GTK_CFLAGS) $(CFLAGS) -c netmate.c -o netmate.o
-	gcc $(LDFLAGS) netmate.o $(GTK_LIBS)  -lpcap -o netmate
+	$(CC) $(CPPFLAGS) $(GTK_CFLAGS) $(CFLAGS) -c netmate.c -o netmate.o
+	$(CC) $(LDFLAGS) netmate.o $(GTK_LIBS)  -lpcap -o netmate
 
 install:
 	install -D -m 755 netmate $(DESTDIR)/$(BINDIR)/netmate

--- End Message ---
--- Begin Message ---
Source: netmate
Source-Version: 0.2.0-10
Done: Joao Eriberto Mota Filho <eriberto@debian.org>

We believe that the bug you reported is fixed in the latest version of
netmate, 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 929328@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joao Eriberto Mota Filho <eriberto@debian.org> (supplier of updated netmate 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 26 Mar 2020 19:57:12 -0300
Source: netmate
Architecture: source
Version: 0.2.0-10
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Joao Eriberto Mota Filho <eriberto@debian.org>
Closes: 929328
Changes:
 netmate (0.2.0-10) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Joao Eriberto Mota Filho ]
   * debian/control:
       - Added 'Rules-Requires-Root: no' to source stanza.
       - Bumped Standards-Version to 4.5.0.
   * debian/copyright: updated packaging copyright years.
   * debian/patches/20_fix-FTCBFS.patch: created to fix a FTCBFS.
     Thanks to Helmut Grohne <helmut@subdivi.de>. (Closes: #929328)
   * debian/salsa-ci.yml: added to provide CI tests for Salsa.
   * debian/tests/control: created to perform a trivial CI test.
 .
   [ Debian Janitor ]
   * Bump debhelper from old 11 to 12.
   * Set upstream metadata fields: Repository.
Checksums-Sha1:
 6907056db8ead1780865d220f18f16819549276e 1898 netmate_0.2.0-10.dsc
 594662b2c9a52677700124b70b8f8982a00db840 3416 netmate_0.2.0-10.debian.tar.xz
 623f9bf652408b5bc97cec67888a86ad936eb205 13221 netmate_0.2.0-10_source.buildinfo
Checksums-Sha256:
 1ac216863bf15629cb9ce730cfced4d14af21ead4563d70bdf8b9877765cd35a 1898 netmate_0.2.0-10.dsc
 d7ab87cf0ca95603d43d4bdf296a90cd0cae2c13f828dd88cb027f37f646f643 3416 netmate_0.2.0-10.debian.tar.xz
 d23abdd5075534c8ad4b73439e58b6a5d82f08ae8735a5b065e83789a46aa2a4 13221 netmate_0.2.0-10_source.buildinfo
Files:
 625a0950172c1aa686f83dd03e611c24 1898 net optional netmate_0.2.0-10.dsc
 a5287b919f5d9c992de2dc326c6852ca 3416 net optional netmate_0.2.0-10.debian.tar.xz
 ccbe236d64ac7c9cee0bdd1eae2e0528 13221 net optional netmate_0.2.0-10_source.buildinfo

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

iQIzBAEBCgAdFiEENX3LDuyVoBrrofDS3mO5xwTr6e8FAl59VaAACgkQ3mO5xwTr
6e/5ChAAmtypl7np3YmUk/OY7FlugowLqiShRPkDppScJW4awnKHDfOnm37YbmGF
6tOhHY48DOlqp/kcg8YTNnKlayqbswHrzlITfEoYtMoMCVzjDTMBz4ENick6dm6w
blvP6ZimyEtHYdt4LoKeTs/xQeCa9pdRJOusfTkbiIrapmy2QiqmRN4PwVbP7cJ+
DXMB3qHE88ml2dE/k+MQtbqhE1U/CG84hXI+BnMxg0qgGy9VVqX1FgKRH1nh/+Vp
Ve2SocpH6zcUj8e9LmbZ9onE4YHkwUzTJWmO8jLVyT5FLM4SSDc7+UCjkCU2sHdl
QywGVScqd+fstEgvyFDnXMbuqjYAkLBmsOEKKLekvQalOXYmcdLeXELEyV+1bAJQ
9P/kc1bU4QE128HU5PCJMlsK1qhqNdmhmnELK1+dPUEmX8mSq1WsuAcOsFN+y136
Y6RBfG1Cf6ag13e+YiMLVz5vhyisOZZGhbwp2up72Whq3lQia20285JvG+py+P/K
FnTDn0AqdH8fRbPPjYxdTsbT2qzzUzxnrsHbn68xYbY49HFwTcGzLgnkkM0EDp+p
XnmaOkZg2QWuGyQyEyM2GQRyJKtkWg45FmlnSk4gzx58f/dnb1Ye/qCimGsdJZ9m
1wdiUGsFwtDHDODPffSBrawEqWdsEPukIWgY329s05kobWJ68b8=
=14wC
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: