Package: rsyslog
Tags: ftbfs, hppa, patch
Version: 8.2302.0-1

rsyslog randomly fails to build from source on the hppa platform due to
some testcases randomly failing.
I've tracked down various issues, partly related to how the debian
buildd server is setup on hppa, but the main problem is, that
rsyslog isn't built with large file support, which allows 32-bit platforms
(like hppa) to access files on the filesystem beyond the 2GB limit.
This affects all "stat()" and "readdir()" glibc calls in the source.

If rsyslog is built with LFS enabled (when _FILE_OFFSET_BITS=64  
_LARGEFILE_SOURCE are defined for gcc),
the testcases succeed.

So, please enable LFS for rsyslog in the next upload.
The easiest way to do that in a compatible way is to simply
add "future=+lfs" to DEB_BUILD_MAINT_OPTIONS
in the "debian/rules" file, like this:

export DEB_BUILD_MAINT_OPTIONS = hardening=+all future=+lfs

This should fix all other 32-bit platforms as well and has no effect
on 64-bit platforms.

Thanks,
Helge

Reply via email to