Activity log for bug #570669

Date Who What changed Old value New value Message
2010-04-27 12:09:39 Marc Deslauriers bug added bug
2010-04-27 12:10:33 Marc Deslauriers nominated for series Ubuntu Karmic
2010-04-27 12:10:33 Marc Deslauriers bug task added sbuild (Ubuntu Karmic)
2010-04-27 12:10:47 Marc Deslauriers sbuild (Ubuntu): status New Fix Released
2010-04-27 12:10:59 Marc Deslauriers sbuild (Ubuntu Karmic): assignee Marc Deslauriers (mdeslaur)
2010-04-27 12:12:43 Marc Deslauriers attachment added debdiff to fix the issue http://launchpadlibrarian.net/45711047/sbuild_0.59.0-1ubuntu1.1.debdiff
2010-05-03 14:16:56 Martin Pitt sbuild (Ubuntu Karmic): status New Fix Committed
2010-05-03 14:17:06 Martin Pitt tags verification-needed
2010-05-05 11:09:22 Launchpad Janitor branch linked lp:ubuntu/karmic-proposed/sbuild
2010-07-01 17:20:39 Jean-Baptiste Lallement description Binary package hint: sbuild This is a request for a sbuild SRU for karmic. sbuild in karmic has a df subroutine in lib/Sbuild.pm to check for free disk space. Unfortunately, the code checks for used space, and not free space. This was fixed in upstream sbuild 0.60.0, and I've backported the patch to lucid. This is a hard bug to test, as disk usage needs to be just right for sbuild to fail with a insufficient disk space error when there is ample disk space left. The bug has been addressed by the simple fix in the attached debdiff. Binary package hint: sbuild This is a request for a sbuild SRU for karmic. sbuild in karmic has a df subroutine in lib/Sbuild.pm to check for free disk space. Unfortunately, the code checks for used space, and not free space. This was fixed in upstream sbuild 0.60.0, and I've backported the patch to lucid. This is a hard bug to test, as disk usage needs to be just right for sbuild to fail with a insufficient disk space error when there is ample disk space left. The bug has been addressed by the simple fix in the attached debdiff. TEST CASE: 1. Create a filesystem on a file and mount it 1.1 dd if=/dev/zero of=./fakefs bs=1M count=2000 1.2. mke2fs ./fakefs 1.3. mkdir mnt 1.4. mount -t ext2 ./fakefs ./mnt/ -o loop 2. Setup a build environment with a chroot on this newly created device 3. Build a large package (build size need to be twice the used space on the device in order to trigger the bug) A randomly chosen package is ... linux sbuild -d karmic linux_2.6.31-22.60.dsc VERIFICATION FAILED: - build fail with the following error: === Check disc space ──────────────── Disc space is propably not enough for building. (Source needs 426276 KB, free are 802060 KB.) === Which is approximately what is used on the loop device Filesystem 1K-blocks Used Available Use% Mounted on /dev/loop0 2015824 779644 1133780 41% /home/karmic/SRU/570669/mnt VERIFICATION DONE: - The package builds with success (or at least the disk space check is ok) REGRESSION: None, Sbuild:df is called once in Sbuild.pm and another time in Daemon.pm and in both cases to check free space.
2010-07-01 17:23:34 Jean-Baptiste Lallement tags verification-needed verification-done
2010-07-01 19:51:07 Launchpad Janitor sbuild (Ubuntu Karmic): status Fix Committed Fix Released
2011-09-19 21:15:03 Ubuntu Foundations Team Bug Bot tags verification-done testcase verification-done