[Bug 1554979] [NEW] dh_install --exclude flag not working

Talat Batheesh 1554979 at bugs.launchpad.net
Wed Mar 9 09:05:28 UTC 2016


Public bug reported:

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
NAME="Ubuntu"
VERSION="16.04 (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

# uname -r
4.4.0-11-generic

** Affects: debhelper (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: xenial

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1554979

Title:
  dh_install --exclude flag not working

Status in debhelper package in Ubuntu:
  New

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
  NAME="Ubuntu"
  VERSION="16.04 (Xenial Xerus)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 16.04"
  VERSION_ID="16.04"
  HOME_URL="http://www.ubuntu.com/"
  SUPPORT_URL="http://help.ubuntu.com/"
  BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
  UBUNTU_CODENAME=xenial

  # uname -r
  4.4.0-11-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1554979/+subscriptions



More information about the foundations-bugs mailing list