Debian Bug report logs - #436240
debhelper: exclude file for dh_install --list-missing

version graph

Package: debhelper; Maintainer for debhelper is Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>; Source for debhelper is src:debhelper (PTS, buildd, popcon).

Reported by: Peter Eisentraut <peter_e@gmx.net>

Date: Mon, 6 Aug 2007 13:27:01 UTC

Severity: wishlist

Found in versions debhelper/5.0.53, debhelper/6.0.5, debhelper/7.4.3

Fixed in version debhelper/9.20151004

Done: Niels Thykier <niels@thykier.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#436240; Package debhelper. (full text, mbox, link).


Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
New Bug report received and forwarded. Copy sent to Joey Hess <joeyh@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Peter Eisentraut <peter_e@gmx.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debhelper: exclude file for dh_install --list-missing
Date: Mon, 06 Aug 2007 15:26:14 +0200
Package: debhelper
Version: 5.0.53
Severity: wishlist

Some packages install boatloads of files and exclude boatloads of files.
In order to keep track of that, dh_install --list-missing or --fail-missing
is useful, but adding dozens or hundreds of exceptions on the command line
is awkard.  It would be useful to have a file, say, debian/not-installed
that lists the files to exclude from the missing checks.  Alternatively,
an option such as --exclude-from to name the exception file would work.
The idea is that the concatenation of *.install and not-installed would
come out to be the complete file list that the upstream source installs.

I'm not exactly sure on the best interface for this.  It might make sense
to have a package-specific *.not-installed as well.  The other question is
whether this file should be an exact equivalent to specifying -X on the
command line or whether it should apply only to the missing check. The
former would probably make more sense.



Information forwarded to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#436240; Package debhelper. (full text, mbox, link).


Acknowledgement sent to Ove Kaaven <ovek@arcticnet.no>:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>. (full text, mbox, link).


Message #10 received at 436240@bugs.debian.org (full text, mbox, reply):

From: Ove Kaaven <ovek@arcticnet.no>
To: Debian Bug Tracking System <436240@bugs.debian.org>
Subject: debhelper: exclude file for dh_install
Date: Wed, 12 Mar 2008 23:48:53 +0100
Package: debhelper
Version: 6.0.5
Followup-For: Bug #436240

Seconded... I'd love to be able to use --fail-missing, but a number of
files I just don't want to install stops me from doing so (elegantly).
For now, maybe I'll just insert a bunch of "rm"s before dh_install...

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils            2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii  dpkg-dev            1.14.16.6            package building tools for Debian
ii  file                4.23-2               Determines file type using "magic"
ii  html2text           1.3.2a-3             An advanced HTML to text converter
ii  man-db              2.5.1-2              on-line manual pager
ii  perl                5.8.8-12             Larry Wall's Practical Extraction 
ii  po-debconf          1.0.12               manage translated Debconf template

debhelper recommends no packages.

-- no debconf information






Information forwarded to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#436240; Package debhelper. (Fri, 09 Oct 2009 14:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Steffen Moeller <steffen_moeller@gmx.de>:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>. (Fri, 09 Oct 2009 14:09:04 GMT) (full text, mbox, link).


Message #15 received at 436240@bugs.debian.org (full text, mbox, reply):

From: Steffen Moeller <steffen_moeller@gmx.de>
To: Debian Bug Tracking System <436240@bugs.debian.org>
Subject: don't list files in .manpages or .examples as missing
Date: Fri, 09 Oct 2009 15:55:38 +0200
Package: debhelper
Version: 7.4.3
Severity: normal

I moved files from the mypackage.install to the mypackage.manpages list,
and now it is reported as "non-installed".

I made sure that dh_installman is executed earlier than dh_install, but this did not help.

So, either dh_install somehow communicates with the other tools, or the
dh_install(doc,examples,man) tools get a "--mv-not-cp" option

Steffen

-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils              2.19.91.20091006-1 The GNU assembler, linker and bina
ii  dpkg-dev              1.15.4             Debian package development tools
ii  file                  5.03-2             Determines file type using "magic"
ii  html2text             1.3.2a-14          advanced HTML to text converter
ii  man-db                2.5.6-3            on-line manual pager
ii  perl                  5.10.1-5           Larry Wall's Practical Extraction 
ii  perl-base             5.10.1-5           minimal Perl system
ii  po-debconf            1.0.16             tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.50       tool that converts source archives

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#436240; Package debhelper. (Sun, 27 Dec 2009 06:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to dparsons@debian.org:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>. (Sun, 27 Dec 2009 06:39:03 GMT) (full text, mbox, link).


