Your message dated Sun, 07 Jul 2019 07:48:05 +0000
with message-id <[email protected]>
and subject line Bug#931020: fixed in lz4json 2-2
has caused the Debian Bug report #931020,
regarding lz4json FTCBFS: does not use cross 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.)
--
931020: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931020
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: lz4json
Version: 2-1
Tags: patch
User: [email protected]
Usertags: ftcbfs
lz4json fails to cross build from source, because it does not pass cross
tools to make. Using dh_auto_build partially fixes that, but the
upstream Makefile still hard codes pkg-config. The attached patch fixes
both and makes lz4json cross buildable. Please consider applying it.
Helmut
diff --minimal -Nru lz4json-2/debian/changelog lz4json-2/debian/changelog
--- lz4json-2/debian/changelog 2019-02-10 23:45:38.000000000 +0100
+++ lz4json-2/debian/changelog 2019-06-24 17:32:15.000000000 +0200
@@ -1,3 +1,12 @@
+lz4json (2-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Let dh_auto_build pass cross tools to make.
+ + cross.patch: Make pkg-config substitutable.
+
+ -- Helmut Grohne <[email protected]> Mon, 24 Jun 2019 17:32:15 +0200
+
lz4json (2-1) unstable; urgency=medium
* New upstream release.
diff --minimal -Nru lz4json-2/debian/patches/cross.patch
lz4json-2/debian/patches/cross.patch
--- lz4json-2/debian/patches/cross.patch 1970-01-01 01:00:00.000000000
+0100
+++ lz4json-2/debian/patches/cross.patch 2019-06-24 17:32:15.000000000
+0200
@@ -0,0 +1,10 @@
+--- lz4json-2.orig/Makefile
++++ lz4json-2/Makefile
+@@ -1,5 +1,6 @@
++PKG_CONFIG ?= pkg-config
+ CFLAGS := -g -O2 -Wall
+-LDLIBS := $(shell pkg-config --cflags --libs liblz4)
++LDLIBS := $(shell $(PKG_CONFIG) --cflags --libs liblz4)
+
+ lz4jsoncat: lz4jsoncat.c
+
diff --minimal -Nru lz4json-2/debian/patches/series
lz4json-2/debian/patches/series
--- lz4json-2/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ lz4json-2/debian/patches/series 2019-06-24 17:32:15.000000000 +0200
@@ -0,0 +1 @@
+cross.patch
diff --minimal -Nru lz4json-2/debian/rules lz4json-2/debian/rules
--- lz4json-2/debian/rules 2019-02-06 00:57:12.000000000 +0100
+++ lz4json-2/debian/rules 2019-06-24 17:32:13.000000000 +0200
@@ -5,4 +5,4 @@
dh $@
override_dh_auto_build:
- make CFLAGS="$$(dpkg-buildflags --get CFLAGS)"
+ dh_auto_build -- CFLAGS="$$(dpkg-buildflags --get CFLAGS)"
--- End Message ---
--- Begin Message ---
Source: lz4json
Source-Version: 2-2
We believe that the bug you reported is fixed in the latest version of
lz4json, 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.
Adam Borowski <[email protected]> (supplier of updated lz4json 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: Mon, 24 Jun 2019 23:04:07 +0200
Source: lz4json
Architecture: source
Version: 2-2
Distribution: unstable
Urgency: medium
Maintainer: Adam Borowski <[email protected]>
Changed-By: Adam Borowski <[email protected]>
Closes: 931020
Changes:
lz4json (2-2) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #931020)
+ Let dh_auto_build pass cross tools to make.
+ cross.patch: Make pkg-config substitutable.
Checksums-Sha1:
6250b6efe10c8252be799f418a19ba28cd36db5d 1836 lz4json_2-2.dsc
a0a6fc7b912da2f846bad617cf51f8c87dec4e61 1932 lz4json_2-2.debian.tar.xz
e1d597ef864859344b064a848a6f7b29694410b7 4953 lz4json_2-2_source.buildinfo
Checksums-Sha256:
432800f9524a1fa026ae3de943a72e96a1d53cb61e2d091560f838cfb1190958 1836
lz4json_2-2.dsc
ba9c695a8ce5fd53b70245a5734a8929de068dda023752c1799bde7b307a1f11 1932
lz4json_2-2.debian.tar.xz
90b0af80ac9d310775397bf719ddd57568c40ed29a78dfc9c2db5d43b6546466 4953
lz4json_2-2_source.buildinfo
Files:
8439fa177b1cc439760035d3cbdca41a 1836 web optional lz4json_2-2.dsc
0bba13daed3727a836d5305f17d48528 1932 web optional lz4json_2-2.debian.tar.xz
129d24fcb2387c4db5ae87b847bdc694 4953 web optional lz4json_2-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEkjZVexcMh/iCHArDweDZLphvfH4FAl0RPaIUHGtpbG9ieXRl
QGFuZ2JhbmQucGwACgkQweDZLphvfH547hAAwXqxCsW7cZSlrdC0dt3Mj4QPFcgD
BTBKSkdxbHnBpDyzabcc0C5xogaNLWp/6uWes5GEp5TeovYy0G7FhTFeNdpPee/R
yW/wmccIVu5+Xl1ktocs0KLXJNxu7x6jjHntvZv0bj7RaOaza+2uCCRksHQx5ABt
g81woIwx8zgmAyR9vuIMJWKCHqy+VHwpoPdfbXkiEBQ+HNP7cVi+aV2ZU9G9dSD9
fJLwZOqYrqt7b01aR/hz90Fnh5kGTeyRZNJPHHJ34Rg2P6CMAGIFaZSZRKEK64PY
gwrmiyVfvvldJzApjfS7JFP6CG63lKJ3jx1/n1Uo+9lZMPC/qp/CVvQRlAzhj4sz
6oUWh/Vv7KC/K84ohPXq5E1m3tA4AeY6vXcYul03RHq/SOIZK2F3Cl3Hz3/8VSDS
VMR+pb2dFaC+gPGjqrxHbsrlY2YSVqv5VV3qtyOG26GVNK/g8cI8e7+LeDSkBbXh
CAuHXMMmsQHF1Iw14z6QYgPRP4fqD/d5A6oS3mwxjD5W7wLlIkDcXN0tsp4o+wzU
K6koflUF5G4khv6jzVLfjcmiT0XiqN4FMT8O1xK2YzcILazlZRrMv9oUTO2zI81b
PUYgtQ0qMzIGdozc0opCCqh2odWfuDOKNaw+JjlqqVnV1o92dDXWi6vX2VL2tVtd
dWF9SyhKziD5JOo=
=y7Nt
-----END PGP SIGNATURE-----
--- End Message ---