Package: debhelper
Version: 10.1
Severity: grave
Tags: patch

My patch to add the dh-systemd transitional package was incomplete. It
missed that debhelper was only building a single binary package and is
now building two.
We either need to add a debhelper.install file now or, as dh-systemd is
actually supposed to be empty, set --destdir=debian/debhelper when
running dh_auto_install.

Attached is a patch for the latter.

Sorry for the mess.

Michael


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  autotools-dev            20160430.1
ii  binutils                 2.27-8
ii  dh-autoreconf            12
ii  dh-strip-nondeterminism  0.028-1
ii  dpkg                     1.18.10
ii  dpkg-dev                 1.18.10
ii  file                     1:5.28-4
ii  libdpkg-perl             1.18.10
ii  man-db                   2.7.5-1
ii  perl                     5.24.1~rc3-3
ii  po-debconf               1.0.19

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201608

-- no debconf information
>From bb6ac51c480a4bff3ebb3377ec583cae22538480 Mon Sep 17 00:00:00 2001
From: Michael Biebl <bi...@debian.org>
Date: Sun, 2 Oct 2016 01:41:34 +0200
Subject: [PATCH] Make sure all files are installed into the debhelper binary
 package

Now that we are building more then one binary package, dh_auto_install
no longer uses debian/debhelper by default. Since the transitional
dh-systemd package is supposed to be empty, override dh_auto_install and
set --destdir=debian/debhelper to make sure all files end up in the
debhelper binary package.
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index addfbff..b507359 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,6 @@
 # Disable as they are unneeded (and we can then be sure debhelper
 # builds without needing autotools-dev, dh-strip-nondetermism etc.)
 override_dh_update_autotools_config override_dh_strip_nondeterminism:
+
+override_dh_auto_install:
+	dh_auto_install --destdir=debian/debhelper
-- 
2.9.3

Reply via email to