Your message dated Sun, 12 Aug 2007 22:21:49 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#389260: fixed in icu 3.8~d01-1
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: icu
Version: 3.6-1
Severity: wishlist
Tags: patch
The ICU shared libraries are all linked against libpthread, but the only
pthread functions ICU actually uses are:
libicuuc.so: U pthread_mutex_destroy
libicuuc.so: U pthread_mutex_init
libicuuc.so: U pthread_mutex_lock
libicuuc.so: U pthread_mutex_unlock
On a glibc-based system, these functions are all in libc, so the ICU
libraries can safely be built without linking against libpthread.
It is desirable to avoid libpthread, because glibc attempts to ensure
that single-threaded programs are not subject to the overhead of thread
safety, and it detects multi-threadedness by checking whether libpthread
is loaded at runtime. Thus, any single-threaded program that uses ICU
is currently subject to unnecessary overhead.
It's possible to avoid linking ICU against libpthread by a clever trick
which does not involve any modifications to the upstream source, and
this is what I have done in the appended patch. It applies relative
to the top level of the directory you get by unpacking the source deb
(*not* to build-tree/).
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8)
-- patch:
--- debian/rules 2006-09-24 11:48:05.000000000 -0700
+++ debian/rules 2006-09-24 11:14:32.000000000 -0700
@@ -14,7 +14,8 @@
awk '/Version:/ {print $$2}' | cut -d- -f 1)
DEB_TAR_SRCDIR = icu/source
-DEB_CONFIGURE_USER_FLAGS = --disable-samples --enable-static
+DEB_CONFIGURE_USER_FLAGS = --disable-samples --enable-static \
+ CONFIG_SITE=../../../config.site
DEB_COMPRESS_EXCLUDE = html examples
DEB_INSTALL_EXAMPLES_libicu36-dev = \
build-tree/$(DEB_TAR_SRCDIR)/samples/*
--- config.site 1969-12-31 16:00:00.000000000 -0700
+++ config.site 2006-09-24 11:47:28.000000000 -0700
@@ -0,0 +1,7 @@
+# These trick the configure script into not linking anything with libpthread,
+# while still enabling thread safety (it goes on to check for
+# pthread_mutex_lock in libc, which is enough for what it actually needs).
+# Should work correctly on all glibc-based systems.
+ac_cv_lib_pthread_pthread_attr_init=no
+ac_cv_search_pthread_mutex_destroy=no
+ac_cv_lib_pthread_pthread_mutex_init=no
--- End Message ---
--- Begin Message ---
Source: icu
Source-Version: 3.8~d01-1
We believe that the bug you reported is fixed in the latest version of
icu, which is due to be installed in the Debian FTP archive:
icu-doc_3.8~d01-1_all.deb
to pool/main/i/icu/icu-doc_3.8~d01-1_all.deb
icu_3.8~d01-1.diff.gz
to pool/main/i/icu/icu_3.8~d01-1.diff.gz
icu_3.8~d01-1.dsc
to pool/main/i/icu/icu_3.8~d01-1.dsc
icu_3.8~d01.orig.tar.gz
to pool/main/i/icu/icu_3.8~d01.orig.tar.gz
libicu-dev_3.8~d01-1_i386.deb
to pool/main/i/icu/libicu-dev_3.8~d01-1_i386.deb
libicu38_3.8~d01-1_i386.deb
to pool/main/i/icu/libicu38_3.8~d01-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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jay Berkenbilt <[EMAIL PROTECTED]> (supplier of updated icu 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.7
Date: Sat, 04 Aug 2007 11:04:49 -0400
Source: icu
Binary: libicu38 libicu-dev icu-doc
Architecture: source all i386
Version: 3.8~d01-1
Distribution: experimental
Urgency: low
Maintainer: Jay Berkenbilt <[EMAIL PROTECTED]>
Changed-By: Jay Berkenbilt <[EMAIL PROTECTED]>
Description:
icu-doc - API documentation for ICU classes and functions
libicu-dev - International Components for Unicode (development files)
libicu38 - International Components for Unicode (libraries)
Closes: 389260
Changes:
icu (3.8~d01-1) experimental; urgency=low
.
* New upstream release
* Configure with weak reference to thread library. (Closes: #389260)
* The development package no longer has the library soname in its name.
It is now just libicu-dev.
Files:
ccb6ca355c0f15c7b1a6fe4bbf425746 592 libs optional icu_3.8~d01-1.dsc
32466bb0ada7cfedc8edf82391411363 11870704 libs optional icu_3.8~d01.orig.tar.gz
84206627036002307291746cda6c49e7 7057 libs optional icu_3.8~d01-1.diff.gz
01e37b269965c1c4479e39156adae5de 3881162 doc optional icu-doc_3.8~d01-1_all.deb
341d29c3ae89d9302bad1cd9cf56f0ff 5840334 libs optional
libicu38_3.8~d01-1_i386.deb
a9db68c8ab3c6a4655be6ce3196a5930 6883128 libdevel optional
libicu-dev_3.8~d01-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGtJ9/EBVk6taI4KcRArATAJ9rfAVUQAQRu1F7L0iMrx4vmt7igQCg4VVn
7mPlMArYlV9WcwYZf4W/8/U=
=dtxM
-----END PGP SIGNATURE-----
--- End Message ---