Package: mini-buildd-bld
Version: 0.8.12
Severity: normal
Tags: patch

Hi,

mini-buildd does not correctly handle auto-backports of packages whose
version contains an epoch, for example xinetd (current version in
testing is 1:2.3.14-7). The error message in 40_Postbuild_i386.02_Backports.log
is

....
dpkg-source: failure: cannot open 
/home/mini-buildd/bld/builds/xinetd_1:2.3.14-7_20110103:094950:316504503-i386/xinetd_1:2.3.14-7.dsc:
 No such file or directory
W: Backport for etch FAILED (see log above).
....

The name of the source package should not contain the epoch (i.e., it
should read xinetd_2.3.14-7.dsc).

This problem can be fixed in mbd-qa-check. See the patch in the attachment.

Thanks.

Daniel

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- /usr/share/mini-buildd/mbd-qa-check.0.8.12~ab50+1   2010-01-12 
16:14:52.000000000 +0100
+++ /usr/share/mini-buildd/mbd-qa-check 2011-01-03 14:45:41.000000000 +0100
@@ -256,11 +256,12 @@
                                # Work in dist subdir to avoid collisions, 
unpack original DSP and enter DST
                                mkdir -v "${d}"
                                cd "${d}"
-                               dpkg-source -x "$(dirname 
"${MBD_TMP_CFA}")/${mbdParseCF_source}_${mbdParseCF_version}.dsc" DST
+                               dpkg-source -x "$(dirname 
"${MBD_TMP_CFA}")/${mbdParseCF_package}.dsc" DST
                                cd "DST"
 
                                # Taint DST (CL/Version only): Use original 
version, replace manadatory version parts only.
                                local 
bpoVersion=${mbdParseCF_version/$(mbdGetMandatoryVersionPart 
"${mbdParseCF_dist}" norevision)/$(mbdGetMandatoryVersionPart "${d}" 
norevision)}
+                               local bpoVersion_noepoch=${bpoVersion#*:}
                                (
                                        export 
DEBFULLNAME="${MBD_AUTOBUILD_MAINTAINER}"
                                        export DEBEMAIL="mini-bui...@$(hostname 
-f)"
@@ -288,7 +289,7 @@
 
                                # Go up from DST, and upload backport back to 
repository bpo spool
                                cd ..
-                               local 
bpoCF="${mbdParseCF_source}_${bpoVersion}_source.changes"
+                               local 
bpoCF="${mbdParseCF_source}_${bpoVersion_noepoch}_source.changes"
                                echo "Source package build, uploading: ${bpoCF}"
                                # Use subshell as we run "global" parse
                                (

Reply via email to