Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1109004

Bug#1014537: unnamed packaging files in a multibinary package should be an error

From Steve Langasek <steve.langasek@canonical.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1014537: unnamed packaging files in a multibinary package should be an error
Date 2022-07-07 18:00 +0200
Message-ID <EGC53-9Mmo-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: debhelper
Version: 13.8
Severity: wishlist
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu kinetic

Hi Niels,

I was recently doing work on a package where, for $reasons, I was deleting a
binary package from debian/control.

This had very bad side effects, because the debian/ directory for this
package contained debian/dirs, debian/install, and debian/postinst; and the
package I was deleting from debian/control was the first listed; so the
consequence of this change was that debhelper was suddenly applying these
files to the next binary package in debian/control, with very incorrect
effects.

This kind of packaging, with some packaging files under debian/ having an
associated binary package name and some not, is an antipattern.

I would like to suggest that in the next debhelper compat level, debhelper
should consider it an error when debian/control lists more than one binary
package, but contains unnamed packaging files under debian/.  This of course
would only solve this particular class of bug for packages that update to
the current debhelper compat level, and changing debian/control to remove
(or reorder) binary packages is an infrequent operation; nevertheless this
seems worth doing IMHO.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1014537: unnamed packaging files in a multibinary package should be an error Steve Langasek <steve.langasek@canonical.com> - 2022-07-07 18:00 +0200
  Bug#1014537: unnamed packaging files in a multibinary package should be an error gregor herrmann <gregoa@debian.org> - 2022-07-09 00:20 +0200

csiph-web