Your message dated Tue, 23 Oct 2018 16:34:46 +0000
with message-id <[email protected]>
and subject line Bug#911683: fixed in wit 3.01a-1
has caused the Debian Bug report #911683,
regarding wit hard codes location of fcntl.h
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.)
--
911683: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911683
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: wit
Version: 2.31a-3
Tags: patch upstream
Control: block 798955 by -1
wit's setup.sh checks for headers by testing whether they exist in
/usr/include or /usr/local/include. That will stop working with
non-glibc libcs or with a glibc that moves all headers to
/usr/include/<triplet> (aka fixing #798955). wit will fail to build from
source. The attached patch replaces the tests with compile tests. In
doing so it removes assumptions about how functions are declared (e.g.
bits/fcntl.h) and makes setup.sh more reliable. Please consider applying
it.
Helmut
--- wit-2.31a.orig/setup.sh
+++ wit-2.31a/setup.sh
@@ -18,13 +18,14 @@
tim=($(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" '+%s %Y-%m-%d %T'))
defines=
+: "${CC:=cc}"
have_fuse=0
-[[ $NO_FUSE != 1 && -r /usr/include/fuse.h || -r /usr/local/include/fuse.h ]] \
+[[ $NO_FUSE != 1 ]] && echo '#include <fuse.h>' | "$CC" -E - >/dev/null 2>&1 \
&& have_fuse=1
have_zlib=0
-if [[ $NO_ZLIB != 1 && -r /usr/include/zlib.h || -r /usr/local/include/zlib.h ]]
+if [[ $NO_ZLIB != 1 ]] && echo '#include <zlib.h>' | "$CC" -E - >/dev/null 2>&1
then
have_zlib=1
defines="$defines -DHAVE_ZLIB=1"
@@ -41,16 +42,16 @@
xflags=
fi
-[[ -r /usr/include/bits/fcntl.h ]] \
- && grep -qw fallocate /usr/include/bits/fcntl.h \
+echo '#include <fcntl.h>' | "$CC" -E - >/dev/null 2>&1 \
+ && echo '#include <fcntl.h>' | "$CC" -E - 2>/dev/null | grep -qw fallocate \
&& defines="$defines -DHAVE_FALLOCATE=1"
-[[ -r /usr/include/fcntl.h ]] \
- && grep -qw posix_fallocate /usr/include/fcntl.h \
+echo '#include <fcntl.h>' | "$CC" -E - >/dev/null 2>&1 \
+ && echo '#include <fcntl.h>' | "$CC" -E - 2>/dev/null | grep -qw posix_fallocate \
&& defines="$defines -DHAVE_POSIX_FALLOCATE=1"
-[[ -r /usr/include/linux/fiemap.h ]] \
- && grep -qw fiemap_extent /usr/include/linux/fiemap.h \
+echo '#include <linux/fiemap.h>' | "$CC" -E - >/dev/null 2>&1 \
+ && echo '#include <linux/fiemap.h>' | "$CC" -E - 2>/dev/null | grep -qw fiemap_extent \
&& defines="$defines -DHAVE_FIEMAP=1"
[[ $STATIC = 1 ]] || STATIC=0
--- End Message ---
--- Begin Message ---
Source: wit
Source-Version: 3.01a-1
We believe that the bug you reported is fixed in the latest version of
wit, 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.
Michael Stapelberg <[email protected]> (supplier of updated wit 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: Tue, 23 Oct 2018 18:20:52 +0200
Source: wit
Binary: wit
Architecture: source
Version: 3.01a-1
Distribution: unstable
Urgency: medium
Maintainer: Michael Stapelberg <[email protected]>
Changed-By: Michael Stapelberg <[email protected]>
Description:
wit - manipulate Wii and GameCube ISO images and WBFS containers
Closes: 911683
Changes:
wit (3.01a-1) unstable; urgency=medium
.
* remove debian/gbp.conf to disable pristine-tar
* update README.source for new upstream version
* New upstream version 3.01a
* update debian patches
* d/rules: clean trailing whitespace
* update URLs
* priority extra is replaced by priority optional
* add patch multiarch-libc.patch by Helmut Grohne (Closes: #911683)
* compat 11
* bump standards-version to 4.1.4
Checksums-Sha1:
fb577c0f7802c588b65a7106de906a11ec691bd6 1834 wit_3.01a-1.dsc
065730a0916e989521c3dbcdad304227989e31e9 2136327 wit_3.01a.orig.tar.gz
998481540ce8bed785b5ba5ccf74bcc808658302 7192 wit_3.01a-1.debian.tar.xz
167da8eff4b938555a56827acd85a1a5dd94f35c 5876 wit_3.01a-1_amd64.buildinfo
Checksums-Sha256:
67d6089e305854e227e9e4c3f6b627b998af3614c7fd5178c21ce98c9f66e81e 1834
wit_3.01a-1.dsc
513a34cf97bbec6e1e04a2d9e02e4090cad77ea91a3f6d749f14e3bf7806358b 2136327
wit_3.01a.orig.tar.gz
1128231ebc7f323008a9b154ff6338a91ef882ba5474bd8cea4b6850bad6eff0 7192
wit_3.01a-1.debian.tar.xz
28b237fa1ded665b7b2dba51a7c1c3c15816d3c6ce325f6fee4fb9afa9103799 5876
wit_3.01a-1_amd64.buildinfo
Files:
d3546b466e982c1659920d967870525b 1834 utils optional wit_3.01a-1.dsc
e32e2a7cc7c29bc6835c66af19a55132 2136327 utils optional wit_3.01a.orig.tar.gz
56971e30e411fc2a59982d28ce9b9fba 7192 utils optional wit_3.01a-1.debian.tar.xz
10193fcc6e31c2a8ea98f8474abaf6b0 5876 utils optional
wit_3.01a-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQk4U1wPnxtQ9nW82TnFg7UrI7h0FAlvPS0EACgkQTnFg7UrI
7h1uThAApKQJGHnGQ50GgLttFTvXA9OhnaXyhmUNHbzMitsbOhO7PCT1MKk350OE
Az1h+7GCAqd3WKBpSKxkt+Qr8REN6zF8aCrJX0GiDbZ82eWquUfCG24KMsoVPJ8X
ZkZCTGCN4eLEv9QDQOWAePkzQj0zpUm1ufva2XG2tDufDtWWfG48e7YCBBeNPPTa
okpnpYlL1UOJSF6cdrLI/T4bpBg1xh2wTKFORCHSP6ejT74ycLs/8Xvq3iyISrnU
5l4ElQX3bm464JR/idTxmQq5hth2ZtO5nwF0duyiPTytEHHbVYvn69nTKHgFhPbW
AUmPdtehaHLLAfbjGbvivMGuU6TyLSxXMucNs5IaGZzcAiazmNt/wZN92eJ91mVh
+JEcY2/lOeakfAD1iFulA8AiQZsOrTxMG+NQDp3qMLyMaHEY47fcNfYqI/jCsB10
9kQfSefVR9JySx9mg9hdgzlaDqF8xcGl46YZyZiWnYOL3ksk8a+0WEzMo+Wb2azm
JUhU8+VmiNfoR8Q4zGKy8M3aag74L2/z8sKFUYKB/Fqwrr5Dnnwy7ScLNY5cyjgc
tLaEtWaXOlafuQc4zWMSRDPaQD0/ZKjrIqw0ZuyDQgdDZe8OuFoi2S5MuFW18W1a
U4BWOVvAcs/2bq1KVVGkyiOb3TVBoPIg3MspOaIVlFs7HLAkJE4=
=UFBu
-----END PGP SIGNATURE-----
--- End Message ---