[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#5225: dpkg-dev doesn't handle epochs

Package: dpkg-dev

When building packages with an epoch (f.e. Version: 1:1.2.10-1), dpkg
builds all .deb files and the .dsc file without the epoch in the
filename, and dpkg-buildpackage and dpkg-genchanges look for the
package with the epoch.  For instance, if I have the package foo, with
the version 1:1.0-1 in the changelog, dpkg will build the package in
foo_1.0-1_arch.deb, and the source in foo_1.0.orig.tar.gz,
foo_1.0-1.diff.gz, and foo_1.0-1.dsc, and the binary in
foo_1.0-1_arch.deb. dpkg-buildpackage will then try to sign
foo_1:1.0-1.dsc. If this problem is worked around by moving the .dsc
file, then dpkg-gencontrol complains it can not find

The fix is to strip the epoch from the version when building the
.changes file and signing the changes and dsc files.

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: