[buildd-tools-devel] Bug#579926: Bug#579926: schroot and sbuild incompatible

Roger Leigh rleigh at codelibre.net
Sun May 2 11:46:01 UTC 2010


severity 579926 normal
thanks

On Sun, May 02, 2010 at 01:23:50PM +0200, Andreas Barth wrote:
> after installing the recent version of sbuild from build.d.o plus
> schroot from testing (instead of stable), I got a lot of issues:

The bulk of these issues relate to changes in the schroot.conf
file format.  They are merely warnings that you should remove
keys which are no longer used.  Please read the provided NEWS
file which documents these changes.

> schroot -c unstable-mipsel-sbuild
> W: line 6 [sid-experimental-mipsel-sbuild]: Deprecated key 'run-setup-scripts' used
> I: This option will be removed in the future; please update your configuration
> W: line 7 [sid-experimental-mipsel-sbuild]: Deprecated key 'run-exec-scripts' used
> I: This option will be removed in the future; please update your configuration

Just remove run-setup-scripts and run-exec-scripts keys from your chroot
definitions.

> W: line 11 [sid-experimental-mipsel-sbuild]: Unknown key 'source-users' used
> I: This option may be present in a newer version

I'd need to see the chroot definition for this.  Depending upon the chroot
type, it may or may not provide a source chroot.  If it doesn't, this key
isn't valid.  This is just checking more strictly; it was likely already
incorrect.

> E: 25nssdatabases: Unknown database: # System databases to copy into the chroot from the host system.

This isn't part of schroot or sbuild; it's been added to the buildd version
of sbuild to work around the lack of a 20nssdatabases script in schroot
(not present in earlier versions).  If you're upgrading to 1.4.x, then this
may be safely dropped.  You're missing the logic for stripping comment lines
present in the schroot 20nssdatabases script.  You should just delete the
25nssdatabases script since it's just duplicating the functionality of the
provided script, and isn't up to date.  If you need to retain the script
for supporting older schroot versions, please copy the comment stripping
code from 20nssdatabases.


> The exactly same configuration used to work prior to the upgrade to
> the squeeze schroot version.

It would continue to work now (the schroot configuration itself is
completely forward compatible by intent and design).  The only fatal
error here is that the provided nssdatabases-defaults file now contains
comments and your custom 25nssdatabases script is erroring out on that.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100502/02d32a54/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list