[Pkg-cups-devel] Bug#438067: "cups-config --libs" seems to include static libs

Loïc Minier lool at dooz.org
Wed Aug 15 10:33:20 UTC 2007


Package: cupsys
Version: 1.3.0-2
Severity: minor

        Hi,

 While looking at the diff of the build log of libgnomeprint between the
 old and new cups, I saw:
-       Cups module:            yes    LIBS: -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0    -lcups -lgnutls -lz -lpthread -lm -lcrypt -lgnomecups-1.0 -lcups -lgnutls -lpthread -lcrypt -lgobject-2.0 -lglib-2.0  
+       Cups module:            yes    LIBS: -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0    -lcups -L/usr/lib -g -Wall -O2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lgnutls -lz -lpthread -lm -lcrypt -lgnomecups-1.0 -lcups -lgnutls -lpthread -lcrypt -lgobject-2.0 -lglib-2.0  

 The list of libs is impressive, and just went longer.  I looked for a
 pkg-config file, saw that CUPS had none, but I was pleasantly suprized
 that its cups-config program supports --static.  However, --static only
 affects the CUPS libs used for linking, and no other lib.

 I think this is a mistake in the way cups-config is generated: it seems
 to include all libs to build a static version of CUPS.  IMO it should
 simply lists CUPS libs when --static isn't given and list all libs like
 it does now when --static is given.

 This currently injects superfluous dependencies in packages.

   Bye,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cupsys depends on:
ii  adduser                 3.104            add and remove users and groups
ii  cupsys-common           1.3.0-2          Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]   1.5.14           Debian configuration management sy
ii  gs-esp                  8.15.3.dfsg.1-1  The Ghostscript PostScript interpr
ii  libavahi-compat-libdnss 0.6.21-1         Avahi Apple Bonjour compatibility 
ii  libc6                   2.6.1-1          GNU C Library: Shared libraries
ii  libcomerr2              1.40.2-1         common error description library
ii  libcupsimage2           1.3.0-2          Common UNIX Printing System(tm) - 
ii  libcupsys2              1.3.0-2          Common UNIX Printing System(tm) - 
ii  libdbus-1-3             1.1.1-3          simple interprocess messaging syst
ii  libgnutls13             1.6.3-1          the GNU TLS library - runtime libr
ii  libkrb53                1.6.dfsg.1-6     MIT Kerberos runtime libraries
ii  libldap2                2.1.30-13.4      OpenLDAP libraries
ii  libpam0g                0.79-4           Pluggable Authentication Modules l
ii  libpaper1               1.1.22           library for handling paper charact
ii  libslp1                 1.2.1-7          OpenSLP libraries
ii  lsb-base                3.1-24           Linux Standard Base 3.1 init scrip
ii  perl-modules            5.8.8-7          Core Perl modules
ii  poppler-utils [xpdf-uti 0.5.4-6.1        PDF utilitites (based on libpopple
ii  procps                  1:3.2.7-4        /proc file system utilities
ii  ssl-cert                1.0.14           Simple debconf wrapper for openssl
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages cupsys recommends:
ii  cups-pdf              2.4.6-4            PDF printer for CUPS
ii  cupsys-client         1.3.0-2            Common UNIX Printing System(tm) - 
ii  foomatic-filters      3.0.2-20061031-1.2 linuxprinting.org printer support 
pn  smbclient             <none>             (no description available)

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, parallel, socket, usb

-- 
Loïc Minier




More information about the Pkg-cups-devel mailing list