[buildd-tools-devel] Bug#716762: Bug#716762: sbuild maybe should end the session after package build?

Teodor MICU mteodor at gmail.com
Wed Jul 17 08:59:16 UTC 2013


Hi,

2013/7/13 Roger Leigh <rleigh at codelibre.net>:
> On Fri, Jul 12, 2013 at 03:15:05PM +0300, Teodor wrote:
>> I've noticed that after upgrade to Debian 7, sbuild doesn't end the
>> schroot session anymore. This is confirmed by the log too:
>> | Not removing build depends: as requested
This bug report is not about this line...

>> | Keeping session: wheezy-amd64-sbuild-...
.. but about this one.

>> This is not consistent with schroot behaviour where the session is
>> automatically handled per schroot(1) default --automatic-session.
>
> This is controlled through the sbuild PURGE_BUILD_DEPS configuration
> option ($purge_build_deps = 'always|successful|never' or the --purge-deps
> or --purge command-line options.
>
> Are you sure that this is not being set to "never" either in
> /etc/sbuild/sbuild.conf, .sbuildrc or on the command-line?

I agree with you that dependency handling is done as requested, in my
case not via the configuration file (default) but via command line
options:
     "--purge=never --purge-deps=never"

However, this bug report is about sbuild *leaving* the schroot session
open at the end of the package build. I believe that sbuild should
automatically end the schroot session, session automatically created
to build the package.

Cheers



More information about the Buildd-tools-devel mailing list