[Build-common-hackers] Bug#232809: cdbs: udebs built include epochs in filename

Andres Salomon Andres Salomon <dilinger@voxel.net>, 232809@bugs.debian.org
Sat, 14 Feb 2004 22:54:34 -0500

Package: cdbs
Version: 0.4.19
Severity: normal

udebs built by cdbs include the epoch in the filename.  This is due to
the last line in the binary-makeudeb target:
	$(DEB_DH_BUILDDEB_ENV) dh_builddeb -p$(cdbs_curpkg) --filename=$(cdbs_curpkg)_$(DEB_VERSION)_$(DEB_ARCH).udeb

So, for example, that gets called as follows, w/ a Version: 2:1.00.07-4:
dh_builddeb -plibdevmapper1.00-udeb --filename=libdevmapper1.00-udeb_2:1.00.07-4_i386.udeb

This causes udebs to get rejected:

From: Debian Installer <installer@ftp-master.debian.org>
X-Katie: $Revision: 1.43 $
X-Katie-Rejection: automatic (moo)
Subject: devmapper_1.00.07-4_i386.changes REJECTED

Rejected: !!WARNING!! tainted filename:
Rejected: libdevmapper1.00-udeb_2:1.00.07-4_i386.udeb: version part of
filename (2:1.00.07-4) does not match package version in the udeb

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.1-mm4

-- no debconf information