Your message dated Sat, 13 Sep 2014 03:34:08 +0000
with message-id <e1xse6c-0002hs...@franck.debian.org>
and subject line Bug#761318: fixed in whois 5.2.0
has caused the Debian Bug report #761318,
regarding whois: FTBFS when binNMUed
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 ow...@bugs.debian.org
immediately.)
--
761318: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761318
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: whois
Version: 5.1.5
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
whois has to be binNMUed on s390x and failed to build:
| make[1]: Entering directory '/«BUILDDIR»/whois-5.1.5+b1'
| cc -D_FORTIFY_SOURCE=2 -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN
-DHAVE_ICONV -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
-MM -MG *.c > Makefile.depend
| perl make_version_h.pl debian/changelog > version.h
| Invalid version number in debian/changelog!
| make[1]: *** [version.h] Error 25
| make[1]: *** Deleting file 'version.h'
| Makefile:73: recipe for target 'version.h' failed
| make[1]: Leaving directory '/«BUILDDIR»/whois-5.1.5+b1'
| make: *** [build] Error 2
| debian/rules:17: recipe for target 'build' failed
| dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=whois&arch=s390x&ver=5.1.5%2Bb1&stamp=1410534727
The problem is that the script parsing the version number doesn't handle
the versions used by a binNMU. The patch below fixes the issue.
--- a/make_version_h.pl
+++ b/make_version_h.pl
@@ -12,7 +12,7 @@
my ($ver) = $line =~ /^whois \s+ \( ( [^\)]+ ) \) \s+ \S+/x;
die "Version number not found in $changelog!\n" if not $ver;
-$ver =~ s/ ( ~bpo\d+\+\d+ | ~deb\d+.* | ubuntu\d+ | \+dyson\d+ ) $//x;
+$ver =~ s/ ( ~bpo\d+\+\d+ | ~deb\d+.* | ubuntu\d+ | \+dyson\d+ | \+b\d+ ) $//x;
# The version number must not deviate from this format or the -V option
# to RIPE-like servers will break. If needed, update the previous regexp.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: s390x
Kernel: Linux 3.2.0-4-s390x (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Source: whois
Source-Version: 5.2.0
We believe that the bug you reported is fixed in the latest version of
whois, 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 761...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <m...@linux.it> (supplier of updated whois 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 13 Sep 2014 05:05:16 +0200
Source: whois
Binary: whois
Architecture: source i386
Version: 5.2.0
Distribution: unstable
Urgency: medium
Maintainer: Marco d'Itri <m...@linux.it>
Changed-By: Marco d'Itri <m...@linux.it>
Description:
whois - intelligent WHOIS client
Closes: 761318
Changes:
whois (5.2.0) unstable; urgency=medium
.
* Implemented support for the long RIPE flags.
* "Fixed" some harmless bugs discovered with a Coverity scan.
* Default to whois.ripe.net when using long flags.
* Updated the list of new gTLDs.
* Added a new ASN allocation.
* Added new recovered IPv4 allocations.
* Updated make_version_h.pl to support Debian binNMUs. (Closes: #761318)
Checksums-Sha1:
4a2d84b77818ad5a2eb67d3b2bbb93292aa21e48 1294 whois_5.2.0.dsc
1678a34b7b055750ba6f10d93eaa3b6c63993645 78088 whois_5.2.0.tar.xz
7dea3112d0536a79d6091b028aa6608b6ae7e96d 65444 whois_5.2.0_i386.deb
Checksums-Sha256:
1dc1109256bf139ad46a704ed8a0dd19123e12bac1bb90744c1e449fcbd374a4 1294
whois_5.2.0.dsc
f487bba00fc506b18b519d913509d9e050cba0b6f025e26a50b29b3e6322530b 78088
whois_5.2.0.tar.xz
cd24612795f217f80c6db1965bcaf11bcd79b271d9e74a040dc0d14d27042486 65444
whois_5.2.0_i386.deb
Files:
825ca6fb53272a5c53b5b955310d7938 65444 net standard whois_5.2.0_i386.deb
304eb765a035b3ed6d264f387642c7ce 1294 net standard whois_5.2.0.dsc
0e5966b051735fff91792fa40c3d030f 78088 net standard whois_5.2.0.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQGcBAEBCAAGBQJUE7crAAoJECv1pcEixPek2l8L/0xi3PlfEP4PUhEYBeK8fVL7
sOmyn/ntg4PAkGaCYXrbhCxITfCbZNZcnGUHnyVmBLifVu2DkZgNgKt7M+uDJPHT
Q8pZeWOJq4oslyP5+Y5u9Wz2pKQUZJ4XuKmQTQsC2QfrAdr8D9hUx28vHoMoTtNH
9CC9zffJ4JxdLv31w3IkyPj92NNWPu+l3brf+8a+RfvTkvvM6QI4OEDDI9rfe8/B
6GBLX0vN0dm2FuNFMhUixGwIhapjd6YKgNkrbUE9aiSuGRlBY6en6AGHZ59bOO0K
BbXG3Jw7c60c+EpuJUs7bb0e0gb+cPKkBwSYP75KodsmPV1RhT9BvI1rCpL4e8e5
1T8hmFSOrPrnPxXl2clgRjoBMHVbk1fg4w+0YxhFBCOJKy3+EpMN72gAEGM7VwPS
wQCr3J/9l3dtlhwEhZfGgzKk55DML/az9650HZLi9Dns1pimQgdYQEgQxOYfh1/F
RlCWp88RSrUiqe7+G8Fcoyim6icBD6aKHvB4v3YfEg==
=d2IB
-----END PGP SIGNATURE-----
--- End Message ---