Package: dpkg
Version: 1.15.8.12
Severity: normal
File: /usr/bin/dpkg-deb

Hi,

I'm building a backport of cdebootstrap for work and we automatically add
+<codename> to the version of binary packages using

   dh_gencontrol -- -v$(VERSION)

to make it clearer for what release a backport was build. But then I
get the following:

...
dpkg-deb: building package `cdebootstrap-static' in
`../cdebootstrap-static_0.5.8ubuntu1+ql1+squeeze_amd64.deb'.
dpkg-deb: warning: 'debian/cdebootstrap-udeb/DEBIAN/control' contains
user-defined field 'Original-Maintainer'
dpkg-deb: warning: ignoring 1 warning about the control file(s)

dpkg-deb: building package `cdebootstrap-udeb' in
`../cdebootstrap-udeb_0.5.8ubuntu1+ql1_amd64.udeb'.
 dpkg-genchanges -b
>../cdebootstrap_0.5.8ubuntu1+ql1_amd64+squeeze.changes
dpkg-genchanges: binary-only upload - not including any source code
dpkg-genchanges: error: cannot fstat file
../cdebootstrap-udeb_0.5.8ubuntu1+ql1+squeeze_amd64.udeb: No such file
or directory
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
debuild: fatal error at line 1332:


% cat debian/cdebootstrap-udeb/DEBIAN/control
Package: cdebootstrap-udeb
Source: cdebootstrap (0.5.8ubuntu1+ql1)
Version: 0.5.8ubuntu1+ql1+squeeze


It looks to me like dpkg-deb is using the source version when building
the udeb instead of the Version from DEBIAN/control.

The problem is reproducible under Squeeze (dpkg 1.15.8.12), Ubuntu
Lucid (dpkg 1.15.5.6ubuntu2) and Ubuntu Precise (dpkg 1.16.1.2).

MfG
        Goswin

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

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to