Bug#735162: xml-security-c: FTBFS on hurd-i386

Svante Signell svante.signell at gmail.com
Mon Jan 13 11:46:05 UTC 2014


Source: xml-security-c
Version: 1.7.2-2
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hi,

xml-security-c currently FTBFS on GNU/Hurd due to PATH_MAX issues, see
https://buildd.debian.org/status/fetch.php?pkg=xml-security-c&arch=hurd-i386&ver=1.7.2-2&stamp=1389227253

The attached patch fixes this problem by adding a check in configure.ac
for a working path = getcwd(NULL, 0) allocating the string length
required dynamically, and freed later on. Similarly the string baseURI
is malloced and freed. As a fallback, when this is not supported, the
code falls back to the old solution using PATH_MAX, assuming it is
defined.

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getcwd_dyn.patch
Type: text/x-patch
Size: 4758 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shibboleth-devel/attachments/20140113/8241ffb2/attachment.bin>


More information about the Pkg-shibboleth-devel mailing list