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

Bug#530286: marked as done (apr: FTBFS on hurd-i386)



Your message dated Sun, 07 Jun 2009 19:32:07 +0000
with message-id <E1MDO6B-0007KA-84@ries.debian.org>
and subject line Bug#530286: fixed in apr 1.3.4-1
has caused the Debian Bug report #530286,
regarding apr: FTBFS on hurd-i386
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 owner@bugs.debian.org
immediately.)


-- 
530286: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530286
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apr
Version: 1.3.3-4
Severity: important
Tags: patch


Coin,

Please consider applying this patch to enable Hurd support :
- define _GNU_SOURCE because without it a few GNU things are not defined (it doesn't FTBFS on Linux probably because something else enforce it) - don't use --enable-nonportable-atomics on GNU (maybe this should be enforced on kfreebsd too)
  - deactivate IP multicast support which is not supported yet
- deactivate tests on Hurd as most succeed and apr is pretty usuable (apr-utils builds, apache2 too, and the later is working like a charm), so before investigation is over there is no reason to block so many packages

Regards.

--
Marc Dequènes (Duck)
diff -Nur orig/apr-1.3.3/debian/changelog new/apr-1.3.3/debian/changelog
--- orig/apr-1.3.3/debian/changelog	2009-05-23 20:17:46.000000000 +0200
+++ new/apr-1.3.3/debian/changelog	2009-05-23 20:22:22.000000000 +0200
@@ -1,3 +1,15 @@
+apr (1.3.3-4+hurdfr1) unreleased; urgency=low
+
+  * NMU by HurdFr.
+  * Built using '-D_GNU_SOURCE' or PTHREAD_MUTEX_RECURSIVE is not
+    exported (and maybe others).
+  * Don't compile with --enable-nonportable-atomics on GNU.
+  * Deactivate missing multicast support on Hurd (by removing
+    HAVE_STRUCT_IPMREQ manually).
+  * Ignore failed tests on Hurd at the moment (tests deactivated).
+
+ -- Marc Dequènes (Duck) <duck@hurdfr.org>  Sat, 16 May 2009 12:51:31 +0200
+
 apr (1.3.3-4) unstable; urgency=low
 
   [ Ryan Niebur ]
diff -Nur orig/apr-1.3.3/debian/rules new/apr-1.3.3/debian/rules
--- orig/apr-1.3.3/debian/rules	2009-05-23 20:17:46.000000000 +0200
+++ new/apr-1.3.3/debian/rules	2009-05-23 20:22:22.000000000 +0200
@@ -8,12 +8,13 @@
 
 # These are used for cross-compiling and for saving the configure script
 # # from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE    ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
 
 BUILDDIR := build-$(DEB_HOST_GNU_TYPE)
 
-CFLAGS := $(CFLAGS) -pipe -Wall -g
+CFLAGS := $(CFLAGS) -pipe -Wall -g -D_GNU_SOURCE
 
 # hardening options
 H_CFLAGS := -Wformat -Wformat-security -D_FORTIFY_SOURCE=2
@@ -23,6 +24,9 @@
 	H_CFLAGS += -fstack-protector
 endif
 
+# export needed GNU extensions
+H_CFLAGS += -D_GNU_SOURCE
+
 CONFFLAGS += ac_cv_prog_AWK=mawk apr_cv_sctp=no
 
 # Enable debug builds
@@ -46,9 +50,18 @@
 else
 	TEST_TARGET =
 endif
+ifeq (gnu, $(DEB_BUILD_GNU_SYSTEM))
+	TEST_TARGET =
+endif
 
 SHELL=/bin/bash
 
+CONFOPTS =	--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+		--enable-layout=Debian --includedir=\$${prefix}/usr/include/apr-1.0 --with-installbuilddir=\$${prefix}/usr/share/apr-1.0/build
+ifneq (gnu, $(DEB_BUILD_GNU_SYSTEM))
+	CONFOPTS += --enable-nonportable-atomics
+endif
+
 $(BUILDDIR)/config.status: patch-stamp
 	dh_testdir
 	mkdir -p $(BUILDDIR)/docs
@@ -56,12 +69,16 @@
 	# we need to force the use of bash here. Otherwise, if apr is built with
 	# /bin/sh -> /bin/bash, the resulting libtool will not work on systems
 	# where /bin/sh -> /bin/dash
-	cd $(BUILDDIR) && CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(CONFFLAGS) CONFIG_SHELL=/bin/bash /bin/bash ../configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --enable-layout=Debian --includedir=\$${prefix}/usr/include/apr-1.0 --with-installbuilddir=\$${prefix}/usr/share/apr-1.0/build  --enable-nonportable-atomics
+	cd $(BUILDDIR) && CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(CONFFLAGS) CONFIG_SHELL=/bin/bash /bin/bash ../configure $(CONFOPTS)
 	# Determine whether upstream's configure gives the same definition of apr_ino_t as we had until 1.2.11-1
 	rm -f debian/ino_t_test
 	gcc -I$(CURDIR)/include -I$(BUILDDIR)/include `$(BUILDDIR)/apr-1-config --cppflags` -o debian/ino_t_test debian/ino_t_test.c
 	debian/ino_t_test
 	rm -f debian/ino_t_test
+ifeq (gnu, $(DEB_BUILD_GNU_SYSTEM))
+	# multicast not supported on Hurd
+	sed -i '/HAVE_STRUCT_IPMREQ/ d' $(BUILDDIR)/include/arch/unix/apr_private.h
+endif
 
 build: patch-stamp build-stamp
 

Attachment: pgp6pOyNcLPBc.pgp
Description: PGP Digital Signature


--- End Message ---
--- Begin Message ---
Source: apr
Source-Version: 1.3.4-1

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:

apr_1.3.4-1.diff.gz
  to pool/main/a/apr/apr_1.3.4-1.diff.gz
apr_1.3.4-1.dsc
  to pool/main/a/apr/apr_1.3.4-1.dsc
apr_1.3.4.orig.tar.gz
  to pool/main/a/apr/apr_1.3.4.orig.tar.gz
libapr1-dbg_1.3.4-1_i386.deb
  to pool/main/a/apr/libapr1-dbg_1.3.4-1_i386.deb
libapr1-dev_1.3.4-1_i386.deb
  to pool/main/a/apr/libapr1-dev_1.3.4-1_i386.deb
libapr1_1.3.4-1_i386.deb
  to pool/main/a/apr/libapr1_1.3.4-1_i386.deb



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 530286@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefan Fritsch <sf@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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 07 Jun 2009 21:15:32 +0200
Source: apr
Binary: libapr1 libapr1-dev libapr1-dbg
Architecture: source i386
Version: 1.3.4-1
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Stefan Fritsch <sf@debian.org>
Description: 
 libapr1    - The Apache Portable Runtime Library
 libapr1-dbg - The Apache Portable Runtime Library - Debugging Symbols
 libapr1-dev - The Apache Portable Runtime Library - Development Headers
Closes: 463399 530286
Changes: 
 apr (1.3.4-1) unstable; urgency=low
 .
   * New upstream version
   * Fix FTBFS on hurd (thanks to Marc Dequènes, closes: #530286)
     - define _GNU_SOURCE earlier
     - disable tests on hurd for now
     - Deactivate missing multicast support on Hurd (by removing
       HAVE_STRUCT_IPMREQ manually).
   * Omit spurious libs from apr-1-config --libs output (closes: #463399)
Checksums-Sha1: 
 f1eab890ef368815f3a97a9a0e504f1c94ddc5a3 1355 apr_1.3.4-1.dsc
 f949bb0491f9ae34af04fc8e70e325d5b0db1a86 1162824 apr_1.3.4.orig.tar.gz
 238060481e347e06b11590ca7a8e1d0861383e1b 16413 apr_1.3.4-1.diff.gz
 6a1b2c01eae7bb2bde5503fbbaa49032aff0f492 116194 libapr1_1.3.4-1_i386.deb
 6beab27d136653aabb10682a3a0b1f98bca869c2 871142 libapr1-dev_1.3.4-1_i386.deb
 709995e079c148f32892851677b52b4e0eab33d1 56672 libapr1-dbg_1.3.4-1_i386.deb
Checksums-Sha256: 
 c35dc3a8d032a997ffcead6641091d9261d49bdd399337156974f19829d903fa 1355 apr_1.3.4-1.dsc
 3ece725a4f7c57ab7570958a40e635d87bd9e8d3dce5d77f2f7776318e700e65 1162824 apr_1.3.4.orig.tar.gz
 c1dddbf46aa7e11b88e37768d653e22fe10dcce6d4247c8b7b7de4f2c83417cb 16413 apr_1.3.4-1.diff.gz
 7930df54b4a97a151d104474a83ac7ce770c502ff434ef6e38faba45ba131610 116194 libapr1_1.3.4-1_i386.deb
 a7da1f4e5d018816512fd73fb28d7f6f3d35ad9a81a28d062b689f91969a3fc4 871142 libapr1-dev_1.3.4-1_i386.deb
 f3b5b0c7088428798cca8476cc7e21fba832180c0bee35eb5e6612800eef9d2b 56672 libapr1-dbg_1.3.4-1_i386.deb
Files: 
 d8eb301faca6f5e7fa9b4b1583dd2a3b 1355 libs optional apr_1.3.4-1.dsc
 5aa20df99551190f1f7390297db99487 1162824 libs optional apr_1.3.4.orig.tar.gz
 2205cf3a4ea7df0a4079afb53a171022 16413 libs optional apr_1.3.4-1.diff.gz
 441eb129f9312aab04e47f65b27c0bd8 116194 libs optional libapr1_1.3.4-1_i386.deb
 c8eef2053509d3bafefb6b8223b7f8da 871142 libdevel optional libapr1-dev_1.3.4-1_i386.deb
 b8885ef25a210ac4835d06b97b50ccfc 56672 debug extra libapr1-dbg_1.3.4-1_i386.deb

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

iD8DBQFKLBPKbxelr8HyTqQRAh7eAKChV7nl+v4QZiXqvojxPf8CqJqugQCfRUZW
yPVY1FnOVTrmFnlj0TJUxCM=
=cBK9
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: