reassign 672282 debhelper
thanks

On Wed, 2012-05-09 at 18:53:32 +0200, Goswin von Brederlow wrote:
> 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.

No, this is dh_builddeb through udeb_filename(), so reassigning to
debhelper.

In fairness the underlaying issue here is that dpkg-deb does not have
native knowledge about udeb:s, and other commands need to force the
output filename.

regards,
guillem



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to