Message #20 received at 436240@bugs.debian.org (full text, mbox, reply):

From: Drew Parsons <dparsons@debian.org>
To: 436240@bugs.debian.org
Subject: debhelper: exclude file for dh_install
Date: Sun, 27 Dec 2009 17:34:56 +1100
I'd find some kind of exclude file facility useful too.  In
gerris.install I use debian/tmp/usr/bin to install a bevy of
executables.  Saves listing them all by hand (there's about 16 of them).
But in the same bin dir there are two binaries which I do want to
exclude.  So it would be handy to be able to list the excluded files in
the same place as the installable ones.

Actually, from my point of view it makes sense to have the -X entries
listed inside the *.install file itself.  Then everything would be in
the same place, making maintenance easier.  I guess the excluded entries
would have to have a negation operator ('!', say) as the first character
on the line.

Drew






Information forwarded to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#436240; Package debhelper. (Thu, 17 Mar 2011 23:30:07 GMT) (full text, mbox, link).


Acknowledgement sent to Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>. (Thu, 17 Mar 2011 23:30:07 GMT) (full text, mbox, link).


Message #25 received at 436240@bugs.debian.org (full text, mbox, reply):

From: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
To: 436240@bugs.debian.org
Subject: debhelper: exclude file for dh_install --list-missing
Date: Thu, 17 Mar 2011 20:26:25 -0300
[Message part 1 (text/plain, inline)]
Indeed, this will be **very** useful, specially for bug packages like KDE.

+1 for this wishlist bug.

-- 
“If you want to finish university, you should take care about getting on
with the teachers. The result are submissive citizens that won’t face
authority even if they know they’re right, in order to avoid problems“
  Miriam Ruiz, http://www.miriamruiz.es/weblog/?p=187

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#436240; Package debhelper. (Thu, 17 Mar 2011 23:33:06 GMT) (full text, mbox, link).


Acknowledgement sent to Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>. (Thu, 17 Mar 2011 23:33:06 GMT) (full text, mbox, link).


Message #30 received at 436240@bugs.debian.org (full text, mbox, reply):

From: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
To: 436240@bugs.debian.org
Subject: typo
Date: Thu, 17 Mar 2011 20:29:37 -0300
[Message part 1 (text/plain, inline)]
s/bug/big, clearly ;-)



-- 
10: El procesador de textos es:
    * Un programa que le da vida a una computadora haciendo que
    intente dominar el mundo (ver pregunta 1)
    Damian Nadales
    http://mx.grulic.org.ar/lurker/message/20080307.141449.a70fb2fc.es.html

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>:
Bug#436240; Package debhelper. (Mon, 31 Aug 2015 20:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Niels Thykier <niels@thykier.net>:
Extra info received and forwarded to list. Copy sent to Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>. (Mon, 31 Aug 2015 20:30:04 GMT) (full text, mbox, link).


Message #35 received at 436240@bugs.debian.org (full text, mbox, reply):

From: Niels Thykier <niels@thykier.net>
To: 436240@bugs.debian.org
Subject: Re: debhelper: exclude file for dh_install --list-missing
Date: Mon, 31 Aug 2015 22:26:41 +0200
On Mon, 06 Aug 2007 15:26:14 +0200 Peter Eisentraut <peter_e@gmx.net> wrote:
> Package: debhelper
> Version: 5.0.53
> Severity: wishlist
> 
> Some packages install boatloads of files and exclude boatloads of files.
> In order to keep track of that, dh_install --list-missing or --fail-missing
> is useful, but adding dozens or hundreds of exceptions on the command line
> is awkard.  It would be useful to have a file, say, debian/not-installed
> that lists the files to exclude from the missing checks.  Alternatively,
> an option such as --exclude-from to name the exception file would work.
> The idea is that the concatenation of *.install and not-installed would
> come out to be the complete file list that the upstream source installs.
> 
> I'm not exactly sure on the best interface for this.  It might make sense
> to have a package-specific *.not-installed as well.  The other question is
> whether this file should be an exact equivalent to specifying -X on the
> command line or whether it should apply only to the missing check. The
> former would probably make more sense.
> 
> 

