On Wed, Jul 27, 2005 at 01:41:01PM +0800, Steven wrote:
> Package: sysklogd
> Version: 1.4.1-17
> Severity: grave
> Justification: causes non-serious data loss
> After upgrading our main syslog server to sarge, I found that some log files were not updating. This was traced to the fact that large filesystem support was not enabled properly. I applied the following patch to the debian/rules file, and recompiled the package, and it works fine now.
This patch is incorrect. $(getconf LFS_CFLAGS) already evaluates to
-D_FILE_OFFSET_BITS=64 on architectures where it's required. On
architectures where it's not required, this define is known to have
incorrect side effects for some functions.
On Wed, Jul 27, 2005 at 01:41:01PM +0800, Steven wrote:
> Package: sysklogd
> Version: 1.4.1-17
> Severity: grave
> Justification: causes non-serious data loss
> After upgrading our main syslog server to sarge, I found that some log files were not updating. This was traced to the fact that large filesystem support was not enabled properly. I applied the following patch to the debian/rules file, and recompiled the package, and it works fine now.
> --- debian/rules.orig 2005-07-27 13:29:59.000000000 +0800 (DEB_BUILD_ OPTIONS) )) SOURCE -D_FILE_ OFFSET_ BITS=64 $(DEB_BUILD_ OPTIONS) ))
> +++ debian/rules 2005-07-27 13:24:30.000000000 +0800
> @@ -30,7 +30,7 @@
> ifneq (,$(findstring debug,$
> CFLAGS = -g -O2 -Wall $(getconf LFS_CFLAGS) -D_LARGEFILE_SOURCE
> else
> -CFLAGS = -O2 -Wall $(getconf LFS_CFLAGS) -D_LARGEFILE_SOURCE
> +CFLAGS = -O2 -Wall $(getconf LFS_CFLAGS) -D_LARGEFILE64_
> endif
> ifeq (,$(findstring nostrip,
> STRIP = -s
This patch is incorrect. $(getconf LFS_CFLAGS) already evaluates to OFFSET_ BITS=64 on architectures where it's required. On
-D_FILE_
architectures where it's not required, this define is known to have
incorrect side effects for some functions.
--
Steve Langasek
postmodern programmer