[Pkg-cups-devel] Bug#587899: cups: Build-Depends on zlib1g-dev is outdated

Eric Pozharski whynot at pozharski.name
Sat Dec 4 18:13:17 UTC 2010


Package: cups
Version: 1.3.10-2
Severity: normal
Tags: patch

The problem devlops this way:

* Upon configuring it's checked if build environment has gnutls (as it's
  seen by pkg-config).

* gnutls.pc is found and it exhibits dependency on zlib.

* However, while zlib1g-dev binary package itself is installed (and
  pkg-config pays no attention for this) the version of stable doesn't
  ship zlib.pc file for pkg-config.

* Thus pkg-config considers gnutls to be unfunctional and returns error

* What leads configure to undef HAVE_SSL and HAVE_GNUTLS macroses in
  config.h (I've seen then).

	[[ begin buildlog excerpt ]]
	checking for ldap.h... yes
	checking for ldap_initialize in -lldap... yes
	checking for ldap_start_tls in -lldap... yes
	checking for ldap_set_rebind_proc in -lldap... yes
	checking for libgnutls-config... no
	checking for libgcrypt-config... /usr/bin/libgcrypt-config
	checking for dlopen in -ldl... yes
	[[ end buildlog excerpt]]

* That effectively disables _httpReadGNUTLS and _httpWriteGNUTLS in
  http.c module.

* And you see the rest.

zlib1g of unstable (and apparently testing) is pkg-config compatible
now.  However, neither Debian.changelog nor VCS of zlib (BTW, it's
empty) give any clue at what version between 1:1.2.3.3.dfsg-12 and
1:1.2.3.4.dfg-3 that (addition of zlib.pc) has happened.
1:1.2.3.3.dfsg-13 isn't OK for sure (I've run into that myself).

Thus please update your debian/control.  Thank you for your
colaboration.

p.s.  And thanks for experience.  I know how to fight those mysterious
dpkg-gensymbols provided FTBFSes for now.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (700, 'stable'), (1, 'testing'), (1, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser              3.110               add and remove users and groups
ii  bc                   1.06.94-3.1         The GNU bc arbitrary precision cal
ii  cups-common          1.3.10-2            Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0 1.5.26              Debian configuration management sy
ii  ghostscript          8.64~dfsg-12        The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-libd 0.6.25-1            Avahi Apple Bonjour compatibility 
ii  libc6                2.11.2-7            Embedded GNU C Library: Shared lib
ii  libcups2             1.3.10-2            Common UNIX Printing System(tm) - 
ii  libcupsimage2        1.3.10-2            Common UNIX Printing System(tm) - 
ii  libdbus-1-3          1.2.14-3            simple interprocess messaging syst
ii  libgcc1              1:4.4.5-6           GCC support library
ii  libgnutls26          2.6.6-1             the GNU TLS library - runtime libr
ii  libgssapi-krb5-2     1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries - k
ii  libijs-0.35          0.35-3              IJS raster image transport protoco
ii  libkrb5-3            1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libpam0g             1.0.1-9             Pluggable Authentication Modules l
ii  libpaper1            1.1.23+nmu1         library for handling paper charact
ii  libpoppler4          0.10.6-1            PDF rendering library
ii  libslp1              1.2.1-7.6           OpenSLP libraries
ii  libstdc++6           4.4.5-6             The GNU Standard C++ Library v3
ii  lsb-base             3.2-23.1            Linux Standard Base 3.2 init scrip
ii  perl-modules         5.10.1-16           Core Perl modules
ii  procps               1:3.2.8-1           /proc file system utilities
ii  ssl-cert             1.0.23              simple debconf wrapper for OpenSSL
ii  ttf-freefont         20080323-3          Freefont Serif, Sans and Mono True
ii  xpdf-utils [poppler- 3.02-1.4+lenny1     Portable Document Format (PDF) sui
ii  zlib1g               1:1.2.3.3.dfsg-13   compression library - runtime

Versions of packages cups recommends:
pn  avahi-utils               <none>         (no description available)
ii  cups-client               1.3.10-2       Common UNIX Printing System(tm) - 
pn  cups-driver-gutenprint    <none>         (no description available)
ii  foomatic-filters          4.0-20090509-1 OpenPrinting printer support - fil
pn  smbclient                 <none>         (no description available)

Versions of packages cups suggests:
ii  cups-bsd                  1.3.10-2       Common UNIX Printing System(tm) - 
pn  cups-pdf                  <none>         (no description available)
ii  foomatic-db               20090616-1     OpenPrinting printer support - dat
ii  foomatic-db-engine        4.0-20090509-1 OpenPrinting printer support - pro
ii  hplip                     3.9.4b-1       HP Linux Printing and Imaging Syst
ii  xpdf-chinese-simplified   20040727-1     Portable Document Format (PDF) sui
ii  xpdf-japanese             1:20040727-1   Portable Document Format (PDF) sui
-------------- next part --------------
--- ../control	2010-12-04 18:48:25.000000000 +0200
+++ debian/control	2010-12-04 18:50:44.000000000 +0200
@@ -3,7 +3,7 @@
 Section: net
 Maintainer: Debian CUPS Maintainers <pkg-cups-devel at lists.alioth.debian.org>
 Standards-Version: 3.8.4
-Build-Depends: libpam0g-dev, libtiff4-dev, libjpeg-dev, zlib1g-dev,
+Build-Depends: libpam0g-dev, libtiff4-dev, libjpeg-dev, zlib1g-dev (>> 1:1.2.3.3.dfsg-13),
  libpng12-dev, libslp-dev, libgnutls-dev, libpaper-dev, libldap2-dev,
  debhelper (>= 5.0), po-debconf, cdbs (>= 0.4.27), sharutils, 
  dpatch (>= 1.11), libdbus-1-dev, libkrb5-dev | heimdal-dev,


More information about the Pkg-cups-devel mailing list