[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#949315: marked as done (cups-filters: driverless generates wrong InputSlots)



Your message dated Mon, 17 Feb 2020 08:49:21 +0000
with message-id <E1j3c5i-0002gi-08@fasolo.debian.org>
and subject line Bug#949315: fixed in cups 2.3.1-7
has caused the Debian Bug report #949315,
regarding cups-filters: driverless generates wrong InputSlots
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
949315: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949315
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-filters
Version: 1.21.6-5
Severity: important

When I use "driverless" to generate a PPD for my Xerox B215 printer,
I get definition of InputSlot which does not work.

In particular, the printer reports that it supports media source "tray-1".
This is translated to "Tray-1" by driverless, so the PPD contains:

	*InputSlot Tray-1/Tray 1: ""

When I submit a print job, CUPS's IPP backend translates this to IPP
media source "tray--1", which is later rejected by the printer (the printer
replies by a malformed IPP message, but that's another story).

The problem lies in the mismatch between name mangling rules in
cups-filters-1.21.6/cupsfilters/ppdgenerator.c (the pwg_ppdize_name function)
and
cups-2.2.10/cups/ppd-cache.c (the pwg_unppdize_name function). It is hard
to tell which one is wrong as the name mangling rules seem arbitrary. However,
at least one of them needs fixing.

I checked cups-filters 1.26.2 and CUPS 2.3.1 and the name mangling functions
stay the same, so the problem is probably still present.


-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE=en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups-filters depends on:
ii  bc                         1.07.1-2+b1
ii  cups-filters-core-drivers  1.21.6-5
ii  ghostscript                9.27~dfsg-2+deb10u3
ii  libc6                      2.28-10
ii  libcups2                   2.2.10-6+deb10u1
ii  libcupsfilters1            1.21.6-5
ii  libcupsimage2              2.2.10-6+deb10u1
ii  libfontconfig1             2.13.1-2
ii  libfontembed1              1.21.6-5
ii  libgcc1                    1:8.3.0-6
ii  libqpdf21                  8.4.0-2
ii  libstdc++6                 8.3.0-6
ii  poppler-utils              0.71.0-5

Versions of packages cups-filters recommends:
ii  colord             1.4.3-4
ii  liblouisutdml-bin  2.7.0-5+b1

Versions of packages cups-filters suggests:
ii  antiword                         0.37-14
pn  docx2txt                         <none>
ii  foomatic-db                      20181217-2
ii  imagemagick                      8:6.9.10.23+dfsg-2.1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.10.23+dfsg-2.1

-- Configuration Files:
/etc/modules-load.d/cups-filters.conf changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: cups
Source-Version: 2.3.1-7
Done: Didier Raboud <odyx@debian.org>

We believe that the bug you reported is fixed in the latest version of
cups, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 949315@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated cups package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 17 Feb 2020 09:19:56 +0100
Source: cups
Architecture: source
Version: 2.3.1-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Closes: 949315
Changes:
 cups (2.3.1-7) unstable; urgency=medium
 .
   * Add patch to fix conversion of PPD InputSlot choice names; this should fix
     printers ignoring the paper tray selection (Issue: #5740, Closes: #949315)
   * lintian-brush:
     - Set upstream metadata fields: Bug-Database, Repository, Repository-Browse
     - Rewrap some d/changelog entries
Checksums-Sha1:
 b22601327a201141f84642f9f7b1fd916577a6a0 3410 cups_2.3.1-7.dsc
 c68555f220b45230f5f2772e1cf192e84fba1a54 354348 cups_2.3.1-7.debian.tar.xz
Checksums-Sha256:
 57c56011c22f1c510693d58f1c08797396af32dc607fdb40ad2a5e7e766b58ce 3410 cups_2.3.1-7.dsc
 0d4e1d75c1c458e2824a41c9c52134fb1870b66a1fe88c27d37e142ae1b44333 354348 cups_2.3.1-7.debian.tar.xz
Files:
 de1ac39142e81b0c11a467ec3fd5cef3 3410 net optional cups_2.3.1-7.dsc
 e0efc65b982e99f55dbeb0ae893de90b 354348 net optional cups_2.3.1-7.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJ3k7rA0YCplkx4gZqcb6xg1jAWkFAl5KTzcACgkQqcb6xg1j
AWkHOBAAlRSBf8DXGpdWUBWDcmvVw+zO8tvSKit3mjnpKchAgouzmHtLxHaiaWUR
+2rM2s4+z7JWmGeSJUBlrjvNDVnXaGM5HBfYZmUKT3mt7oGpd4YHwJRnnYHpRvI1
xcAJ24PV93kb93ufBMVGiZlda4cTONXQtFdo6/3q3v+R1CCsoXcbqI7sI6WTXO6K
Q4Rhe8ihkT5oNpn8Pzpg/FZNzHd2uFMe7XJFx2JKJq2p6gBSJdjP2DgTpQzmguOg
61La3bVwZ9XYtCyhZDwvSvkP6sQVXsqlYbhPFbjXW5moUEwbNVlCfe4jjXKQx9Yo
9LEZKnFSkj7EWzQ9pEiJN5mYt6tFtnR8UGecexnm+JY+Sxu1+JtRgbGDaBqR+ozf
iNVmFKHZqm6kGKlnYgQfUlBxSXjA+kNcKc+Q2dwzrm+wkQFjE82UVuVvKZIFe9nI
hM1ok+XKeSBlDDWcAsrHcJCHcX7qa924Rb1WHXxJIJsPOktxXNDirKIQe89oHLap
vxeEFBMXXQ+q98BbhavllFQ7Y9oGX0EMkRZF9ObmsNwv1krEkv5zvnTDQkD8r/lJ
xDi7w2PQH6taIrYU1XbahG4WcsGLeoqcyyFWyaS+4BYsNsKjwpNOYxRwU5gBGRA5
w5HC+JzdUsoUEEyCIvAyYIsD0AypQgmwH5aXW3SKISxsSkRXGX8=
=jDZu
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: