[buildd-tools-devel] Bug#589541: buildd: Remove outdated packages.

Kurt Roeckx kurt at roeckx.be
Sun Jul 18 16:17:10 UTC 2010


Package: buildd
Version: 0.60.0-1+buildd20100619.1

Hi,

When I get a log for a package and I try to sign this after a next
version of the same package is uploaded, the files stay in the
build directory.

Example:
Jul 18 12:54:52 buildd[2391]: Starting build (dist=unstable) of gnubiff_2.2.13-2
Jul 18 12:54:52 buildd[2391]: command line: nice -n 0 sbuild --apt-update --batch --stats-dir=/home/buildd/stats --dist=unstable --arch=alpha gnubiff_2.2.13-2
[...]
Jul 18 13:06:00 buildd-mail[11798]: Build of gnubiff_2.2.13-2 (unstable) obsolete -- new version 2.2.13-3
[...]
Jul 18 13:14:50 buildd[2391]: sbuild of gnubiff_2.2.13-2 succeeded -- marking as built in wanna-build
gnubiff: not taken for building (state is Needs-Build). Skipping.
[...]
Jul 18 13:15:03 buildd[2391]: Starting build (dist=unstable) of gnubiff_2.2.13-3
Jul 18 13:15:03 buildd[2391]: command line: nice -n 0 sbuild --apt-update --batch --stats-dir=/home/buildd/stats --dist=unstable --arch=alpha gnubiff_2.2.13-3
[...]
Jul 18 13:34:59 buildd[2391]: sbuild of gnubiff_2.2.13-3 succeeded -- marking as built in wanna-build
Jul 18 13:35:01 buildd[2391]: Build finished.
[...]
Jul 18 15:59:46 buildd-mail[26501]: Log reply from kurt at roeckx.be
Jul 18 15:59:46 buildd-mail[26501]: Error: gnubiff_2.2.13-2 (unstable) outdated; new versions unstable:gnubiff_2.2.13-3
[...]
Jul 18 16:00:00 buildd-mail[26631]: Log reply from kurt at roeckx.be
Jul 18 16:00:01 buildd-mail[26587]: Moved gnubiff_2.2.13-3 to upload

$ ls -l build/gnubiff*
-rw-r--r-- 1 buildd buildd   1147 2010-07-18 13:08 build/gnubiff_2.2.13-2_alpha.changes
-rw-r--r-- 1 buildd buildd 544836 2010-07-18 13:08 build/gnubiff_2.2.13-2_alpha.deb

At some point those .deb files should get removed.  As this log
shows this should be done after the package is atleast built.  The
moment of signing is probably the easiest, you'll else probably
have various scenarios to deal with.


Kurt






More information about the Buildd-tools-devel mailing list