[Pkg-cups-devel] Bug#372586: cupsys: passes wrong command line
arguments to backend
Julien BLACHE
jblache at debian.org
Sat Jun 10 12:39:55 UTC 2006
Package: cupsys
Version: 1.2.1-2
Severity: grave
Justification: renders package unusable
Hi,
Either CUPS 1.2 passes wrong command line arguments to the backends, or the
parallel backend bundled with CUPS 1.2 is buggy in some way.
Either way, I am unable to print using the parallel backend; the backend
returns a failure code.
Trying to print a test page, here's what happens:
--- backend environment:
declare -x CHARSET="utf-8"
declare -x CONTENT_TYPE="application/postscript"
declare -x CUPS_CACHEDIR="/var/cache/cups"
declare -x CUPS_DATADIR="/usr/share/cups"
declare -x CUPS_DOCROOT="/usr/share/cups/doc-root"
declare -x CUPS_ENCRYPTION="IfRequested"
declare -x CUPS_FONTPATH="/usr/share/cups/fonts"
declare -x CUPS_REQUESTROOT="/var/spool/cups"
declare -x CUPS_SERVER="localhost"
declare -x CUPS_SERVERBIN="/usr/lib/cups"
declare -x CUPS_SERVERROOT="/etc/cups"
declare -x CUPS_STATEDIR="/var/run/cups"
declare -x DEVICE_URI="parallel:/dev/lp0"
declare -x FINAL_CONTENT_TYPE="printer/hpl3"
declare -x IPP_PORT="631"
declare -x LANG="en"
declare -x OLDPWD
declare -x PATH="/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
declare -x PPD="/etc/cups/ppd/hpl3.ppd"
declare -x PRINTER="hpl3"
declare -x PWD="/"
declare -x RIP_MAX_CACHE="8m"
declare -x SERVER_ADMIN="root at arrakis.technologeek.org"
declare -x SHLVL="1"
declare -x SOFTWARE="CUPS/1.2.1"
declare -x TMPDIR="/var/spool/cups/tmp"
declare -x TZ="Europe/Paris"
declare -x USER="root"
--- backend command line:
329 julien "Test Page" 1 job-uuid=urn:uuid:e318d39c-b113-3bde-55d0-ca35e4fe5327
--- strace -eopen output:
open("/etc/ld.so.cache", O_RDONLY) = 4
open("/usr/lib/libcups.so.2", O_RDONLY) = 4
open("/usr/lib/libgnutls.so.13", O_RDONLY) = 4
open("/lib/tls/libpthread.so.0", O_RDONLY) = 4
open("/lib/tls/libcrypt.so.1", O_RDONLY) = 4
open("/lib/tls/libc.so.6", O_RDONLY) = 4
open("/usr/lib/libz.so.1", O_RDONLY) = 4
open("/usr/lib/libgcrypt.so.11", O_RDONLY) = 4
open("/usr/lib/libgpg-error.so.0", O_RDONLY) = 4
open("/lib/tls/libnsl.so.1", O_RDONLY) = 4
open("job-uuid=urn:uuid:e318d39c-b113-3bde-55d0-ca35e4fe5327", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
Executing the parallel backend:
% ./parallel --help
Usage: parallel job-id user title copies options [file]
If this is not Debian-specific, then I really wonder how much QA is done on
CUPS releases upstream...
I tried recreating a printer from scratch, same result.
The parallel backend works OK when run by hand with the right command line
arguments (surprisingly, sigh.).
JB.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages cupsys depends on:
ii adduser 3.87 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.1 Debian configuration management sy
ii gs-esp 8.15.1.dfsg.1-2 The Ghostscript PostScript interpr
ii libacl1 2.2.37-1 Access control list shared library
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libcupsimage2 1.2.1-2 Common UNIX Printing System(tm) -
ii libcupsys2 1.2.1-2 Common UNIX Printing System(tm) -
ii libdbus-1-2 0.61-6 simple interprocess messaging syst
ii libgnutls13 1.3.5-1.1 the GNU TLS library - runtime libr
ii libldap2 2.1.30-13 OpenLDAP libraries
ii libpam0g 0.79-3.1 Pluggable Authentication Modules l
ii libpaper1 1.1.18 Library for handling paper charact
ii libslp1 1.2.1-5 OpenSLP libraries
ii lsb-base 3.1-10 Linux Standard Base 3.1 init scrip
ii patch 2.5.9-4 Apply a diff file to an original
ii perl-modules 5.8.8-5 Core Perl modules
ii procps 1:3.2.6-2.2 /proc file system utilities
ii xpdf-utils [poppler-util 3.01-8 Portable Document Format (PDF) sui
ii zlib1g 1:1.2.3-11 compression library - runtime
Versions of packages cupsys recommends:
ii cupsys-client 1.2.1-2 Common UNIX Printing System(tm) -
ii foomatic-filters 3.0.2-20060530-1 linuxprinting.org printer support
pn smbclient <none> (no description available)
-- debconf information:
cupsys/raw-print: true
cupsys/browse: false
cupsys/ports: *:631
* cupsys/backend: ipp, lpd, parallel, socket, usb
cupsys/portserror:
More information about the Pkg-cups-devel
mailing list