Debian Bug report logs - #577113
dpkg-source: be able to list supplementary tarballs to include

version graph

Package: dpkg-dev; Maintainer for dpkg-dev is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg-dev is src:dpkg.

Reported by: Rene Engelhard <rene@debian.org>

Date: Fri, 9 Apr 2010 18:12:01 UTC

Severity: wishlist

Found in version dpkg/1.15.5.6

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#577113; Package dpkg-dev. (Fri, 09 Apr 2010 18:12:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rene Engelhard <rene@debian.org>:
New Bug report received and forwarded. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Fri, 09 Apr 2010 18:12:04 GMT) Full text and rfc822 format available.

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

From: Rene Engelhard <rene@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: includes gone orig components
Date: Fri, 9 Apr 2010 20:08:42 +0200
Package: dpkg-dev
Version: 1.15.5.6
Severity: normal

Hi,

openoffice.org 3.2.0-6 contains three .orig-component.tar.gzs:

- ooo-build-3-2-0-9
- ext-sources-ooo-build-3-2-0-9
- translation-updates-translation-updates-20100219

this matches the ooo-build 3.2.0.9 release. Now I am going to update
to the ooo-build 3.2.0.10 release and did the following:

- create new .orig-*ooo-build-3-0-10.tar.gz
- remove old ooo-build-3-2-0-9 in the tree
- update debian/source/components [1]

OK, let's look what then happens when building:

(sorry, german, but should be understandable):

 dpkg-source -i -b openoffice.org-3.2.0
dpkg-source: Information: verwende Quellformat »3.0 (quilt)«
dpkg-source: Information: baue openoffice.org unter Benutzung des existierenden ./openoffice.org_3.2.0.orig-ext-sources-ooo-build-3-2-0-10.tar.gz ./openoffice.org_3.2.0.orig-ext-sources-ooo-build-3-2-0-9.tar.gz ./openoffice.org_3.2.0.orig-ooo-build-3-2-0-10.tar.gz ./openoffice.org_3.2.0.orig-ooo-build-3-2-0-9.tar.gz ./openoffice.org_3.2.0.orig-translation-updates-20100219.tar.gz ./openoffice.org_3.2.0.orig.tar.gz
[...]

It even complains about the removal of ooo-build-3-2-0-9 and that it'll
be ignored.

So it's somehow thinking it still should include *ooo-build-3-2-0-9? Why?
Because the .dsc of an old build references it? The dir is completely gone
from the tree and debian/source/components does not have it either.

The only way to get a sane .changes/.dsc (ok, for upload I need to edit
the main .orig.tar.gz out of the changes after building with -sa) is now
to delete those files/move them away.

I think dpkg should 
  - not think stuff should be included when the *whole toplevel dir* of
    that component is gone
  - maybe honour debian/source/components [1]
except of grabbing not used tarballs anymore.

Regards,

Rene

[1] Yes, I know debian/source/components is not officially handled by dpkg. But
I added it in the thought that it was (and I needed a file where the names
are recorded anyways). In this case it'd have immensively helped if dpkg
knew it though because then dpkg can be sure that everything what *should*
be included is mentioned in that file.

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

Kernel: Linux 2.6.32-4-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/dash

Versions of packages dpkg-dev depends on:
ii  base-files        5.2                    Debian base system miscellaneous f
ii  binutils          2.20.1-5               The GNU assembler, linker and bina
ii  bzip2             1.0.5-4                high-quality block-sorting file co
ii  dpkg              1.15.5.6               Debian package management system
ii  libtimedate-perl  1.2000-1               collection of modules to manipulat
ii  lzma              4.43-14                Compression method of 7z format in
ii  make              3.81-8                 An utility for Directing compilati
ii  patch             2.6-2                  Apply a diff file to an original
ii  perl [perl5]      5.10.1-11              Larry Wall's Practical Extraction 
ii  perl-modules      5.10.1-11              Core Perl modules
ii  xz-utils          4.999.9beta+20100307-1 XZ-format compression utilities

Versions of packages dpkg-dev recommends:
ii  build-essential               11.5       Informational list of build-essent
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  gcc [c-compiler]              4:4.4.3-1  The GNU C compiler
ii  gcc-4.3 [c-compiler]          4.3.4-8    The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.3-7    The GNU C compiler
ii  gnupg                         1.4.10-3   GNU privacy guard - a free PGP rep
ii  gpgv                          1.4.10-3   GNU privacy guard - signature veri

Versions of packages dpkg-dev suggests:
ii  debian-keyring [debian-mainta 2010.03.31 GnuPG (and obsolete PGP) keys of D

-- no debconf information




Changed Bug title to 'dpkg-source: be able to list supplementary tarballs to include' from 'includes gone orig components' Request was from Raphaël Hertzog <hertzog@debian.org> to control@bugs.debian.org. (Thu, 29 Apr 2010 19:45:06 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Raphaël Hertzog <hertzog@debian.org> to control@bugs.debian.org. (Thu, 29 Apr 2010 19:45:07 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 13:22:47 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.