On a related note, cdbs supports this feature already (see #423394).

~Niels




Added tag(s) pending. Request was from Niels Thykier <niels@thykier.net> to control@bugs.debian.org. (Tue, 01 Sep 2015 06:54:03 GMT) (full text, mbox, link).


Reply sent to Niels Thykier <niels@thykier.net>:
You have taken responsibility. (Sun, 04 Oct 2015 16:09:12 GMT) (full text, mbox, link).


Notification sent to Peter Eisentraut <peter_e@gmx.net>:
Bug acknowledged by developer. (Sun, 04 Oct 2015 16:09:12 GMT) (full text, mbox, link).


Message #42 received at 436240-close@bugs.debian.org (full text, mbox, reply):

From: Niels Thykier <niels@thykier.net>
To: 436240-close@bugs.debian.org
Subject: Bug#436240: fixed in debhelper 9.20151004
Date: Sun, 04 Oct 2015 16:04:40 +0000
Source: debhelper
Source-Version: 9.20151004

We believe that the bug you reported is fixed in the latest version of
debhelper, 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 436240@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (supplier of updated debhelper 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: SHA256

Format: 1.8
Date: Sun, 04 Oct 2015 17:34:16 +0200
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 9.20151004
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description:
 debhelper  - helper programs for debian/rules
Closes: 436240 516721 595097 672282 677353 698054 719148 748993 759895 776103 790820 791823 794396 794898 795193 795519 797002 797904 798116 800332
Changes:
 debhelper (9.20151004) unstable; urgency=medium
 .
   [ Niels Thykier ]
   * dh/dh_auto_*: Apply patch from Eduard Sanou to define
     SOURCE_DATE_EPOCH.  (Closes: #791823)
   * cmake.pm: Add better cross-compile support for cmake.
     Heavily based on a patch from Helmut Grohne.
     (Closes: #794396)
   * cmake.pm: Pass -DCMAKE_INSTALL_SYSCONFDIR=/etc and
     -DCMAKE_INSTALL_LOCALSTATEDIR=/var to cmake.  Thanks to
     Felix Geyer, Lisandro Damián Nicanor Pérez Meyer and
     Michael Terry for the assistance plus suggestions.
     (Closes: #719148)
   * dh_installinit: Quote directory name before using it in
     a regex.
   * dh_installinit: Create script snippts for tmpfiles.d
     files even if the package has no sysvinit script or
     explicit debian/<package>.service file.
     (Closes: #795519)
   * dh_makeshlibs: Revert passing -X to ldconfig in compat 10
     after talking with the glibc maintainer.  This is not the
     right place to make this change.
   * d/control: Remove the homepage field.
   * dh: Make dh_strip_nondeterminism optional, so debhelper
     does not need to build-depend on it.
   * dh_gencontrol/dh_builddeb: Temporarily stop building ddebs
     for udebs as dpkg-gencontrol and dpkg-deb does not agree
     the default file extension for these.
   * dh_builddeb: Generate udebs with the correct filename even
     when "-V" is passed to dpkg-gencontrol.  This relies on
     dpkg-deb getting everything but the extension correct
     (see #575059, #452273 for why it does not produce the
      correct extesion).
     (Closes: #516721, #677353, #672282)
   * Dh_Lib.pm: Drop now unused "udeb_filename" subroutine.
   * dh_strip.1: Correct the documentation about ddebs to
     reflect the current implementation (rather than the
     desired "state").  Thanks to Jakub Wilk for the report.
     (Closes: #797002)
   * dh_fixperms: Reset permissions to 0644 for .js, .css,
     .jpeg, .jpg, .png, and .gif files.  Thanks to Ernesto
     Hernández-Novich for the suggestion.  (Closes: #595097)
   * dh_install: Read debian/not-installed if present as a
     list of files that are deliberately not installed.
     Files listed here will not cause dh_install to complain
     with --list-missing.  Thanks to Peter Eisentraut for the
     suggestion.  (Closes: #436240)
   * Dh_Lib: Cherry-pick patch from Chris Lamb to only read
     the latest changelog entry when determing the
     SOURCE_DATE_EPOCH.
   * debhelper.7: Provide a better example of how to insert
     the debhelper maintainer script snippets into a maintainer
     script written in Perl.  Thanks to Jakub Wilk for
     reporting the issues.  (Closes: #797904)
   * dh_shlibdeps: The "-L" option can now be passed multiple
     times with different package names.  Thanks to Tristan
     Schmelcher for the suggestion.  (Closes: #776103)
   * dh,Buildsytems: In compat 10, default to --parallel.
   * dh,Buildsytems: Accept "--no-parallel" to disable
     parallel builds.  It is effectively the same as using
     --max-parallel=1 but may be more intuitive to some people.
   * dh_makeshlibs: Use a noawait trigger to invoke ldconfig
     rather maintscripts.
   * dh_installdirs.1: Add a note that many packages will work
     fine without calling dh_installdirs.  (Closes: #748993)
   * dh_compress: Apply patch from Rafael Kitover to support
     passing files to dh_compress that would have been
     compressed anyway.  (Closes: #794898)
   * Dh_Lib: Apply patch from Gergely Nagy to make debhelper
     export "DH_CONFIG_ACT_ON_PACKAGES" when executing an
     executable debhelper config file.  This is intended to
     assist dh-exec (etc.) in figuring what packages are
     acted on.  (Closes: #698054)
   * dh_movefiles: Expand globs in arguments passed in all
     compat levels (and not just compat 1 and 2).
     (Closes: #800332)
   * dh_installinit: Clearly document that --onlyscripts
     should generally be used with -p (or similar) to limit
     the number of affected packages.  (Closes: #795193)
 .
   [ Paul Tagliamonte ]
   * dh_gencontrol: Put debug debs back in the "debug" section.
   * dh_strip/dh_gencontrol: Add a space separated list of
     build-ids in the control file of packages containing
     deattached debug symbols.
 .
   [ Andrew Ayer ]
   * d/control: Depend on dh-strip-nondeterminism
   * dh: Call dh_strip_nondeterminism during build.
     (Closes: #759895)
 .
   [ Colin Watson ]
   * Buildsystem.pm: Fix doit_in_sourcedir/doit_in_builddir to
     always chdir back to the original directory even if the
     subprocess exits non-zero.  (Closes: #798116)
 .
   [ Translations ]
   * Update Portuguese translation (Américo Monteiro)
     (Closes: #790820)
Checksums-Sha1:
 3c04d9dcef8512a6fab61d5c443a2074f20e4051 1703 debhelper_9.20151004.dsc
 998b38f5a0ff1a151cd3c9e6d7c1833634e978af 325348 debhelper_9.20151004.tar.xz
 ccced65fb35852d677abbbcbd3e8aa17fa42c7b9 817274 debhelper_9.20151004_all.deb
Checksums-Sha256:
 ddbc65fa1e7bd24c0268ff95e568f178419cdb2eabde4fd4f0b0d139d9d48a31 1703 debhelper_9.20151004.dsc
 e8c32712db58ac0764e8c83a324a7a519a58a33a6c9ba86f1ca0ac171213f21f 325348 debhelper_9.20151004.tar.xz
 ca395ec3d0c679072482b06cf76a5f40d4a3d0651247db81a8d5bb28e3d5ae2c 817274 debhelper_9.20151004_all.deb
Files:
 b3bf096f885c4b974d2d026fa2338269 1703 devel optional debhelper_9.20151004.dsc
 e46521506d9bc4637aa60c9509b77d85 325348 devel optional debhelper_9.20151004.tar.xz
 dda5739247801593dab967c562446549 817274 devel optional debhelper_9.20151004_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWEUi+AAoJEAVLu599gGRCv+4QAJwvL3Em4cyBQhHtPtCc3eLd
q2MHOQ2q/sBi8MIfxoX+sYtv1VmMewKH+fgYKFUTzFaslx9p6hLhoddAGOsjonPS
jkW35fUo04jtdJ/mamuDFWWwMZpuzv0yVb4qT3ONWJ14oEFb8M/9f4VJc7KCXaKz
C3tmWP1duTbGulv2qb8nVP85diBJ8Zo5avVmUkRA4PLDYFKOFh8jd4texBvPM8/d
fbp9I2oO/iCGSJHrGgkphb4jTz3Y2yYxjbIMwsWSeWMkxIrQCncxEmA8wHgMrBoI
ra3mzyDR8xkW3xurH3C5EQ1TqL783rEwIR/m1The2P0bijW0mQA9Z2ZVc921neKo
Kepx1v0VIG0j3cBEMXV0ndlcbe6lcICWzwqFoAznOt5l+s+BVWgYDS7KnFUkQSZN
6lHWRchvh9z7GLrcx05VtzAOYHuuSjmPkqAVgNY7oGWIvjpU81VHG+gN7yDMIyRc
nvrKpLtorh0rEI4RqCbaUm318UMpGxfBrmOipXlgRPqYcYef+ELX1l1yb9IF3NjN
Peu+cJCPbtEd7MTVm1YxwPZRoprpa1bWHPDwa2rIMZlqAaAUEmrIedtlGMHpzEYg
D44vvOGlot33YbbgtdnsfYkBdsgfnPF8aMmWZnrU8NDuoa0xHgMYJhLQ1L9ZOFqZ
xiOeQ+fCcS43lvbrlWg5
=Nclf
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 02 Nov 2015 07:29:25 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 7 00:41:19 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.