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

Bug#981130: marked as done (dump1090-mutability FTCBFS: hard codes the build architecture pkg-config)



Your message dated Wed, 27 Jan 2021 04:48:37 +0000
with message-id <E1l4ckv-0000qm-FS@fasolo.debian.org>
and subject line Bug#981130: fixed in dump1090-mutability 1.15~20180310.4a16df3+dfsg-8
has caused the Debian Bug report #981130,
regarding dump1090-mutability FTCBFS: hard codes the build architecture pkg-config
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.)


-- 
981130: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981130
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: dump1090-mutability
Version: 1.15~20180310.4a16df3+dfsg-7
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

dump1090-mutability fails to cross build from source, because the
upstream Makefile hard codes the build architecture pkg-config and thus
it fails finding the relevant dependencies. Making it substitutable is
all that it takes to make dump1090-mutability cross buildable. Please
consider applying the attached patch.

Helmut
--- dump1090-mutability-1.15~20180310.4a16df3+dfsg.orig/Makefile
+++ dump1090-mutability-1.15~20180310.4a16df3+dfsg/Makefile
@@ -17,7 +17,8 @@
 CPPFLAGS+=-DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\"
 CFLAGS+=-O2 -g -Wall -Werror -W -Wno-unknown-warning-option -Wno-format-truncation
 LIBS=-lpthread -lm
-LIBS_RTL=`pkg-config --libs libusb-1.0 librtlsdr`
+PKG_CONFIG?=pkg-config
+LIBS_RTL=`$(PKG_CONFIG) --libs libusb-1.0 librtlsdr`
 CC=gcc
 
 UNAME := $(shell uname)
@@ -48,7 +49,7 @@
 %.o: %.c *.h
 	$(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRACFLAGS) -c $< -o $@
 
-dump1090.o: CFLAGS += `pkg-config --cflags libusb-1.0 librtlsdr`
+dump1090.o: CFLAGS += `$(PKG_CONFIG) --cflags libusb-1.0 librtlsdr`
 
 dump1090: dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o crc.o demod_2400.o stats.o cpr.o icao_filter.o track.o util.o convert.o $(COMPAT)
 	$(CC) -g -o $@ $^ $(LIBS) $(LIBS_RTL) $(LDFLAGS)

--- End Message ---
--- Begin Message ---
Source: dump1090-mutability
Source-Version: 1.15~20180310.4a16df3+dfsg-8
Done: tony mancill <tmancill@debian.org>

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

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated dump1090-mutability 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: Tue, 26 Jan 2021 20:16:35 -0800
Source: dump1090-mutability
Architecture: source
Version: 1.15~20180310.4a16df3+dfsg-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 981130
Changes:
 dump1090-mutability (1.15~20180310.4a16df3+dfsg-8) unstable; urgency=medium
 .
   * Team upload.
   * Patch Makefile for FTCBFS (Closes: #981130)
     Thank you to Helmut Grohne for the patch.
Checksums-Sha1:
 4174d4786206ac55bca4d6818483ed64d24fd9f6 2309 dump1090-mutability_1.15~20180310.4a16df3+dfsg-8.dsc
 9c62347b5aafed8a5ff5b2a9c9f8067e5ca64ab0 33212 dump1090-mutability_1.15~20180310.4a16df3+dfsg-8.debian.tar.xz
 32ed81cc05e64b1e3ce73f96f5bd3f482430dc7a 7502 dump1090-mutability_1.15~20180310.4a16df3+dfsg-8_amd64.buildinfo
Checksums-Sha256:
 64d74eaa1e674252b0a05088fb1407f05efafdef8029c5b151a70d00087d281e 2309 dump1090-mutability_1.15~20180310.4a16df3+dfsg-8.dsc
 2d66c2f75cb9c6a2c5e63b11a6851a4c6cf5e90781a4ca40a833844dfa5681ed 33212 dump1090-mutability_1.15~20180310.4a16df3+dfsg-8.debian.tar.xz
 ff57aa2e3f5d15cfaac99bb491db2bc8aa48b7e63651a0bc8de52d720180ac24 7502 dump1090-mutability_1.15~20180310.4a16df3+dfsg-8_amd64.buildinfo
Files:
 8c5ec0109c589ae72c85f0f4f52670c1 2309 net optional dump1090-mutability_1.15~20180310.4a16df3+dfsg-8.dsc
 ba777f036179758c272db12dbecc76fe 33212 net optional dump1090-mutability_1.15~20180310.4a16df3+dfsg-8.debian.tar.xz
 15a18dc67e00714d4135f74fe1043ae0 7502 net optional dump1090-mutability_1.15~20180310.4a16df3+dfsg-8_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmAQ7DcUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpYmsQ//axb9uKSKe3RrKZpY4Sp2W1y8cIs3
g+llY4aj1beQfysLTg3mpqHSM3mpfCb/KjpaWvuPsuo34HfIcu+6BM3XZMetvnKP
j1fpGIbG5MVmYuxBAQwIuPuSmnVIgOXQWLDcT3d4sAo6x7ZBQ5ng/f5tNHpviDjt
LBXW2buHOetAuJfzvQ6BC0DmgtzfvDNOAhi2eRKKOIRNlzJNPNfwtHOuoyA/dtG8
kkMcSCgwgmiLZI+s/xvLt/ej6ao8B3oIXax5Q4saiEIvp0HjAa1/pLGMwyY7oG3I
owGbeZkuBoe+Neorkyu2jw5Iv+mxCnfyNPdHabyjCNRcFtj3dCCeJd5WWo2O9oZk
T3mnW4n5o0Ye4QcwzHVaUmkfZ1x5vre2LnNd0ufVu/fD5B52Du8I4+FWuNlcdp1O
lJHh3a5p6IBfhmjVFvcqhKpNDAfb9cKR4Qj+5JA+lLyCU6j6otz0VVSiHSYEBimW
+bFg36V9HI/jmZsn2/JtemQ+xIJx0536lKwlkuIY+4qTSKVdSDIuupcdQ3qXIDM8
2GrLsgruHY40dSHdeMjF8+6L1rIsin63d1EM5/b1JgwXtErGdZeduF2Xokm06epj
Qj0MyyjJ3++oLClqgvDnA+2Sm3fzVXd45mnCz/ioUQvaFWHKDSDcirPG4OUUPQjT
pTcxMqLJ290HupQ=
=ESU2
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: