Your message dated Thu, 20 Aug 2009 13:58:55 +0000
with message-id <[email protected]>
and subject line Bug#542063: fixed in serf 0.3.0-0.3
has caused the Debian Bug report #542063,
regarding FTBFS: on GNU/kFreeBSD: testsuite failures
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.)


-- 
542063: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542063
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: serf
Version: 0.3.0-0.2
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd

serf fails to build from source on GNU/kFreeBSD due to failures in the
testsuite. They are due to the assumptions on the returned events that
are not true with the FreeBSD kernel.

Please find below a patch to fix the problem, it has already been sent
upstream. It would be nice if you can fix the problem soon, as it is
currently blocking a lot of packages on GNU/kFreeBSD. Thanks in advance.


Patch sent upstream, issue #51.

--- a/test/test_util.c
+++ b/test/test_util.c
@@ -168,6 +168,7 @@
     apr_pollset_t *pollset;
     apr_int32_t num;
     const apr_pollfd_t *desc;
+    int client_sock_handled = 0;
 
     /* create a new pollset */
     status = apr_pollset_create(&pollset, 32, pool, 0);
@@ -211,7 +212,14 @@
             goto cleanup;
         }
 
-        if (desc->desc.s == tb->client_sock) {
+        if (desc->desc.s == tb->client_sock && !client_sock_handled) {
+            /* Note: on some implementations (for example with kqueue),
+               apr_pollset_poll() returns separate events for APR_POLLIN
+               and APR_POLLOUT. client_sock_handled filters the second 
+               event.
+            */
+            client_sock_handled = 1;
+
             /* Replay data to socket. */
             status = replay(tb, pool);
 

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 7.2-1-686
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: serf
Source-Version: 0.3.0-0.3

We believe that the bug you reported is fixed in the latest version of
serf, which is due to be installed in the Debian FTP archive:

libserf-0-0-dbg_0.3.0-0.3_amd64.deb
  to pool/main/s/serf/libserf-0-0-dbg_0.3.0-0.3_amd64.deb
libserf-0-0-dev_0.3.0-0.3_amd64.deb
  to pool/main/s/serf/libserf-0-0-dev_0.3.0-0.3_amd64.deb
libserf-0-0_0.3.0-0.3_amd64.deb
  to pool/main/s/serf/libserf-0-0_0.3.0-0.3_amd64.deb
serf_0.3.0-0.3.diff.gz
  to pool/main/s/serf/serf_0.3.0-0.3.diff.gz
serf_0.3.0-0.3.dsc
  to pool/main/s/serf/serf_0.3.0-0.3.dsc



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.
Peter Samuelson <[email protected]> (supplier of updated serf 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: Thu, 20 Aug 2009 08:36:44 -0500
Source: serf
Binary: libserf-0-0 libserf-0-0-dev libserf-0-0-dbg
Architecture: source amd64
Version: 0.3.0-0.3
Distribution: unstable
Urgency: low
Maintainer: Noritada Kobayashi <[email protected]>
Changed-By: Peter Samuelson <[email protected]>
Description: 
 libserf-0-0 - high-performance asynchronous HTTP client library
 libserf-0-0-dbg - high-performance asynchronous HTTP client library debugging 
symbo
 libserf-0-0-dev - high-performance asynchronous HTTP client library headers
Closes: 542063
Changes: 
 serf (0.3.0-0.3) unstable; urgency=low
 .
   * Non-maintainer upload.
   * patches/kqueue: New patch: fix FTBFS due to testsuite bug on BSD kernels.
     Thanks Aurelien Jarno.  (Closes: #542063)
Checksums-Sha1: 
 948d5bba09c50d7a994b6942421b79a9f49d7bf0 1198 serf_0.3.0-0.3.dsc
 6b44972fdaed7200ceca8981306771b204a94eec 3897 serf_0.3.0-0.3.diff.gz
 6335b9c2c8fb34723c6ff4dce2f3382bf579b3b3 36474 libserf-0-0_0.3.0-0.3_amd64.deb
 a9cb9a91d70c9e89f2bd25af940ab2ca2abb1507 65930 
libserf-0-0-dev_0.3.0-0.3_amd64.deb
 11c4e2e79fb7515f2352b0496527989896e5db98 76882 
libserf-0-0-dbg_0.3.0-0.3_amd64.deb
Checksums-Sha256: 
 c585d95b97135838f6cb47ff1e99accbccecdefeadb6a406a59cbd14acdd7cf0 1198 
serf_0.3.0-0.3.dsc
 c4a674e17a630fc940f116c5c6e2b803dd61056ed8803305402a975873e780b1 3897 
serf_0.3.0-0.3.diff.gz
 95b661a46ff67e7a19384addd74d3daec2ec8ac6a7cb613e48d277f9d8937687 36474 
libserf-0-0_0.3.0-0.3_amd64.deb
 c0b68370c1cea973071713bb874088f4528dffffa3c6f5a77638191df9f6dab4 65930 
libserf-0-0-dev_0.3.0-0.3_amd64.deb
 c1bb5797aa08ff128f7c739054eec55eaf52b33b9c214173ebfcf9654046d554 76882 
libserf-0-0-dbg_0.3.0-0.3_amd64.deb
Files: 
 9c3f366321402530c57c7e5603366e21 1198 libs optional serf_0.3.0-0.3.dsc
 4cbd56fe256db1837bb8bef23f9e61ab 3897 libs optional serf_0.3.0-0.3.diff.gz
 74024a97798849bea3d45c655e92bb50 36474 libs optional 
libserf-0-0_0.3.0-0.3_amd64.deb
 76ec8d6e3c48e79abf448212e6a796d9 65930 libdevel optional 
libserf-0-0-dev_0.3.0-0.3_amd64.deb
 5674b08111d5eaba5e7c767c367d4564 76882 libdevel extra 
libserf-0-0-dbg_0.3.0-0.3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKjVVmXk7sIRPQRh0RAjHcAKDPQl5g5z6ZN3lVeTtkH61xjEgZMACfZ47T
QboKHC/IHs/t3pT9+xat7VM=
=xsmI
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to