[Pkg-cups-devel] Bug#604930: cups-pdf: please compile with large file support

Lionel Elie Mamane lionel at mamane.lu
Thu Nov 25 13:52:23 UTC 2010


Package: cups-pdf
Version: 2.5.0-16
Severity: normal
Tags: patch

Please compile cups-pdf with Large File Support enabled, i.e. add the
following two lines to debian/rules:

CFLAGS+=$(shell getconf LFS_CFLAGS)
LDFLAGS+=$(shell getconf LFS_LDFLAGS)

just after the line "CC=gcc".

Thanks.

This avoids that in some conditions, the stat() call that cups-pdf
uses to check whether its spool / destination directory exists fails
with EOVERFLOW. In my case, the overflow was in the st_ino field (32
bit userland on a 64 bit kernel, and the spool / destination directory
is a CIFS mount of a network share served by a Windows server).

The admin-visible problem is that cups-pdf fails with:

 [ERROR] failed to create directory (/var/spool/cups-pdf)
 [ERROR] failed to create spool directory (/var/spool/cups-pdf/SPOOL)


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-cups-devel mailing list