[Pkg-utopia-maintainers] Bug#552386: hal: FTBFS on hurd-i386: unconditional usage of PATH_MAX

Pino Toscano pino at kde.org
Sun Oct 25 21:28:08 UTC 2009


Package: hal
Version: 0.5.13-3
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hi,

Hal currently FTBFS on GNU/Hurd because of unconditional PATH_MAX usage.
Also, it has Linux-only dependencies for the hal binary, and a small problem
in the initd script that prevents the hald startup via init.

The attached patch fixes all the above issues:
- tools/hal-disable-polling.c: fixed usage of realpath()+PATH_PATH into a
  growing buffer loop
- debian/control: disabled Linux-only depdendencies for hurd-i386, just like
  it was done for kfreebsd-*
- debian/hal.init: Hurd's proc translator does not provide /proc/$PID/root
  files, so the check erroneously fails and the scripts exits

Thanks,
-- 
Pino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 60_hurd.patch
Type: text/x-c
Size: 2852 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20091025/5061ab3b/attachment.bin>


More information about the Pkg-utopia-maintainers mailing list