[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#349416: marked as done (FTBFS: apr_sendfile for the Hurd)

Your message dated Wed, 27 Sep 2006 10:47:04 -0700
with message-id <E1GSdUu-00059h-S1@spohr.debian.org>
and subject line Bug#349416: fixed in apr 1.2.7-5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apache2
Severity: important
Tags: patch
Justification: fails to build from source


apache2 fails to build from source: 

#error APR has detected sendfile on your system, but nobody has written a
#error version of it for APR yet. To get past this, either write apr_sendfile
#error or change APR_HAS_SENDFILE in apr.h to 0.

The simple following patch corrects this:

--- build-tree.old/apache2/srclib/apr/network_io/unix/sendrecv.c	2005-03-28 22:21:19.000000000 +0200
+++ build-tree/apache2/srclib/apr/network_io/unix/sendrecv.c	2005-03-28 22:22:11.000000000 +0200
@@ -239,7 +239,7 @@
 /* Define a structure to pass in when we have a NULL header value */
 static apr_hdtr_t no_hdtr;
-#if defined(__linux__) && defined(HAVE_WRITEV)
+#if (defined(__linux__) || defined(__GNU__)) && defined(HAVE_WRITEV)
 apr_status_t apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file,
                                  apr_hdtr_t *hdtr, apr_off_t *offset,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU 0.3
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Samuel Thibault <samuel.thibault@ens-lyon.org>

--- End Message ---
--- Begin Message ---
Source: apr
Source-Version: 1.2.7-5

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

  to pool/main/a/apr/apr_1.2.7-5.diff.gz
  to pool/main/a/apr/apr_1.2.7-5.dsc
  to pool/main/a/apr/libapr1-dbg_1.2.7-5_amd64.deb
  to pool/main/a/apr/libapr1-dev_1.2.7-5_amd64.deb
  to pool/main/a/apr/libapr1_1.2.7-5_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 349416@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Tollef Fog Heen <tfheen@debian.org> (supplier of updated apr 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Wed, 27 Sep 2006 19:32:10 +0200
Source: apr
Binary: libapr1 libapr1-dbg libapr1-dev
Architecture: source amd64
Version: 1.2.7-5
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Tollef Fog Heen <tfheen@debian.org>
 libapr1    - The Apache Portable Runtime Library
 libapr1-dbg - The Apache Portable Runtime Library - Development Headers
 libapr1-dev - The Apache Portable Runtime Library - Development Headers
Closes: 349416
 apr (1.2.7-5) unstable; urgency=low
   * Add doxygen to build-deps.
   * Add sendfile hurd patch.  Closes: #349416
 2612f3f7b5f22112f5557476875b5b94 856 libs optional apr_1.2.7-5.dsc
 de521ae58d76f6b021ee011c6b3e1acc 23763 libs optional apr_1.2.7-5.diff.gz
 608e8058a2bc7b792cdaebf9577617c5 111852 libs optional libapr1_1.2.7-5_amd64.deb
 4a62686778ef7d806f5c77c687599bf2 349626 libdevel optional libapr1-dev_1.2.7-5_amd64.deb
 d4f95f2212ceac73693d88312a8a2766 187386 libdevel optional libapr1-dbg_1.2.7-5_amd64.deb

Version: GnuPG v1.4.3 (GNU/Linux)


--- End Message ---

Reply to: