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

Bug#1016996: libnl-3-200-udeb: uninstallable, depends on non-udeb sgml-base



Package: libnl-3-200-udeb
Version: 3.7.0-0.1
Severity: grave
Tags: d-i patch
Justification: renders package unusable
X-Debbugs-Cc: Matthieu Baerts <matthieu.baerts@tessares.net>, Adam Borowski <kilobyte@angband.pl>, debian-boot@lists.debian.org

Hi Matthieu, hi Adam,

The set of packages you uploaded contains uninstallable udebs, as they
depend on sgml-base, which doesn't exist in the installer context
(there's no udeb for it. Current dependencies are as follows:

    $ dpkg --info libnl-3-200-udeb_3.7.0-0.1_amd64.udeb|grep Depends
     Depends: sgml-base (>= 1.28), libc6-udeb (>= 2.34)

    $ dpkg --info libnl-genl-3-200-udeb_3.4.0-1+b1_amd64.udeb|grep Depends
     Depends: libnl-3-200-udeb (= 3.4.0-1+b1), libc6-udeb (>= 2.28)

This leads to the following build failure for the daily builds of the
installer:

    The following packages have unmet dependencies:
     libnl-3-200-udeb : Depends: sgml-base (>= 1.28) but it is not installable
     libnl-genl-3-200-udeb : Depends: sgml-base (>= 1.28) but it is not installable
    E: Unable to correct problems, you have held broken packages.

(Note that I'm filing this bug report against only one of those udebs.)

This is not your fault, that's debhelper's #1015263:
  https://bugs.debian.org/1015263

but I thought I'd loop you in so that you know about this issue, and
about my current plan: the installer team (X-D-Cc'd) doesn't require an
immediate fix, but since I'm not sure when the debhelper bug is getting
fixed (and packages binNMU'd), I thought I'd prepare a workaround to
make sure this source package isn't a blocker when we plan for a Debian
Installer release.

I'll upload shortly, source debdiff attached. Please let me know if you
have any comments or questions.


In passing, thanks for your work on this package!


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
diff -Nru libnl3-3.7.0/debian/changelog libnl3-3.7.0/debian/changelog
--- libnl3-3.7.0/debian/changelog	2022-08-01 15:53:32.000000000 +0000
+++ libnl3-3.7.0/debian/changelog	2022-08-10 23:43:51.000000000 +0000
@@ -1,3 +1,12 @@
+libnl3 (3.7.0-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Dodge debhelper's #1015263 by resetting misc:Depends via
+    DEB_DH_GENCONTROL_ARGS_libnl{,-genl}-3-200-udeb to avoid pulling
+    sgml-base.
+
+ -- Cyril Brulebois <kibi@debian.org>  Wed, 10 Aug 2022 23:43:51 +0000
+
 libnl3 (3.7.0-0.1) unstable; urgency=low
 
   * Non-maintainer upload (Closes: #1016485)
diff -Nru libnl3-3.7.0/debian/rules libnl3-3.7.0/debian/rules
--- libnl3-3.7.0/debian/rules	2022-08-01 14:30:22.000000000 +0000
+++ libnl3-3.7.0/debian/rules	2022-08-10 23:43:11.000000000 +0000
@@ -34,6 +34,10 @@
 
 DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
 
+# Dodge debhelper's #1015263, pulling sgml-base for udebs:
+DEB_DH_GENCONTROL_ARGS_$(udeb_libnl) = -- -Vmisc:Depends=
+DEB_DH_GENCONTROL_ARGS_$(udeb_libnl_genl) = -- -Vmisc:Depends=
+
 clean::
 	# from some unknown reason CDBS does not remove the builddir
 	rm -rf $(DEB_BUILDDIR)

Reply to: