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

Bug#980104: marked as done (cups: reduce Build-Depends)



Your message dated Fri, 15 Jan 2021 11:33:32 +0000
with message-id <E1l0NMC-00076q-Oc@fasolo.debian.org>
and subject line Bug#980104: fixed in cups 2.3.3op1-7
has caused the Debian Bug report #980104,
regarding cups: reduce Build-Depends
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.)


-- 
980104: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980104
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: cups
Version: 2.3.3op1-4
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

cups is involved in a number of dependency cycles relevant to
architecture bootstrap. Instead of doing the hard work of looking into
these cycles, I looked for easily droppable build dependencies and found
some. Given that cups is reproducible, I attempted dropping individual
dependencies via <!nocheck> and compared the resulting .debs with those
of a regular build. It turns out that a lot of dependencies can be thus
marked without affecting build results:
 * ghostscript
 * libavahi-compat-libdnssd-dev
 * libfontconfig1-dev
 * libfreetype6-dev
 * libijs-dev
 * libjpeg-dev
 * libldap2-dev
 * libpng-dev
 * libtiff-dev
 * poppler-utils
 * sharutils

There are two possible mistakes being made here: For some dependencies,
a fallback mechanism (e.g. vendored code copy) can be available. Thus it
might be that not everything listed above should be tagged <!nocheck>.
It also could be that some of these depenencies really are entirely
unused. In that case, they should simply be dropped instead.

Beyond this, dh_apparmor is only used when cups-daemon is built. It can
be dropped for indep-only builds.

Please consider applying and improving the attached patch.

Helmut
diff --minimal -Nru cups-2.3.3op1/debian/changelog cups-2.3.3op1/debian/changelog
--- cups-2.3.3op1/debian/changelog	2020-12-23 14:53:09.000000000 +0100
+++ cups-2.3.3op1/debian/changelog	2021-01-09 21:27:23.000000000 +0100
@@ -1,3 +1,10 @@
+cups (2.3.3op1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 09 Jan 2021 21:27:23 +0100
+
 cups (2.3.3op1-4) unstable; urgency=medium
 
   * Drop ancient manual link-doc setting in cups-bsd.postinst
diff --minimal -Nru cups-2.3.3op1/debian/control cups-2.3.3op1/debian/control
--- cups-2.3.3op1/debian/control	2020-12-23 14:53:09.000000000 +0100
+++ cups-2.3.3op1/debian/control	2021-01-09 21:27:18.000000000 +0100
@@ -5,36 +5,36 @@
 Section: net
 Priority: optional
 Build-Depends: debhelper-compat (= 12),
-               dh-apparmor,
                dh-strip-nondeterminism,
                patch,
                autoconf,
                automake,
                libtool,
                pkg-config,
-               ghostscript,
+               ghostscript <!nocheck>,
                libavahi-client-dev,
                libavahi-common-dev,
-               libavahi-compat-libdnssd-dev,
+               libavahi-compat-libdnssd-dev <!nocheck>,
                libdbus-1-dev,
-               libfontconfig1-dev,
-               libfreetype6-dev,
+               libfontconfig1-dev <!nocheck>,
+               libfreetype6-dev <!nocheck>,
                libgnutls28-dev,
-               libijs-dev,
-               libjpeg-dev,
-               libldap2-dev,
+               libijs-dev <!nocheck>,
+               libjpeg-dev <!nocheck>,
+               libldap2-dev <!nocheck>,
                libkrb5-dev,
                libpam0g-dev,
                libpaper-dev,
-               libpng-dev,
+               libpng-dev <!nocheck>,
                libsystemd-dev [linux-any],
-               libtiff-dev,
+               libtiff-dev <!nocheck>,
                libusb-1.0-0-dev [!hurd-any],
                po4a,
                po-debconf,
-               poppler-utils,
-               sharutils,
+               poppler-utils <!nocheck>,
+               sharutils <!nocheck>,
                zlib1g-dev
+Build-Depends-Arch: dh-apparmor,
 # libgmp-dev is not GPL-2 compatible before it's 6 release, which makes it also GPL-2+
 Build-Conflicts: libgmp-dev (<< 2:6)
 Standards-Version: 4.5.1

--- End Message ---
--- Begin Message ---
Source: cups
Source-Version: 2.3.3op1-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 980104@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: Fri, 15 Jan 2021 12:11:30 +0100
Source: cups
Architecture: source
Version: 2.3.3op1-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Closes: 980104
Changes:
 cups (2.3.3op1-7) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Reduce Build-Depends, move dh_apparmor to B-D-A (Closes: #980104)
Checksums-Sha1:
 2820ade823ecb376fe4e82726121206ee4e56147 3332 cups_2.3.3op1-7.dsc
 0c930fbd8d4dd80aed98e58b0efe6b764fbe97dc 345408 cups_2.3.3op1-7.debian.tar.xz
Checksums-Sha256:
 827a5beb1dbf50506c779d27ef7d922c108db7dd931c35800dc335d7e24d6daa 3332 cups_2.3.3op1-7.dsc
 dfce5d1a7351f297492f54bcb4dfff1494400ebf929415a12d9eb4a04e0a5b62 345408 cups_2.3.3op1-7.debian.tar.xz
Files:
 a67e82a57ebe486dcdbf656b30b354b2 3332 net optional cups_2.3.3op1-7.dsc
 be9e949280820161d5b5f42fceaad20c 345408 net optional cups_2.3.3op1-7.debian.tar.xz

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

iQIzBAEBCgAdFiEEJ3k7rA0YCplkx4gZqcb6xg1jAWkFAmABeRgACgkQqcb6xg1j
AWk8MQ/+L9IAPM2RMqFSQWo2hc+G6aIljaNu3/6FFTZQWVZcjAEF2srZE6p3JdRB
JkctKM1ZPZCDkiNKVIrKURq5F3/sprETtbFpz1tej+gIcc+fZPBefLC3T/I/vq89
orxEYXirM+6/Lk3+CQT5+4JLuwwFKH6xNt6TJJi3qRnWPuLBFa+/tAFfxdBQgXnP
MmfaGjmje9E1Ir52F6vBngMz+s8c1eYKVtSGaKQYQtr1vggQCNdYCJV5nyx4Ce8P
9vZMWNjMNwZL1xVynI8RFuLb89l0jrR6lxdm6HwOxV5wX3KqK3KO1FiaNLtKTS8P
KzM1brbihaUfzYJShb04WijvIZQWQuwImAjIuS9W9Ki7hqvqP6V3rh6tZe8uUFL1
D1oEqkNfImCkWVknuufeUHS9Fw4pd/ZMXRItFVvU0CECPP/NbLDlCu+Gstbyx5Ww
CHnhpLicNS6GoU/BIIyOpE2tGVRqVS9hoGvMEaLWJFTEGMU7E4Wx4aD63+wGfJvo
Ez8jE5ftbdI1rQKiar4LUfHwEPzcDmRqDWMjiQJWFnIGlm07yFSmFROpyiDdj/1p
WZvmJxJxVhccYR3HHfd9vZcUEG0sjA8YAfZH7K1DrBDGSJGuJPFue7e7JDaH9lc9
ozQQOMAmy0id6hZU8m5fU7JJ6IimBIGTjcBzJ82xETxJGVnA2kk=
=78uh
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: