Your message dated Sat, 12 Jan 2013 00:17:39 +0000
with message-id <e1tton5-0002df...@franck.debian.org>
and subject line Bug#697714: fixed in libxcrypt 1:2.4-3
has caused the Debian Bug report #697714,
regarding libxcrypt: fix ftbfs due to deprecated libc locking macros
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 ow...@bugs.debian.org
immediately.)


-- 
697714: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697714
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libxcrypt
Version: 1:2.4-1.1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the
past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

Dear Maintainer,

This patch fixes an Ubuntu ftbfs for libxcrypt.
Due to a newer version of glibc that includes patch 9463518d:
http://sourceware.org/git/?p=glibc.git;a=commit;h=9463518d0d314d7bd0160315e0ef30e15be08985
libxcrypt no longer compiles on Ubuntu.
This patch replaces the __libc_lock* functions with pthread locking
functions
that behave in the same manner.

  * Change __libc_lock to use pthread_mutex interfaces because
__libc_lock interfaces were deprecated by patch 9463518d in glibc.


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-35-lowlatency (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

diff -u libxcrypt-2.4/debian/changelog libxcrypt-2.4/debian/changelog
only in patch2:
unchanged:
--- libxcrypt-2.4.orig/src/crypt_util.c
+++ libxcrypt-2.4/src/crypt_util.c
@@ -29,8 +29,7 @@
 #endif
 #include <string.h>
 
-#include <bits/libc-lock.h>
-#define __libc_lock_t pthread_mutex_t
+#include <pthread.h>
 
 #ifndef STATIC
 #define STATIC static
@@ -264,7 +263,7 @@
  */
 struct crypt_data _ufc_foobar;
 
-__libc_lock_define_initialized (static, _ufc_tables_lock)
+static pthread_mutex_t _ufc_tables_lock = PTHREAD_MUTEX_INITIALIZER;
 
 #ifdef DEBUG
 
@@ -362,7 +361,7 @@
 #endif
 
   if(small_tables_initialized == 0) {
-    __libc_lock_lock (_ufc_tables_lock);
+    pthread_mutex_lock (&_ufc_tables_lock);
     if(small_tables_initialized)
       goto small_tables_done;
 
@@ -467,7 +466,7 @@
     }
     small_tables_initialized = 1;
 small_tables_done:
-    __libc_lock_unlock(_ufc_tables_lock);
+    pthread_mutex_unlock(&_ufc_tables_lock);
   }
 
   /*


--- End Message ---
--- Begin Message ---
Source: libxcrypt
Source-Version: 1:2.4-3

We believe that the bug you reported is fixed in the latest version of
libxcrypt, 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 697...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nicholas Breen <nbr...@debian.org> (supplier of updated libxcrypt 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 11 Jan 2013 14:16:32 -0800
Source: libxcrypt
Binary: libxcrypt-dev libxcrypt1
Architecture: source i386
Version: 1:2.4-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Nicholas Breen <nbr...@debian.org>
Description: 
 libxcrypt-dev - Development files for Crypt library
 libxcrypt1 - Crypt library for DES, MD5, and blowfish
Closes: 697714
Changes: 
 libxcrypt (1:2.4-3) unstable; urgency=low
 .
   * QA upload (see #679703).  Skipping 1:2.4-2 to avoid archive filename
     conflicts with prior 2.4-2 upload.
   * FTBFS fix: Change __libc_lock to use pthread_mutex interfaces, as
     __libc_lock is deprecated.  Patch courtesy of Chris J Arges.
     (Closes: #697714)
Checksums-Sha1: 
 4df4f203282e08e43f35df4a98fdfc1eb501e466 1697 libxcrypt_2.4-3.dsc
 d7c13179f6b438d507b5b698b2d8ea70867cf0c7 20083 libxcrypt_2.4-3.diff.gz
 84054cb5c29b5a7402ee66de178544df8501acfc 37388 libxcrypt-dev_2.4-3_i386.deb
 9197300bc6f5b7fb8c1f548845df55c337b47c6b 32708 libxcrypt1_2.4-3_i386.deb
Checksums-Sha256: 
 2987e1cdb52f9074c09ce76840357c3a05d1100068b3f2f3508490018f778ec2 1697 
libxcrypt_2.4-3.dsc
 dbaebce040bdbd803ad668b95ed2c8928355e74d7724e52b357270efadeed5ec 20083 
libxcrypt_2.4-3.diff.gz
 d8bf1125642b0842cbd9d28a55e13057cc013cb972f32155e68df79993aaedb3 37388 
libxcrypt-dev_2.4-3_i386.deb
 9170da077f2f1a1c59b449197d0ec969a45d5b00cdcec1caf61f56e3c8ad240b 32708 
libxcrypt1_2.4-3_i386.deb
Files: 
 77591e989de26834466ac9c946ca93fd 1697 libs optional libxcrypt_2.4-3.dsc
 8961726a14a8733baa67e406dfe3391e 20083 libs optional libxcrypt_2.4-3.diff.gz
 ada6514306761949391d45aa321a0761 37388 libdevel optional 
libxcrypt-dev_2.4-3_i386.deb
 daad829b4ec3458b63796fd17192fc24 32708 libs optional libxcrypt1_2.4-3_i386.deb

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

iQIVAwUBUPCbx+5K/WnsZRCPAQiaahAApKyBJ+1klu+W9d+s+88Fk9IPzSqaJ7/V
AYvb3J8uJzYmc43+fiqHGsfyp+NBNfV/tCuzjbz9vZhj+Oe66o2aTJM2RCCNYum4
mQvFFwpXfGD7/BEezzDKAe90RzM9D5kFMc+Moa7TjuFoHrwEG8vdyMUCPL9thUcY
M+n8RdE20sGPoqsx7b6KOe70rYUy6za8+p8llH1TqyWqnBVEi9uMz+jG/1O4vHFs
Y+5DKL8d1mRPKbOhASCdJnZp+Jtrv8Ixfxvc3IohdC37mD9n5wQgZnH+RqRwH00e
D3BMRBj/Ti34ZDnxG5H5wWypPJd/gVHh3jhMhk8GBdSFzS9FC2mcDVd8Qt7uyCIt
76QJWizhOVagPWljXhUsEhVDLRtMLcvh6d+hX7eTeQN0/ssDa9AAcjQGe6N2H0R0
3TsIAIXJP6dLv33rOYMxPIaa/WTE5Pq/GRp554U4bXTEKYZsA70eeYIsMmeCPI3Z
AGh+qOmOAqu8VSZUbWcGhOxa2H2RJr6wsRNrfPmN2IbO2x4lxPk1UCWC7hn61mlH
RV5ENwQtstxEfrocUbPW11pmKolfbh0/PLX73Eri7DiGSWy+oRhP2yZKSJgisou2
7MoDW9vfNccq7T8zEurW5h0StTxyMJoytO29WqjvZBUnM+sLcH2rFFx83JohqW+7
w0MLsXR4GPc=
=Y5br
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to