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

Axel Beckert abe at debian.org
Tue Dec 27 17:09:13 UTC 2011

Hi Svante

Svante Signell wrote:
> mp4h FTBFS on GNU/Hurd, see
> https://buildd.debian.org/status/fetch.php?pkg=mp4h&arch=hurd-i386&ver=1.3.1-6&stamp=1324166240

Yeah, I know. Talked already with Samuel Thibault about it on IRC.
Planned to have a look at it with his hints between the years.

> 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.

Thanks for the investigation and especially for the patch!

		Regards, Axel
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5

More information about the pkg-wml-maintainers mailing list