[pkg-wml] Bug#653362: mp4h: FTBFS on hurd-i386

Svante Signell svante.signell at telia.com
Tue Dec 27 13:45:58 UTC 2011

Source: mp4h
Version: 1.3.1-6
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd


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...
Name: fix_FTBFS4Hurd.diff
Type: text/x-patch
Size: 1776 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-wml-maintainers/attachments/20111227/84ffa051/attachment.bin>

More information about the pkg-wml-maintainers mailing list