Your message dated Thu, 06 Jul 2017 17:20:19 +0000
with message-id <[email protected]>
and subject line Bug#867120: fixed in findutils 4.6.0+git+20170606-3
has caused the Debian Bug report #867120,
regarding findutils: 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 [email protected]
immediately.)


-- 
867120: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867120
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: findutils
Version: 4.6.0+git+20170606-2
Severity: important
Tags: patch, fixed-upstream
User: [email protected]
Usertags: hurd

Hi,

finditils currently does not build from source on GNU/Hurd since Debian
version 4.6.0+git+20161106-2. This is due to that 
HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER is not defined by configure and then 
assumes that the function pthread_rwlockattr_setkind_np()
is available. On GNU/Hurd it is not. The Hurd libpthread is built from
the sources in glibc/libpthread/*, not in glibc/nptl.

The problem is due to the gnulib version used in the findutils build.
The attached (modified) upstream gnulib patch fixes the build problems
by using the fallback implementation of rwlocks on systems without
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP. This patch is a
modified version of the upstream gnulib patch:
gnulib.git-4084b3a1094372b960ce4a97634e08f4538c8bdd.patch
where the ChangeLog entry of the patch is slightly modified.

See more about posix-2008 pthread_rwlock_rdlock at
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html

This regression has already been fixed in upstream gnulib as written
above. This regression is a known issue for both grep (fixed already) and wget 
(#858995)

Thanks!
From 4084b3a1094372b960ce4a97634e08f4538c8bdd Mon Sep 17 00:00:00 2001
From: Bruno Haible <[email protected]>
Date: Tue, 21 Feb 2017 17:07:27 +0100
Subject: [PATCH] lock tests: Fix build failure on GNU/Hurd (regression from
 2017-01-05).

Reported by Rene Saavedra <[email protected]> in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25821 via Paul Eggert.
* lib/glthread/lock.h: On glibc systems without
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, use the fallback
implementation of rwlocks.
* lib/glthread/lock.c: Likewise.
---
 ChangeLog           | 10 ++++++++++
 lib/glthread/lock.c |  2 +-
 lib/glthread/lock.h |  2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)

Index: findutils-4.6.0+git+20170606/ChangeLog
===================================================================
--- findutils-4.6.0+git+20170606.orig/ChangeLog
+++ findutils-4.6.0+git+20170606/ChangeLog
@@ -54,6 +54,16 @@
 
 	Reported by Dan Jacobson <[email protected]>.
 
+2017-02-21  Bruno Haible  <[email protected]>
+
+	lock tests: Fix build failure on GNU/Hurd (regression from 2017-01-05).
+	Reported by Rene Saavedra <[email protected]> in
+	https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25821 via Paul Eggert.
+	* lib/glthread/lock.h: On glibc systems without
+	PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, use the fallback
+	implementation of rwlocks.
+	* lib/glthread/lock.c: Likewise.
+
 2017-02-20  Bernhard Voelker  <[email protected]>
 
 	find: fix -printf '%h' for arguments with one or more trailing slashes
Index: findutils-4.6.0+git+20170606/gl/lib/glthread/lock.c
===================================================================
--- findutils-4.6.0+git+20170606.orig/gl/lib/glthread/lock.c
+++ findutils-4.6.0+git+20170606/gl/lib/glthread/lock.c
@@ -30,7 +30,7 @@
 
 /* ------------------------- gl_rwlock_t datatype ------------------------- */
 
-# if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (__GNU_LIBRARY__ > 1))
+# if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1)))
 
 #  ifdef PTHREAD_RWLOCK_INITIALIZER
 
Index: findutils-4.6.0+git+20170606/gl/lib/glthread/lock.h
===================================================================
--- findutils-4.6.0+git+20170606.orig/gl/lib/glthread/lock.h
+++ findutils-4.6.0+git+20170606/gl/lib/glthread/lock.h
@@ -179,7 +179,7 @@ typedef pthread_mutex_t gl_lock_t;
 
 /* ------------------------- gl_rwlock_t datatype ------------------------- */
 
