Your message dated Sun, 23 Sep 2012 12:17:35 +0000
with message-id <[email protected]>
and subject line Bug#688473: fixed in libxml2 2.9.0+dfsg1-2
has caused the Debian Bug report #688473,
regarding libxml2: FTBFS on hurd-i386: invalid usage of PTHREAD_ONCE_INIT
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.)


-- 
688473: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688473
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libxml2
Version: 2.9.0+dfsg1-1
Severity: important
Tags: fixed-upstream patch
User: [email protected]
Usertags: hurd

Hi,

libxml2 2.9.0+dfsg1-1 fails to compile on GNU/Hurd[1].

The problem is that PTHREAD_ONCE_INIT is used outside a global scope,
while it is usable only in global scopes.
It has been already fixed upstream with 3f6cfbd[2], and indeed applying
that patch makes libxml2 compile again on GNU/Hurd.
Can you please backport it? (Attached.)

[1] 
https://buildd.debian.org/status/fetch.php?pkg=libxml2&arch=hurd-i386&ver=2.9.0%2Bdfsg1-1&stamp=1348334045
[2] 3f6cfbd1d38d0634a2ddcb9a0a13e1b5a2195a5e

Thanks,
-- 
Pino
>From 3f6cfbd1d38d0634a2ddcb9a0a13e1b5a2195a5e Mon Sep 17 00:00:00 2001
From: Friedrich Haubensak <[email protected]>
Date: Wed, 12 Sep 2012 17:34:53 +0200
Subject: [PATCH] Fix a thread portability problem

cannot compile libxml2-2.9.0 using studio 12.1 compiler on solaris 10

I.M.O. structure initializer (as PTHREAD_ONCE_INIT) cannot be used in
a structure assignment anyway
---
 threads.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/threads.c b/threads.c
