Bug#429555: dpkg-buildpackage -S is confused by other-arch changes file.
when there is a changes file for other arch, 'dpkg-buildpackage -S -us
-uc -rfakeroot' is confused and tries to look for _i386.changes (my
arch). It should be looking for _source.changes.
[04:06:12]coreduo:pbuilder> LC_ALL=C dpkg-buildpackage -S -rfakeroot -us -uc
dpkg-buildpackage: source package is pbuilder
dpkg-buildpackage: source version is 0.170
dpkg-buildpackage: source changed by Junichi Uekawa <email@example.com>
dpkg-buildpackage: source version without epoch 0.170
fakeroot debian/rules clean
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
make: Entering directory `/home/dancer/DEBIAN/pbuilder/pbuilder'
rm -f *.bak *~ TAGS
rm -f testsuite/testimage
rm -rf testsuite/testbuild testsuite/testbuild2
make: Leaving directory `/home/dancer/DEBIAN/pbuilder/pbuilder'
dpkg-source -b pbuilder
dpkg-source: warning: source directory './pbuilder' is not <sourcepackage>-<upstreamversion> 'pbuilder-0.170'
dpkg-source: building pbuilder in pbuilder_0.170.tar.gz
dpkg-source: building pbuilder in pbuilder_0.170.dsc
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: source only upload: Debian-native package
dpkg-buildpackage: Cannot open ../pbuilder_0.170_i386.changes: No such file or directory
[04:06:25]coreduo:pbuilder> ls -l ../*.changes
-rw-r--r-- 1 dancer dancer 0 2007-06-19 04:00 ../pbuilder_0.170_powerpc.changes
-rw-r--r-- 1 dancer dancer 977 2007-06-19 04:06 ../pbuilder_0.170_source.changes