Bug#681292: sbuild: Please add "binary-only=yes" keyword in the changelog for binNMUs

July 12th, 2012 - 03:10 am ET by Raphaël Hertzog | Report spam
Package: sbuild
Version: 0.63.1-1
Severity: wishlist

dpkg-dev introduced a generic solution for binNMUs that doesn't hardcode
the requirement to use a "+bX" suffix. All you have to do is to add
a "binary-only=yes" keyword in the changelog header line like this:

ftplib (3.1-1-9+b1) unstable; urgency=low, binary-only=yes

When this keyword is present, dpkg-gencontrol will assume that the source
version is the one listed in the changelog entry below the one tagged
binary-only.

This gives us the freedom to do binary-only uploads with different
suffixes, for instance we could use "~bpo6.0+1" to build squeeze backports
while reusing the same source package that is in testing.

Please update sbuild to add this keyword. It should not break anything
for older versions of dpkg as long as you stick to the usual suffix.

Cheers,

Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.4-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbuild depends on:
ii adduser 3.113+nmu3
ii apt-utils 0.9.7.1
ii libsbuild-perl 0.63.1-1
ii perl 5.14.2-12
ii perl-modules 5.14.2-12

Versions of packages sbuild recommends:
ii debootstrap 1.0.42
ii fakeroot 1.18.4-2

Versions of packages sbuild suggests:
ii deborphan 1.7.28.8
ii wget 1.13.4-3




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 3 repliesReplies Make a reply

Similar topics

Replies

#1 Roger Leigh
July 16th, 2012 - 07:00 am ET | Report spam
On Thu, Jul 12, 2012 at 08:57:53AM +0200, Raphaël Hertzog wrote:
dpkg-dev introduced a generic solution for binNMUs that doesn't hardcode
the requirement to use a "+bX" suffix. All you have to do is to add
a "binary-only=yes" keyword in the changelog header line like this:

ftplib (3.1-1-9+b1) unstable; urgency=low, binary-only=yes



Adding this will be fine. I just have a question regarding
backward compatibility:

Will older versions of dpkg work with the new binary-onlykeyword (i.e. ignore it)? Or will we need to do a dpkg
version check and do this conditionally?


Thanks,
Roger

.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#2 Roger Leigh
July 17th, 2012 - 05:10 am ET | Report spam
On Tue, Jul 17, 2012 at 10:56:34AM +0200, Raphael Hertzog wrote:
Hi,

On Mon, 16 Jul 2012, Roger Leigh wrote:
> Will older versions of dpkg work with the new binary-only> > keyword (i.e. ignore it)? Or will we need to do a dpkg
> version check and do this conditionally?

They do work but they spit out a somewhat annoying warning about an
unknown keyword. We might do a stable update to fix this if if it's
allowed by the SRM.



OK, so I'll go ahead and implement this in sbuild since it's not
actually going to trigger any failures. If it's working in
wheezy, that should be fine (I don't imagine binNMUs in
squeeze/oldstable will be that common).


Thanks,
Roger

.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#3 Raphael Hertzog
July 17th, 2012 - 05:10 am ET | Report spam
Hi,

On Mon, 16 Jul 2012, Roger Leigh wrote:
Will older versions of dpkg work with the new binary-only> keyword (i.e. ignore it)? Or will we need to do a dpkg
version check and do this conditionally?



They do work but they spit out a somewhat annoying warning about an
unknown keyword. We might do a stable update to fix this if if it's
allowed by the SRM.

Cheers,
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
http://debian-handbook.info/get/


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search