index f206149..7e85a26 100644
--- a/threads.c
+++ b/threads.c
@@ -146,6 +146,7 @@ struct _xmlRMutex {
 static pthread_key_t globalkey;
 static pthread_t mainthread;
 static pthread_once_t once_control = PTHREAD_ONCE_INIT;
+static pthread_once_t once_control_init = PTHREAD_ONCE_INIT;
 static pthread_mutex_t global_init_lock = PTHREAD_MUTEX_INITIALIZER;
 #elif defined HAVE_WIN32_THREADS
 #if defined(HAVE_COMPILER_TLS)
@@ -915,7 +916,7 @@ xmlCleanupThreads(void)
 #ifdef HAVE_PTHREAD_H
     if ((libxml_is_threaded)  && (pthread_key_delete != NULL))
         pthread_key_delete(globalkey);
-    once_control = PTHREAD_ONCE_INIT;
+    once_control = once_control_init;
 #elif defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL))
     if (globalkey != TLS_OUT_OF_INDEXES) {
         xmlGlobalStateCleanupHelperParams *p;
-- 
1.7.10.4


--- End Message ---
--- Begin Message ---
Source: libxml2
Source-Version: 2.9.0+dfsg1-2

We believe that the bug you reported is fixed in the latest version of
libxml2, 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.
Aron Xu <[email protected]> (supplier of updated libxml2 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.8
Date: Sun, 23 Sep 2012 16:50:12 +0800
Source: libxml2
Binary: libxml2 libxml2-utils libxml2-utils-dbg libxml2-dev libxml2-dbg 
libxml2-doc python-libxml2 python-libxml2-dbg
Architecture: source amd64 all
Version: 2.9.0+dfsg1-2
Distribution: experimental
Urgency: low
Maintainer: Debian XML/SGML Group <[email protected]>
Changed-By: Aron Xu <[email protected]>
Description: 
 libxml2    - GNOME XML library
 libxml2-dbg - Debugging symbols for the GNOME XML library
 libxml2-dev - Development files for the GNOME XML library
 libxml2-doc - Documentation for the GNOME XML library
 libxml2-utils - XML utilities
 libxml2-utils-dbg - XML utilities (debug extension)
 python-libxml2 - Python bindings for the GNOME XML library
 python-libxml2-dbg - Python bindings for the GNOME XML library (debug 
extension)
Closes: 688473
Changes: 
 libxml2 (2.9.0+dfsg1-2) experimental; urgency=low
 .
   * Fix a thread portability problem by cherry-picking upstream
     patch (Closes: #688473).
Checksums-Sha1: 
 cd592726cf9a9252b393b7a56c31cf09432f7854 2137 libxml2_2.9.0+dfsg1-2.dsc
 1110a26f7794879ff8027a32430a379cf7dfc701 24838 
libxml2_2.9.0+dfsg1-2.debian.tar.gz
 4b890c160cd0486e5cadbbfad10ca222eafbb35a 915460 libxml2_2.9.0+dfsg1-2_amd64.deb
 48c3ccc7ed580a8a00771a90b613562182404f76 96278 
libxml2-utils_2.9.0+dfsg1-2_amd64.deb
 cabb2c511ee51c3490c23b2efbe74f979a6b61ec 126604 
libxml2-utils-dbg_2.9.0+dfsg1-2_amd64.deb
 276b13eff8dd78d8cec704a0ab2559eca9f36b1c 913862 
libxml2-dev_2.9.0+dfsg1-2_amd64.deb
 86fa2eb0da85633c33f016ae2f70eafa3c5a0b91 1420474 
libxml2-dbg_2.9.0+dfsg1-2_amd64.deb
 7e11698c9da0dc9e3288ebf381af631d4ee32869 1371112 
libxml2-doc_2.9.0+dfsg1-2_all.deb
 af75a5f983c75e3ec92f1fd97c65988ce643c2d6 344448 
python-libxml2_2.9.0+dfsg1-2_amd64.deb
 bb72b4af5bb6991692d05067d9c6d22361dbd3eb 726944 
python-libxml2-dbg_2.9.0+dfsg1-2_amd64.deb
Checksums-Sha256: 
 37fcd4ac18f3e72100b2fdfbff002b6dd47e387ec98cba5e4e162e630800bc5f 2137 
libxml2_2.9.0+dfsg1-2.dsc
 7dd33b22bc64a96a498a011860b06a6ff7990ca8ed9dcae9d6648fa5ed465629 24838 
libxml2_2.9.0+dfsg1-2.debian.tar.gz
 33b69302ee513d4b393e88f3a5105fe521cec559377ff29000b7535a6eeb622f 915460 
libxml2_2.9.0+dfsg1-2_amd64.deb
 4621b40aec9889676aa1267e46bb322c8b677c67db63c300c3575e85ecf4707c 96278 
libxml2-utils_2.9.0+dfsg1-2_amd64.deb
 3463206c768312d536e8166d1e224041a4eeea243615640ea519ef0b937b45a1 126604 
libxml2-utils-dbg_2.9.0+dfsg1-2_amd64.deb
 ee6209c5eed912a663a5fd64f99c904c6a27b7642575878ff5e82e4cb144dbff 913862 
libxml2-dev_2.9.0+dfsg1-2_amd64.deb
 fd778e513088ea9c130375c54d0b879bcba4b0aabc4022c2ff749a25a2f8ba79 1420474 
libxml2-dbg_2.9.0+dfsg1-2_amd64.deb
 3373cd04e9a564a78af7958004f6e60d8ce99cad9ba110e76ec6c92f2597bd81 1371112 
libxml2-doc_2.9.0+dfsg1-2_all.deb
 03c88f03898830c01d86c590988662ad3d708b5e928209834b1d994bc79ce2e6 344448 
python-libxml2_2.9.0+dfsg1-2_amd64.deb
 25cd42ef2a122eb95d4a6dd4f1c5d35d3b7daae55e24a9b0c289a993f13cd113 726944 
python-libxml2-dbg_2.9.0+dfsg1-2_amd64.deb
Files: 
 b90f7702ec9f41094a2ddcc7ff2ac931 2137 libs optional libxml2_2.9.0+dfsg1-2.dsc
 8c8563bd05e57435083c9a5500da76fe 24838 libs optional 
libxml2_2.9.0+dfsg1-2.debian.tar.gz
 41432f56ffa1769ce186d971f55b8749 915460 libs standard 
libxml2_2.9.0+dfsg1-2_amd64.deb
 4a0390bda3d9e6391575314c1c2e8ec8 96278 text optional 
libxml2-utils_2.9.0+dfsg1-2_amd64.deb
 0adb5f151e9d9f8d1e296366598eb150 126604 debug extra 
libxml2-utils-dbg_2.9.0+dfsg1-2_amd64.deb
 da766e436d391f06bfdd21496ad5b94c 913862 libdevel optional 
libxml2-dev_2.9.0+dfsg1-2_amd64.deb
 26abbc9fc6af6215b4d9254fca05f17d 1420474 debug extra 
libxml2-dbg_2.9.0+dfsg1-2_amd64.deb
 4d5cd7502f5871db9eebe49c5e78f075 1371112 doc optional 
libxml2-doc_2.9.0+dfsg1-2_all.deb
 f057d978d60b2ee080bb01553afe93e4 344448 python optional 
python-libxml2_2.9.0+dfsg1-2_amd64.deb
 0e8011239713f625ff387693d77f2fc1 726944 debug extra 
python-libxml2-dbg_2.9.0+dfsg1-2_amd64.deb

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

iQEcBAEBAgAGBQJQXvrOAAoJEIAhAkTu07wNU8EH/jDd7gVEBVRT11T17o67y/bY
BvYthV9CowXCS1V7NCNbyNXYuLBaxcHw5B2sOirz092luzMZUHoGyG0ILz9vdRSY
AKjCOI4vjW/H5/qcvSvPIrnmbDmqK3Lcz1xZ/ssbVxRgd+YMM8a9XUl/uKAQ0GQy
VY2fisEorWEeO4OMTVyvyzqq17DdpuhnvPpemkmVagmR9/Ql3gvJ3VMxgN1Db2D9
11YsihY6zSH7rcOrYZEtIyhymSPTvkZro9KCftkfLOhDsJ6oUF8njiWcQjOkp48z
lvNIcrsVwnylsXZwtygsP5tpHep1xq52cegdxlmUnrqTD5Lzbo6rWktO5ZxNYo4=
=TYQG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to