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

Bug#806262: lintian: fails to find _all.changes for arch:all-only builds (-A)



Package: lintian
Version: 2.5.38.1
Severity: important

Hi,

Running a build with the -A flag leads to a confused lintian as it tried
to find a _amd64.changes file where an _all.changes file was produced.
Full transcript follows:
| (sid-amd64-devel)kibi@wodi:~/debian-installer/packages/base-installer$ debuild -A
|  dpkg-buildpackage -rfakeroot -D -us -uc -A
| dpkg-buildpackage: source package base-installer
| dpkg-buildpackage: source version 1.158
| dpkg-buildpackage: source distribution UNRELEASED
| dpkg-buildpackage: source changed by Cyril Brulebois <kibi@debian.org>
|  dpkg-source --before-build base-installer
|  fakeroot debian/rules clean
| dh clean
|    dh_testdir
|    dh_auto_clean
| 	make -j1 clean
| make[1]: Entering directory '/home/kibi/debian-installer/packages/base-installer'
| rm -f pkgdetails run-debootstrap
| make[1]: Leaving directory '/home/kibi/debian-installer/packages/base-installer'
|    dh_clean
|  debian/rules build-indep
| dh build-indep
|    dh_testdir -i
|    dh_auto_configure -i
|    debian/rules override_dh_auto_build
| make[1]: Entering directory '/home/kibi/debian-installer/packages/base-installer'
| debian/templates-build.pl amd64 < debian/templates-arch > debian/templates.gen
| # give the new templates file the same mtime as the input file, so
| # that po2debconf doesn't decide that it needs to run
| # debconf-updatepo
| touch -mr debian/templates-arch debian/templates.gen
| /usr/bin/make small 
| make[2]: Entering directory '/home/kibi/debian-installer/packages/base-installer'
| cc -Os -Wall -g -D_GNU_SOURCE -Os -fomit-frame-pointer -o pkgdetails pkgdetails.c
| cc -Os -Wall -g -D_GNU_SOURCE -Os -fomit-frame-pointer -o run-debootstrap run-debootstrap.c -ldebconfclient -ldebian-installer
| strip --remove-section=.comment --remove-section=.note pkgdetails run-debootstrap
| ls -l pkgdetails run-debootstrap
| -rwxr-xr-x 1 kibi kibi 10944 Nov 26 00:40 pkgdetails
| -rwxr-xr-x 1 kibi kibi 11016 Nov 26 00:40 run-debootstrap
| make[2]: Leaving directory '/home/kibi/debian-installer/packages/base-installer'
| make[1]: Leaving directory '/home/kibi/debian-installer/packages/base-installer'
|    dh_auto_test -i
| 	make -j1 test
| make[1]: Entering directory '/home/kibi/debian-installer/packages/base-installer'
| make -C kernel test
| make[2]: Entering directory '/home/kibi/debian-installer/packages/base-installer/kernel'
| alpha: 24 passes, 0 failures.
| amd64: 10 passes, 0 failures.
| arm64: 27 passes, 0 failures.
| armeb: 6 passes, 0 failures.
| armel: 92 passes, 0 failures.
| armhf: 104 passes, 0 failures.
| hppa: 36 passes, 0 failures.
| i386: 230 passes, 0 failures.
| ia64: 22 passes, 0 failures.
| m68k: 14 passes, 0 failures.
| mips: 97 passes, 0 failures.
| mipsel: 85 passes, 0 failures.
| powerpc: 134 passes, 0 failures.
| ppc64el: 16 passes, 0 failures.
| s390x: 7 passes, 0 failures.
| sh4: 20 passes, 0 failures.
| sparc: 36 passes, 0 failures.
| kfreebsd-amd64: 16 passes, 0 failures.
| kfreebsd-i386: 32 passes, 0 failures.
| make[2]: Leaving directory '/home/kibi/debian-installer/packages/base-installer/kernel'
| make[1]: Leaving directory '/home/kibi/debian-installer/packages/base-installer'
|  fakeroot debian/rules binary-indep
| dh binary-indep
|    dh_testroot -i
|    dh_prep -i
|    dh_auto_install -i
|    dh_install -i
|    dh_installdocs -i
|    dh_installchangelogs -i
|    dh_installdebconf -i
|    dh_perl -i
|    dh_link -i
|    dh_strip_nondeterminism -i
|    dh_compress -i
|    dh_fixperms -i
|    dh_installdeb -i
|    dh_gencontrol -i
| dpkg-gencontrol: warning: Depends field of package base-installer: unknown substitution variable ${shlibs:Depends}
|    dh_md5sums -i
|    dh_builddeb -i
| dpkg-deb: building package 'base-installer' in 'debian/.debhelper/scratch-space/build-base-installer/base-installer_1.158_all.deb'.
| 	Renaming base-installer_1.158_all.deb to base-installer_1.158_all.udeb
|  dpkg-genchanges -A >../base-installer_1.158_all.changes
| dpkg-genchanges: binary-only arch-indep upload (source code and arch-specific packages not included)
|  dpkg-source --after-build base-installer
| dpkg-buildpackage: source-only upload: Debian-native package
| Now running lintian...
| warning: "base-installer_1.158_amd64.changes" cannot be processed.
| warning: It is not a valid lab query and it is not an existing file.
| Finished running lintian.
| (sid-amd64-devel)kibi@wodi:~/debian-installer/packages/base-installer$ ls ../base-installer_1.158_all.changes 
| ../base-installer_1.158_all.changes

Please note that if you want to reproduce this with base-installer, the
version in the archive FTBFS with -A, so you'll need to fetch it from
git, where a patch fixes the FTBFS.

After a build with -b, another build with -A doesn't lead to such a
warning, because the “wrong” file is used. (Lucky me, I had no former
builds for this specific version, that's how I noticed the issue in the
first place.)

Mraw,
KiBi.


Reply to: