Your message dated Mon, 06 May 2013 23:32:49 +0000
with message-id <[email protected]>
and subject line Bug#694460: fixed in html-xml-utils 6.4-1
has caused the Debian Bug report #694460,
regarding html-xml-utils: FTBFS if nc is netcat-traditional
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.)
--
694460: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694460
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: html-xml-utils
Version: 6.1-1
Severity: normal
Tags: patch
Hi,
when netcat-traditional is installed and linked to from /bin/nc (via
alternatives), then building html-xml-utils stalls at the extract1.sh test. I'm
attaching a patch that fixes this. Please also consider the Description in the
patch.
Thanks,
Roland
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -ruN html-xml-utils-6.1.backup/debian/patches/fix-test.patch html-xml-utils-6.1/debian/patches/fix-test.patch
--- html-xml-utils-6.1.backup/debian/patches/fix-test.patch 1970-01-01 01:00:00.000000000 +0100
+++ html-xml-utils-6.1/debian/patches/fix-test.patch 2012-11-26 16:31:58.000000000 +0100
@@ -0,0 +1,23 @@
+Description: Fix extract1.sh test
+ When netcat-traditional is installed (and linked to from nc), it stalls at
+ this test since 1) -p isn't used appropriately and 2) nc.traditional waits
+ indefinitely for the network to EOF even if stdin is already EOF. The issue
+ only happens with netcat-traditional. netcat-openbsd works fine with and
+ without this patch, and when no netcat is installed, this test is skipped
+ without error. The patch makes sure to stay compatible with both
+ netcat-openbsd and netcat-traditional.
+Author: Roland Stigge <[email protected]>
+
+Index: html-xml-utils-6.1/tests/extract1.sh
+===================================================================
+--- html-xml-utils-6.1.orig/tests/extract1.sh 2012-03-08 22:36:43.000000000 +0100
++++ html-xml-utils-6.1/tests/extract1.sh 2012-11-26 16:17:25.091029671 +0100
+@@ -12,7 +12,7 @@
+ ((p = PORT + i))
+ ((q = p + 1))
+ echo -e "HTTP/1.1 302\r\nLocation: http://localhost:$q/\r\n\r" |\
+- nc -l $p >/dev/null &
++ nc -q 1 -l -p $p >/dev/null &
+ done
+
+ ./hxextract body http://localhost:$PORT/ 2>&1 | grep -q 'Too many links'
diff -ruN html-xml-utils-6.1.backup/debian/patches/series html-xml-utils-6.1/debian/patches/series
--- html-xml-utils-6.1.backup/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ html-xml-utils-6.1/debian/patches/series 2012-11-26 16:32:09.000000000 +0100
@@ -0,0 +1 @@
+fix-test.patch
--- End Message ---
--- Begin Message ---
Source: html-xml-utils
Source-Version: 6.4-1
We believe that the bug you reported is fixed in the latest version of
html-xml-utils, 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.
Daniel Leidert <[email protected]> (supplier of updated html-xml-utils
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: SHA1
Format: 1.8
Date: Tue, 07 May 2013 01:17:47 +0200
Source: html-xml-utils
Binary: html-xml-utils
Architecture: source amd64
Version: 6.4-1
Distribution: unstable
Urgency: low
Maintainer: Debian XML/SGML Group <[email protected]>
Changed-By: Daniel Leidert <[email protected]>
Description:
html-xml-utils - HTML and XML manipulation utilities
Closes: 694460
Changes:
html-xml-utils (6.4-1) unstable; urgency=low
.
* New upstream release.
* debian/control (Uploaders): Bumped to 3.9.4.
(DM-Upload-Allowed): Dropped.
* debian/patches/694460_fix_ftbfs_with_netcat_traditional.patch: Added.
- Fix test running using netcat-traditional (closes: #694460).
* debian/patches/series: Added.
Checksums-Sha1:
b76c495f05aaf96384136e1e7cf6cbe3ed5f3bf1 1444 html-xml-utils_6.4-1.dsc
6dc6ace41a4c3f692f79b16107d50d0e80d0ee40 302360 html-xml-utils_6.4.orig.tar.gz
9a2a3d31667551188bb906df1a8636f6f51fe87c 4922
html-xml-utils_6.4-1.debian.tar.gz
e89b4bddca076fe1b03e03ea4e82c695730a8325 645336 html-xml-utils_6.4-1_amd64.deb
Checksums-Sha256:
6d6ba99f5749a616f7bcb791657934f71071ff19be5c4dfa4061bc13015b89fe 1444
html-xml-utils_6.4-1.dsc
97f5fcc5cbe79ecee9f7401690a033249db7aca1b09d552112c7d732e5460a37 302360
html-xml-utils_6.4.orig.tar.gz
6d8cd6e3cbd500e0aeef5f0917295b0941ae5bc6af5147e10ce637b624b14886 4922
html-xml-utils_6.4-1.debian.tar.gz
d642d52f51754d0018b9a454c1fcf65565016174441460bd589118ccb9c2ae69 645336
html-xml-utils_6.4-1_amd64.deb
Files:
f0c166369bd252f1ee0d615534129abc 1444 text extra html-xml-utils_6.4-1.dsc
f225e471272edbecf8f34748a8696b82 302360 text extra
html-xml-utils_6.4.orig.tar.gz
147488acc5e44184b54d755213a9f2c5 4922 text extra
html-xml-utils_6.4-1.debian.tar.gz
a2c725038232353851661036b6638f83 645336 text extra
html-xml-utils_6.4-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlGIPAwACgkQm0bx+wiPa4zbuACg4QHw3yE4LCwRq7Dc/dp11QTu
kfwAniPphrS/y1OUazv+odbby4TqD+ul
=EB7J
-----END PGP SIGNATURE-----
--- End Message ---