Bug#737632: autopkgtest: adt-run builds packages differently to the buildd

Stuart Prescott stuart at debian.org
Tue Feb 4 13:48:53 UTC 2014


Hi Martin,

> However, dpkg-buildpackage also defines env vars like
> $DEB_HOST_MULTIARCH these days, which some packages use but don't
> define. Granted, this is a bug in debian/rules and we have fixed a
> number of them, but these days I really consider dpkg-buildpackage as
> the primary interface to building binaries.
> 
> Therefore I fully agree to replacing "debian/rules build" with
> "dpkg-buildpackage -us -uc -b", to do the same thing as our buildds.

that would mimic the buildd case and sounds like a good solution to the 
problem to me. autopkgtest would then also benefit immediately from any changes 
to dpkg-buildpackage that were driven by policy in the behaviour of the clean 
target, environment etc.

thanks!
Stuart

-- 
Stuart Prescott    http://www.nanonanonano.net/   stuart at nanonanonano.net
Debian Developer   http://www.debian.org/         stuart at debian.org
GPG fingerprint    BE65 FD1E F4EA 08F3 23D4 3C6D 9FE8 B8CD 71C5 D1A8
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7



More information about the autopkgtest-devel mailing list