dh_install --exclude flag not working

Bug #1554979 reported by Talat Batheesh
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
debhelper (Ubuntu)
Fix Released

Bug Description

dh_install failed to build a infinibad-diags and we see the following error.
in older releases ub14.04 and 12.04 it is working as well.
With 16.04 this tool failed with the exclude flag.

dh_install --exclude <SOMETHING> does not exclude files that has SOMETHING in their names when file list is provided in debian/<package>.files

dh_install --exclude=ndd
dh_install: infiniband-diags missing files: usr/sbin/rdma-ndd
dh_install: infiniband-diags missing files: usr/share/man/man8/rdma-ndd.8
dh_install: infiniband-diags missing files: etc/init.d/rdma-ndd
dh_install: missing files, aborting
debian/rules:40: recipe for target 'binary' failed

# cat /etc/os-release
VERSION="16.04 (Xenial Xerus)"
PRETTY_NAME="Ubuntu 16.04"

# uname -r

Tags: xenial
Changed in debhelper (Ubuntu):
assignee: nobody → Brian Fromme (brianfromme)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debhelper (Ubuntu):
status: New → Confirmed
Changed in debhelper (Ubuntu):
assignee: Brian Fromme (brianfromme) → nobody
Changed in debhelper:
status: Unknown → Fix Committed
Changed in debhelper:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debhelper - 10.10.9ubuntu1

debhelper (10.10.9ubuntu1) bionic; urgency=medium

  * Merge from current Debian unstable. Remaining changes:
    - Generate ddebs from debhelper instead of pkg-create-dbgsym
      + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off.
      + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output.
    - dh_installchangelogs: Do not install upstream changelog in compat
      level 7 and higher to avoid pointlessly bloating installed packages.

debhelper (10.10.9) unstable; urgency=medium

  [ Dmitry Shachnev ]
  * qmake.pm: Add missing import of generated_file.
  * meson.pm: Find typo of meson in the name of the cross config
  * qmake.pm: Push compiler information as ‘early’ flags to qmake, to
    make sure qmake calls the right compiler to get library paths.
  * qmake.pm: Add all possible settings to generated qmake-cross.conf.
    Now output of ‘qmake -query’ with and without using this file is
    identical. This makes cross-building Qt’s own modules possible.

  [ Niels Thykier ]
  * dh_missing: Permit a missing debian/tmp without failing in
    compat 11 when debian/tmp is an implicit source directory.
    Thanks to Christoph Biedl for reporting the bug.
    (Closes: #882083)
  * dh_missing: Improve the wording about "debian/not-installed".

 -- Adam Conrad <email address hidden> Tue, 21 Nov 2017 14:26:40 -0700

Changed in debhelper (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.