-# if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (__GNU_LIBRARY__ > 1))
+# if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1)))
 
 #  ifdef PTHREAD_RWLOCK_INITIALIZER
 

--- End Message ---
--- Begin Message ---
Source: findutils
Source-Version: 4.6.0+git+20170606-3

We believe that the bug you reported is fixed in the latest version of
findutils, 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.
Andreas Metzler <[email protected]> (supplier of updated findutils 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: SHA512

Format: 1.8
Date: Thu, 06 Jul 2017 18:41:24 +0200
Source: findutils
Binary: findutils locate
Architecture: source
Version: 4.6.0+git+20170606-3
Distribution: unstable
Urgency: medium
Maintainer: Andreas Metzler <[email protected]>
Changed-By: Andreas Metzler <[email protected]>
Closes: 867120
Description: 
 findutils  - utilities for finding files--find, xargs
 locate     - maintain and query an index of a directory tree
Changes:
 findutils (4.6.0+git+20170606-3) unstable; urgency=medium
 .
   * 20_Lock-tests-Fix-build-failure-on-GNU-Hurd-regression.patch from upstream
     gnulib (paths adjusted) to fix FTBFS on GNU/Hurd. (Thanks, Svante Signell
     for report and ready to use patch) Closes: #867120
Checksums-Sha1: 
 7eb49e3f92fb26e6750702fb09fcb1b7f0282962 2220 
findutils_4.6.0+git+20170606-3.dsc
 316d41a82e607fd2c126e0f87677bbd7c1fea949 27052 
findutils_4.6.0+git+20170606-3.debian.tar.xz
Checksums-Sha256: 
 b66f2dddfca6de0b05d18c0a0f9a36d7fc24ef87f2f1926a6df9bde914f390cc 2220 
findutils_4.6.0+git+20170606-3.dsc
 ae46597a3f6ec2231adb0e6466d88f63acff4892b087980ff4c4a8e460a574fd 27052 
findutils_4.6.0+git+20170606-3.debian.tar.xz
Files: 
 2975ff60c44184d3d01cdf538ea8b181 2220 utils required 
findutils_4.6.0+git+20170606-3.dsc
 ef127b546f19cee3ac6a2924f4a326fc 27052 utils required 
findutils_4.6.0+git+20170606-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAlleavUACgkQpU8BhUOC
FIR3VQ//Y9xonwkfEIV7emk04cGOQKBjAZDajAbDtwb5SF29Cs8dseSBsr6W7LLS
2xIBEfcbVRZDnU1RuQS5c91x0f+MekYIjQ5HVQt2hveSLykJZucgr82VUG6XMjwD
bDACD4zpfsFDXmc4INXrEunDOHYpJ22m+UMnsn75alAR1YOhob1Izms5gqghM7se
1OlsXzWDysic1vJsSBlxv3gYyLBzyAaUaCb1dNxAG1bDC7s83YHoXuC6WO5nQCgH
xj7nKIN8syWkL6Bo5Axo40hzcrXsexPD+fl0Imp5egkcUoW55Sy+N+htP1cnkLtv
Do37XgV+0CW5dQ47vUiAgWrkSqkZ6yDkOk9naW80B2RHTsEgMFWWF4zvbG/9VTZP
YMSCHo8vpOra8IxW5aK3Z28wcVWoSm826f5Bnu9ZlvJAX92LUzJDdhf+8WowRfKA
HoeG6cZiN7uaQ7+DcGwJy2pIU7UftT8Emkf2Qu3QZ1aO2Q2S35MFQz9eajFKNI4b
3CMf3TROpYzDDc6HAcZLTggALe27GlACO5g1As3fERa2eVnqzMvA+b6UcU5/Op8P
Ig55q9Oby9cEqi99puw6eiW1s40ypRI2E+M+ollBToxqQ4z+CBM1KSyaBc4dybbl
IQ5zgQlsyFRV9hiQOnqqx8HWCdza3yfe/DRIVmLHA+FHLnajZQY=
=PZxo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to