[xml/sgml-pkgs] Bug#688473: libxml2: FTBFS on hurd-i386: invalid usage of PTHREAD_ONCE_INIT

Pino Toscano pino at debian.org
Sat Sep 22 22:56:39 UTC 2012

Source: libxml2
Version: 2.9.0+dfsg1-1
Severity: important
Tags: fixed-upstream patch
User: debian-hurd at lists.debian.org
Usertags: hurd


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-a-thread-portability-problem.patch
Type: text/x-diff
Size: 1392 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20120923/273995bc/attachment.patch>

More information about the debian-xml-sgml-pkgs mailing list