[pkg-wml] Bug#653362: mp4h: FTBFS on hurd-i386
svante.signell at telia.com
Tue Dec 27 13:45:58 UTC 2011
User: debian-hurd at lists.debian.org
mp4h FTBFS on GNU/Hurd, see
This is due to that MATPATHLEN is set to 256 in builtin.h which is far
too short for realpath usage. On GNU/HUrd PATH_MAX is not defined, while
_POSIX_PATH_MAX is and is set to 256 an that constant is used.
During the build of documentation mp4h.html from mp4h.mp4h the end of
the environment vector __envron is overwritten/truncated, removing the
NULL termination of that vector and causing a segfault. The attached
patch fixes these problems by dynamically allocating the resolved
pathname using the canonicalize_file_name() function if available. The
availability is checked in configure.ac. The patch should be placed last
in the series to apply properly.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1776 bytes
Desc: not available
More information about the pkg-wml-maintainers