[buildd-tools-devel] Bug#637931: Bug#637931: sbuild: Does not fetch source files after upgrade to 0.62.5-1 anymore

Adrian Glaubitz glaubitz at physik.fu-berlin.de
Mon Aug 15 22:30:31 UTC 2011


Hi Roger,

Thanks for the quick reply!

On Mon, Aug 15, 2011 at 11:21:59PM +0100, Roger Leigh wrote:
> 
> Could you possibly try building with "--debug" and run sbuild from
> within script so we get a complete transcript of the debugging
> messages?  This should help to pin down why it fails to download
> the sources.  A copy of your /etc/sbuild/sbuild.conf and
> ~/.sbuildrc would also be useful in case it's due to a configuration
> issue.
> 

Invoked sbuild with:

sbuild --debug -d wheezy http://ftp.de.debian.org/debian/pool/contrib/k/kcemu/kcemu_0.5.1+dfsg-2.dsc > kcemu-sbuild-0.62.5-1-debug.log 2>&1

Attached created debug log file and my .sbuildrc which essentially doesn't
define anything, hence default settings. I used the same configuration
files for both versions of sbuild.

Regards,

Adrian
-------------- next part --------------
# example for ~/.sbuildrc.  (Also see /etc/sbuild/sbuild.conf.)  -*- Perl -*-
#
# Default settings are commented out.
# Additional options found in /etc/sbuild/sbuild.conf may be
# overridden here.


##
## DPKG-BUILDPACKAGE OPTIONS
##

# Name to use as override in .changes files for the Maintainer: field
# Defaults to the DEBEMAIL environment variable, if set, or else the
# Maintainer: field will not be overridden unless set here.
#$maintainer_name='Francesco Paolo Lovergine <frankie at debian.org>';

# Name to use as override in .changes file for the Changed-By: field.
#$uploader_name='Francesco Paolo Lovergine <frankie at debian.org>';

# Key ID to use in .changes for the current upload.
# It overrides both $maintainer_name and $uploader_name
#$key_id='Francesco Paolo Lovergine <frankie at debian.org>';

# PGP-related option to pass to dpkg-buildpackage. Usually neither .dsc
# nor .changes files shall be signed automatically.
#$pgp_options = ['-us', '-uc'];

# By default, do not build a source package (binary only build).
# Set to 1 to force creation of a source package, but note that
# this is inappropriate for binary NMUs, where the option will
# always be disabled.
#$build_source = 0;

# By default, the -s option only includes the .orig.tar.gz when needed
# (i.e. when the Debian revision is 0 or 1).  By setting this option
# to 1, the .orig.tar.gz will always be included when -s is used.
# This is equivalent to --force-orig-source.
#$force_orig_source = 0;

# PATH to set when running dpkg-buildpackage.
#$path = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/games";

# This command is run with the dpkg-buildpackage command line passed to it
# (in the chroot, if doing a chrooted build).  It is used by the sparc buildd
# (which is sparc64) to call the wrapper script that sets the environment to
# sparc (32-bit).  It could be used for other build environment setup scripts
#
#$build_env_cmnd = "";


##
## SBUILD BEHAVIOUR
##

# Default distribution.  By default, no distribution is defined, and
# the user must specify it with the -d option.  However, a default may
# be configured here if desired.  Users must take care not to upload
# to the wrong distribution when this option is set, for example
# experimental packages will be built for upload to unstable when this
# is not what is required.
#$distribution = 'unstable';

# Default chroot (defaults to distribution[-arch][-sbuild])
#$chroot = 'unstable-powerpc-sbuild';

# When to purge the build directory afterwards; possible values are "never",
# "successful", and "always"
#$purge_build_directory="successful";

# sbuild behaviour; possible values are "user" (exit status reports
# build failures) and "buildd" (exit status does not report build
# failures) for use in a buildd setup.
#$sbuild_mode = "user";


##
## TIMEOUTS
##

# Time to wait for a source dependency lock.  The default is 1 minute.
#$srcdep_lock_wait = 1; # 1 minute

# Time (in minutes) of inactivity after which a build is terminated. Activity
# is measured by output to the log file.
#$stalled_pkg_timeout = 150;

# Some packages may exceed the general timeout (e.g. redirecting output to
# a file) and need a different timeout. Below are some examples.
#%individual_stalled_pkg_timeout = (smalleiffel => 300,
#				   jade => 300,
#				   atlas => 300,
#				   glibc => 1000,
#				   'gcc-3.3' => 300,
#				   kwave => 600);
#

##
## FILE AND DIRECTORY LOCATIONS
##

# This option is deprecated.  Directory for chroot symlinks and sbuild
# logs.  Defaults to the current directory if unspecified.  It is used
# as the location of chroot symlinks (obsolete) and for current build
# log symlinks and some build logs.  There is no default; if unset, it
# defaults to the current working directory.  $HOME/build is another
# common configuration.
#$build_dir = undef;

# Directory for writing build logs to
#$log_dir = "$HOME/logs";

# Directory for writing build statistics to
#$stats_dir = "$HOME/stats";


# don't remove this, Perl needs it:
1;

-------------- next part --------------
Selected distribution wheezy
D: Setting Config=Sbuild::ConfBase=HASH(0x1980f78)
D: Setting ABORT=undef
D: Setting Job=http://ftp.de.debian.org/debian/pool/contrib/k/kcemu/kcemu_0.5.1+dfsg-2.dsc
D: Setting Arch=undef
D: Setting Chroot Dir=
D: Setting Chroot Build Dir=
D: Setting Build Dir=
D: Setting Max Lock Trys=120
D: Setting Lock Interval=5
D: Setting Pkg Status=pending
D: Setting Pkg Status Trigger=undef
D: Setting Pkg Start Time=0
D: Setting Pkg End Time=0
D: Setting Pkg Fail Stage=init
D: Setting Build Start Time=0
D: Setting Build End Time=0
D: Setting Install Start Time=0
D: Setting Install End Time=0
D: Setting This Time=0
D: Setting This Space=0
D: Setting This Watches=HASH(0x2b403d8)
D: Setting Sub Task=initialisation
D: Setting Config=Sbuild::ConfBase=HASH(0x1980f78)
D: Setting Session ID=
D: Setting Chroot ID=/
D: Setting Defaults=HASH(0x2b34ce8)
D: Setting Split=1
D: Setting Split=0
D: Setting Host=Sbuild::ChrootRoot=HASH(0x2b32fe0)
D: Setting Priority=0
D: Setting Location=/
D: Setting Session Purged=0
D: Setting Session=undef
D: Setting Dependency Resolver=undef
D: Setting Log File=undef
D: Setting Log Stream=undef
D: Setting Summary Stats=HASH(0x2b352a0)
D: Setting DSC: http://ftp.de.debian.org/debian/pool/contrib/k/kcemu/kcemu_0.5.1+dfsg-2.dsc
D: Setting DSC=http://ftp.de.debian.org/debian/pool/contrib/k/kcemu/kcemu_0.5.1+dfsg-2.dsc
D: Setting Source Dir=http://ftp.de.debian.org/debian/pool/contrib/k/kcemu
D: Setting DSC Base=kcemu_0.5.1+dfsg-2.dsc
D: DSC = http://ftp.de.debian.org/debian/pool/contrib/k/kcemu/kcemu_0.5.1+dfsg-2.dsc
D: Source Dir = http://ftp.de.debian.org/debian/pool/contrib/k/kcemu
D: DSC Base = kcemu_0.5.1+dfsg-2.dsc
D: Setting package version: kcemu_0.5.1+dfsg-2
D: Setting Package=kcemu
D: Setting Version=0.5.1+dfsg-2
D: Setting Package_Version=kcemu_0.5.1+dfsg-2
D: Setting Package_OVersion=kcemu_0.5.1+dfsg-2
D: Setting Package_OSVersion=kcemu_0.5.1+dfsg-2
D: Setting Package_SVersion=kcemu_0.5.1+dfsg-2
D: Setting OVersion=0.5.1+dfsg-2
D: Setting OSVersion=0.5.1+dfsg-2
D: Setting SVersion=0.5.1+dfsg-2
D: Setting VersionEpoch=
D: Setting VersionUpstream=0.5.1+dfsg
D: Setting VersionDebian=2
D: Setting DSC File=kcemu_0.5.1+dfsg-2.dsc
D: Setting DSC Dir=kcemu-0.5.1+dfsg
D: Package = kcemu
D: Version = 0.5.1+dfsg-2
D: Package_Version = kcemu_0.5.1+dfsg-2
D: Package_OVersion = kcemu_0.5.1+dfsg-2
D: Package_OSVersion = kcemu_0.5.1+dfsg-2
D: Package_SVersion = kcemu_0.5.1+dfsg-2
D: OVersion = 0.5.1+dfsg-2
D: OSVersion = 0.5.1+dfsg-2
D: SVersion = 0.5.1+dfsg-2
D: VersionEpoch = 
D: VersionUpstream = 0.5.1+dfsg
D: VersionDebian = 2
D: DSC File = kcemu_0.5.1+dfsg-2.dsc
D: DSC Dir = kcemu-0.5.1+dfsg
D: Setting Download=0
D: Setting Download=1
D: Setting Invalid Source=0
D: Download = 1
D: Invalid Source = 0
D: Setting Pkg Status Trigger=CODE(0x24d7088)
D: Setting Pkg Status=building
D: Setting Pkg Start Time=1313447115
D: Setting Pkg End Time=1313447115
D: Setting Arch=amd64
D: Setting FILTER_PREFIX=__SBUILD_FILTER_4666:
D: Setting COLOUR_PREFIX=__SBUILD_COLOUR_4666:
D: Setting Log File=undef
D: Setting Log Stream=undef
$job = bless( {
                'DSC Dir' => 'kcemu-0.5.1+dfsg',
                'This Watches' => {},
                'Arch' => 'amd64',
                'DSC' => 'http://ftp.de.debian.org/debian/pool/contrib/k/kcemu/kcemu_0.5.1+dfsg-2.dsc',
                'Build Start Time' => 0,
                'Config' => bless( {
                                     'CHECK' => 1,
                                     'KEYS' => {
                                                 'VERBOSE' => {
                                                                'VALUE' => undef,
                                                                'NAME' => 'VERBOSE',
                                                                'GROUP' => 'Logging options',
                                                                'DEFAULT' => 0,
                                                                'TYPE' => 'NUMERIC',
                                                                'VARNAME' => 'verbose',
                                                                'HELP' => 'Verbose logging level',
                                                                'GET' => sub { "DUMMY" }
                                                              },
                                                 'CHROOT_MODE' => {
                                                                    'VALUE' => undef,
                                                                    'NAME' => 'CHROOT_MODE',
                                                                    'GROUP' => 'Chroot options',
                                                                    'DEFAULT' => 'schroot',
                                                                    'CHECK' => sub { "DUMMY" },
                                                                    'TYPE' => 'STRING',
                                                                    'VARNAME' => 'chroot_mode',
                                                                    'HELP' => 'Mechanism to use for chroot virtualisation.  Possible value are "schroot" (default) and "sudo".'
                                                                  },
                                                 'APT_ALLOW_UNAUTHENTICATED' => {
                                                                                  'VARNAME' => 'apt_allow_unauthenticated',
                                                                                  'VALUE' => undef,
                                                                                  'NAME' => 'APT_ALLOW_UNAUTHENTICATED',
                                                                                  'HELP' => 'Force APT to accept unauthenticated packages.  By default, unauthenticated packages are not allowed.  This is to keep the build environment secure, using apt-secure(8).  By setting this to 1, APT::Get::AllowUnauthenticated is set to "true" when running apt-get. This is disabled by default: only enable it if you know what you are doing.',
                                                                                  'GROUP' => 'Chroot options',
                                                                                  'DEFAULT' => 0,
                                                                                  'TYPE' => 'BOOL'
                                                                                },
                                                 'BUILD_DEP_RESOLVER' => {
                                                                           'VALUE' => undef,
                                                                           'NAME' => 'BUILD_DEP_RESOLVER',
                                                                           'GROUP' => 'Dependency resolution',
                                                                           'CHECK' => sub { "DUMMY" },
                                                                           'DEFAULT' => 'apt',
                                                                           'TYPE' => 'STRING',
                                                                           'VARNAME' => 'build_dep_resolver',
                                                                           'HELP' => 'Build dependency resolver.  The \'apt\' resolver is currently the default, and recommended for most users.  This resolver uses apt-get to resolve dependencies.  Alternative resolvers are \'apt\' and \'aptitude\', which use a built-in resolver module and aptitude to resolve build dependencies, respectively.  The internal resolver is not capable of resolving complex alternative and virtual package dependencies, but is otherwise equivalent to apt.  The aptitude resolver is similar to apt, but is useful in more complex situations, such as where multiple distributions are required, for example when building from experimental, where packages are needed from both unstable and experimental, but defaulting to unstable.'
                                                                         },
                                                 'AVG_SPACE_DB' => {
                                                                     'VARNAME' => 'avg_space_db',
                                                                     'VALUE' => undef,
                                                                     'NAME' => 'AVG_SPACE_DB',
                                                                     'HELP' => 'Name of a database for logging package space requirement (optional, no database is written if empty)',
                                                                     'GROUP' => 'Statistics',
                                                                     'DEFAULT' => '/var/lib/sbuild/avg-build-space',
                                                                     'TYPE' => 'STRING'
                                                                   },
                                                 'BUILD_ENV_CMND' => {
                                                                       'VARNAME' => 'build_env_cmnd',
                                                                       'VALUE' => undef,
                                                                       'NAME' => 'BUILD_ENV_CMND',
                                                                       'HELP' => 'This command is run with the dpkg-buildpackage command line passed to it (in the chroot, if doing a chrooted build).  It is used by the sparc buildd (which is sparc64) to call the wrapper script that sets the environment to sparc (32-bit).  It could be used for other build environment setup scripts.  Note that this is superceded by schroot\'s \'command-prefix\' option',
                                                                       'GROUP' => 'Build options',
                                                                       'DEFAULT' => '',
                                                                       'TYPE' => 'STRING'
                                                                     },
                                                 'CHECK_SPACE' => {
                                                                    'VARNAME' => 'check_space',
                                                                    'VALUE' => undef,
                                                                    'NAME' => 'CHECK_SPACE',
                                                                    'HELP' => 'Check free disk space prior to starting a build.  sbuild requires the free space to be at least twice the size of the unpacked sources to allow a build to proceed.  Can be disabled to allow building if space is very limited, but the threshold to abort a build has been exceeded despite there being sufficient space for the build to complete.',
                                                                    'GROUP' => 'Build options',
                                                                    'DEFAULT' => 1,
                                                                    'TYPE' => 'BOOL'
                                                                  },
                                                 'LOG_EXTERNAL_COMMAND_OUTPUT' => {
                                                                                    'VARNAME' => 'log_external_command_output',
                                                                                    'VALUE' => undef,
                                                                                    'NAME' => 'LOG_EXTERNAL_COMMAND_OUTPUT',
                                                                                    'HELP' => 'Log standard output of commands run by sbuild?',
                                                                                    'GROUP' => 'Chroot options',
                                                                                    'DEFAULT' => 1,
                                                                                    'TYPE' => 'BOOL'
                                                                                  },
                                                 'PIUPARTS' => {
                                                                 'VALUE' => undef,
                                                                 'NAME' => 'PIUPARTS',
                                                                 'GROUP' => 'Build validation',
                                                                 'DEFAULT' => 'piuparts',
                                                                 'CHECK' => sub { "DUMMY" },
                                                                 'TYPE' => 'STRING',
                                                                 'VARNAME' => 'piuparts',
                                                                 'HELP' => 'Path to piuparts binary'
                                                               },
                                                 'SCHROOT' => {
                                                                'NAME' => 'SCHROOT',
                                                                'HELP' => 'Path to schroot binary',
                                                                'GROUP' => '__INTERNAL',
                                                                'DEFAULT' => 'schroot',
                                                                'CHECK' => sub { "DUMMY" },
                                                                'TYPE' => 'STRING'
                                                              },
                                                 'IGNORE_WATCHES_NO_BUILD_DEPS' => {
                                                                                     'VARNAME' => 'ignore_watches_no_build_deps',
                                                                                     'VALUE' => undef,
                                                                                     'NAME' => 'IGNORE_WATCHES_NO_BUILD_DEPS',
                                                                                     'HELP' => 'Ignore watches on the following packages if the package doesn\'t have its own build dependencies in the .dsc.  Note that for backward compatibility, this is also settable using the array @ignore_watches_no_build_deps (deprecated), rather than an array reference.',
                                                                                     'GROUP' => 'Watch options',
                                                                                     'DEFAULT' => [],
                                                                                     'TYPE' => 'ARRAY:STRING'
                                                                                   },
                                                 'LOG_COLOUR' => {
                                                                   'VARNAME' => 'log_colour',
                                                                   'VALUE' => undef,
                                                                   'NAME' => 'LOG_COLOUR',
                                                                   'HELP' => 'Colour log messages such as critical failures, warnings and sucess',
                                                                   'GROUP' => 'Logging options',
                                                                   'DEFAULT' => 1,
                                                                   'TYPE' => 'BOOL'
                                                                 },
                                                 'CHROOT_SPLIT' => {
                                                                     'VARNAME' => 'chroot_split',
                                                                     'VALUE' => undef,
                                                                     'NAME' => 'CHROOT_SPLIT',
                                                                     'HELP' => 'Run in split mode?  In split mode, apt-get and dpkg are run on the host system, rather than inside the chroot.',
                                                                     'GROUP' => 'Chroot options',
                                                                     'DEFAULT' => 0,
                                                                     'TYPE' => 'BOOL'
                                                                   },
                                                 'PIUPARTS_ROOT_ARGS' => {
                                                                           'VARNAME' => 'piuparts_root_args',
                                                                           'VALUE' => undef,
                                                                           'NAME' => 'PIUPARTS_ROOT_ARGS',
                                                                           'HELP' => 'Preceding arguments to launch piuparts as root. If no arguments are specified, piuparts will be launched via sudo.',
                                                                           'GROUP' => 'Build validation',
                                                                           'DEFAULT' => [],
                                                                           'TYPE' => 'ARRAY:STRING'
                                                                         },
                                                 'MIME_BUILD_LOG_MAILS' => {
                                                                             'VARNAME' => 'mime_build_log_mails',
                                                                             'VALUE' => undef,
                                                                             'NAME' => 'MIME_BUILD_LOG_MAILS',
                                                                             'HELP' => 'Should build log mails be MIME encoded?',
                                                                             'GROUP' => 'Logging options',
                                                                             'DEFAULT' => 1,
                                                                             'TYPE' => 'BOOL'
                                                                           },
                                                 'SBUILD_BUILD_DEPENDS_SECRET_KEY' => {
                                                                                        'VARNAME' => 'sbuild_build_depends_secret_key',
                                                                                        'VALUE' => undef,
                                                                                        'NAME' => 'SBUILD_BUILD_DEPENDS_SECRET_KEY',
                                                                                        'HELP' => 'GPG secret key for temporary local apt archive.',
                                                                                        'GROUP' => 'Dependency resolution',
                                                                                        'DEFAULT' => '/var/lib/sbuild/apt-keys/sbuild-key.sec',
                                                                                        'TYPE' => 'STRING'
                                                                                      },
                                                 'LOG_FILTER' => {
                                                                   'VARNAME' => 'log_filter',
                                                                   'VALUE' => undef,
                                                                   'NAME' => 'LOG_FILTER',
                                                                   'HELP' => 'Filter variable strings from log messages such as the chroot name and build directory',
                                                                   'GROUP' => 'Logging options',
                                                                   'DEFAULT' => 1,
                                                                   'TYPE' => 'BOOL'
                                                                 },
                                                 'LOG_DIR_AVAILABLE' => {
                                                                          'NAME' => 'LOG_DIR_AVAILABLE',
                                                                          'GROUP' => '__INTERNAL',
                                                                          'GET' => sub { "DUMMY" },
                                                                          'TYPE' => 'BOOL'
                                                                        },
                                                 'SUDO' => {
                                                             'VALUE' => undef,
                                                             'NAME' => 'SUDO',
                                                             'GROUP' => 'Programs',
                                                             'DEFAULT' => 'sudo',
                                                             'CHECK' => sub { "DUMMY" },
                                                             'TYPE' => 'STRING',
                                                             'VARNAME' => 'sudo',
                                                             'HELP' => 'Path to sudo binary'
                                                           },
                                                 'COMPRESS_BUILD_LOG_MAILS' => {
                                                                                 'VARNAME' => 'compress_build_log_mails',
                                                                                 'VALUE' => undef,
                                                                                 'NAME' => 'COMPRESS_BUILD_LOG_MAILS',
                                                                                 'HELP' => 'Should build log mails be compressed?',
                                                                                 'GROUP' => 'Logging options',
                                                                                 'DEFAULT' => 1,
                                                                                 'TYPE' => 'BOOL'
                                                                               },
                                                 'BUILD_SOURCE' => {
                                                                     'VALUE' => undef,
                                                                     'NAME' => 'BUILD_SOURCE',
                                                                     'GROUP' => 'Build options',
                                                                     'CHECK' => sub { "DUMMY" },
                                                                     'DEFAULT' => 0,
                                                                     'TYPE' => 'BOOL',
                                                                     'VARNAME' => 'build_source',
                                                                     'HELP' => 'By default, do not build a source package (binary only build).  Set to 1 to force creation of a source package, but note that this is inappropriate for binary NMUs, where the option will always be disabled.'
                                                                   },
                                                 'GCC_SNAPSHOT' => {
                                                                     'VARNAME' => 'gcc_snapshot',
                                                                     'VALUE' => undef,
                                                                     'NAME' => 'GCC_SNAPSHOT',
                                                                     'HELP' => 'Build using current GCC snapshot?',
                                                                     'GROUP' => 'Build options',
                                                                     'DEFAULT' => 0,
                                                                     'TYPE' => 'BOOL'
                                                                   },
                                                 'BIN_NMU_VERSION' => {
                                                                        'NAME' => 'BIN_NMU_VERSION',
                                                                        'HELP' => 'Binary NMU version number.  Do not set by hand.',
                                                                        'GROUP' => '__INTERNAL',
                                                                        'DEFAULT' => undef,
                                                                        'TYPE' => 'STRING'
                                                                      },
                                                 'STATS_DIR' => {
                                                                  'VARNAME' => 'stats_dir',
                                                                  'VALUE' => undef,
                                                                  'NAME' => 'STATS_DIR',
                                                                  'HELP' => 'Directory for writing build statistics to',
                                                                  'GROUP' => 'Statistics',
                                                                  'DEFAULT' => '/home/glaubitz/stats',
                                                                  'TYPE' => 'STRING'
                                                                },
                                                 'PATH' => {
                                                             'VARNAME' => 'path',
                                                             'VALUE' => undef,
                                                             'NAME' => 'PATH',
                                                             'HELP' => 'PATH to set when running dpkg-buildpackage.',
                                                             'GROUP' => 'Build environment',
                                                             'DEFAULT' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games',
                                                             'TYPE' => 'STRING'
                                                           },
                                                 'PIUPARTS_OPTIONS' => {
                                                                         'VARNAME' => 'piuparts_opts',
                                                                         'VALUE' => undef,
                                                                         'NAME' => 'PIUPARTS_OPTIONS',
                                                                         'HELP' => 'Options to pass to piuparts.  Each option is a separate arrayref element.  For example, [\'-b\', \'<chroot_tarball>\'] to add -b and <chroot_tarball>.',
                                                                         'GROUP' => 'Build validation',
                                                                         'DEFAULT' => [],
                                                                         'TYPE' => 'ARRAY:STRING'
                                                                       },
                                                 'UPLOADER_NAME' => {
                                                                      'SET' => sub { "DUMMY" },
                                                                      'VALUE' => undef,
                                                                      'NAME' => 'UPLOADER_NAME',
                                                                      'GROUP' => 'Maintainer options',
                                                                      'DEFAULT' => undef,
                                                                      'TYPE' => 'STRING',
                                                                      'VARNAME' => 'uploader_name',
                                                                      'HELP' => 'Name to use as override in .changes file for the Changed-By: field.'
                                                                    },
                                                 'EXTERNAL_COMMANDS' => {
                                                                          'VALUE' => undef,
                                                                          'NAME' => 'EXTERNAL_COMMANDS',
                                                                          'GROUP' => 'Chroot options',
                                                                          'DEFAULT' => {
                                                                                         'post-build-commands' => [],
                                                                                         'chroot-setup-commands' => [],
                                                                                         'chroot-cleanup-commands' => [],
                                                                                         'pre-build-commands' => []
                                                                                       },
                                                                          'TYPE' => 'HASH:ARRAY:ARRAY:STRING',
                                                                          'VARNAME' => 'external_commands',
                                                                          'HELP' => 'External commands to run at various stages of a build. Commands are held in a hash of arrays of arrays data structure.',
                                                                          'EXAMPLE' => '$external_commands = {
    "pre-build-commands" => [
        [\'foo\', \'arg1\', \'arg2\'],
        [\'bar\', \'arg1\', \'arg2\', \'arg3\'],
    ],
    "chroot-setup-commands" => [
        [\'foo\', \'arg1\', \'arg2\'],
        [\'bar\', \'arg1\', \'arg2\', \'arg3\'],
    ],
    "chroot-cleanup-commands" => [
        [\'foo\', \'arg1\', \'arg2\'],
        [\'bar\', \'arg1\', \'arg2\', \'arg3\'],
    ],
    "post-build-commands" => [
        [\'foo\', \'arg1\', \'arg2\'],
        [\'bar\', \'arg1\', \'arg2\', \'arg3\'],
    ],
};'
                                                                        },
                                                 'CORE_DEPENDS' => {
                                                                     'VARNAME' => 'core_depends',
                                                                     'VALUE' => undef,
                                                                     'NAME' => 'CORE_DEPENDS',
                                                                     'HELP' => 'Packages which must be installed in the chroot for all builds.',
                                                                     'GROUP' => 'Core options',
                                                                     'DEFAULT' => [
                                                                                    'build-essential',
                                                                                    'fakeroot'
                                                                                  ],
                                                                     'TYPE' => 'ARRAY:STRING'
                                                                   },
                                                 'RUN_LINTIAN' => {
                                                                    'VALUE' => undef,
                                                                    'NAME' => 'RUN_LINTIAN',
                                                                    'GROUP' => 'Build validation',
                                                                    'DEFAULT' => 0,
                                                                    'CHECK' => sub { "DUMMY" },
                                                                    'TYPE' => 'BOOL',
                                                                    'VARNAME' => 'run_lintian',
                                                                    'HELP' => 'Run lintian?'
                                                                  },
                                                 'FULLNAME' => {
                                                                 'NAME' => 'FULLNAME',
                                                                 'HELP' => 'User\'s full name.  Should not require setting.',
                                                                 'GROUP' => '__INTERNAL',
                                                                 'DEFAULT' => 'John Paul Adrian Glaubitz',
                                                                 'TYPE' => 'STRING'
                                                               },
                                                 'ENVIRONMENT_FILTER' => {
                                                                           'VARNAME' => 'environment_filter',
                                                                           'VALUE' => undef,
                                                                           'NAME' => 'ENVIRONMENT_FILTER',
                                                                           'HELP' => 'Only environment variables matching one of the regular expressions in this arrayref will be passed to dpkg-buildpackage and other programs run by sbuild.',
                                                                           'GROUP' => 'Core options',
                                                                           'DEFAULT' => [
                                                                                          '^PATH$',
                                                                                          '^DEB(IAN|SIGN)?_[A-Z_]+$',
                                                                                          '^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$',
                                                                                          '^USER(NAME)?$',
                                                                                          '^LOGNAME$',
                                                                                          '^HOME$',
                                                                                          '^TERM$',
                                                                                          '^SHELL$'
                                                                                        ],
                                                                           'TYPE' => 'ARRAY:STRING'
                                                                         },
                                                 'CHROOT' => {
                                                               'VARNAME' => 'chroot',
                                                               'VALUE' => undef,
                                                               'NAME' => 'CHROOT',
                                                               'HELP' => 'Default chroot (defaults to distribution[-arch][-sbuild])',
                                                               'GROUP' => 'Chroot options',
                                                               'DEFAULT' => undef,
                                                               'TYPE' => 'STRING'
                                                             },
                                                 'INDIVIDUAL_STALLED_PKG_TIMEOUT' => {
                                                                                       'VALUE' => undef,
                                                                                       'NAME' => 'INDIVIDUAL_STALLED_PKG_TIMEOUT',
                                                                                       'GROUP' => 'Build timeouts',
                                                                                       'DEFAULT' => {},
                                                                                       'TYPE' => 'HASH:NUMERIC',
                                                                                       'VARNAME' => 'individual_stalled_pkg_timeout',
                                                                                       'HELP' => 'Some packages may exceed the general timeout (e.g. redirecting output to a file) and need a different timeout.  This has is a mapping between source package name and timeout.  Note that for backward compatibility, this is also settable using the hash %individual_stalled_pkg_timeout (deprecated) , rather than a hash reference.',
                                                                                       'EXAMPLE' => '%individual_stalled_pkg_timeout = (smalleiffel => 300,
				   jade => 300,
				   atlas => 300,
				   glibc => 1000,
				   \'gcc-3.3\' => 300,
				   kwave => 600);'
                                                                                     },
                                                 'APT_GET' => {
                                                                'VALUE' => undef,
                                                                'NAME' => 'APT_GET',
                                                                'GROUP' => 'Programs',
                                                                'DEFAULT' => 'apt-get',
                                                                'CHECK' => sub { "DUMMY" },
                                                                'TYPE' => 'STRING',
                                                                'VARNAME' => 'apt_get',
                                                                'HELP' => 'Path to apt-get binary'
                                                              },
                                                 'APT_CLEAN' => {
                                                                  'VARNAME' => 'apt_clean',
                                                                  'VALUE' => undef,
                                                                  'NAME' => 'APT_CLEAN',
                                                                  'HELP' => 'APT clean.  1 to enable running "apt-get clean" at the start of each build, or 0 to disable.',
                                                                  'GROUP' => 'Chroot options',
                                                                  'DEFAULT' => 0,
                                                                  'TYPE' => 'BOOL'
                                                                },
                                                 'MANUAL_DEPENDS_INDEP' => {
                                                                             'NAME' => 'MANUAL_DEPENDS_INDEP',
                                                                             'HELP' => 'Additional per-build dependencies.  Do not set by hand.',
                                                                             'GROUP' => '__INTERNAL',
                                                                             'DEFAULT' => [],
                                                                             'TYPE' => 'ARRAY:STRING'
                                                                           },
                                                 'KEY_ID' => {
                                                               'VARNAME' => 'key_id',
                                                               'VALUE' => undef,
                                                               'NAME' => 'KEY_ID',
                                                               'HELP' => 'Key ID to use in .changes for the current upload.  It overrides both $maintainer_name and $uploader_name.',
                                                               'GROUP' => 'Maintainer options',
                                                               'DEFAULT' => undef,
                                                               'TYPE' => 'STRING'
                                                             },
                                                 'BIN_NMU' => {
                                                                'NAME' => 'BIN_NMU',
                                                                'HELP' => 'Binary NMU changelog entry.  Do not set by hand.',
                                                                'GROUP' => '__INTERNAL',
                                                                'CHECK' => $job->{'Config'}{'KEYS'}{'BUILD_SOURCE'}{'CHECK'},
                                                                'DEFAULT' => undef,
                                                                'TYPE' => 'STRING'
                                                              },
                                                 'APT_POLICY' => {
                                                                   'VARNAME' => 'apt_policy',
                                                                   'VALUE' => undef,
                                                                   'NAME' => 'APT_POLICY',
                                                                   'HELP' => 'APT policy.  1 to enable additional checking of package versions available in the APT cache, or 0 to disable.  0 is the traditional sbuild behaviour; 1 is needed to build from additional repositories such as sarge-backports or experimental, and has a small performance cost.  Note that this is only used by the internal resolver.',
                                                                   'GROUP' => 'Dependency resolution',
                                                                   'DEFAULT' => 1,
                                                                   'TYPE' => 'BOOL'
                                                                 },
                                                 'JOB_FILE' => {
                                                                 'VARNAME' => 'job_file',
                                                                 'VALUE' => undef,
                                                                 'NAME' => 'JOB_FILE',
                                                                 'HELP' => 'Job status file (only used in batch mode)',
                                                                 'GROUP' => 'Core options',
                                                                 'DEFAULT' => 'build-progress',
                                                                 'TYPE' => 'STRING'
                                                               },
                                                 'SBUILD_MODE' => {
                                                                    'VARNAME' => 'sbuild_mode',
                                                                    'VALUE' => undef,
                                                                    'NAME' => 'SBUILD_MODE',
                                                                    'HELP' => 'sbuild behaviour; possible values are "user" (exit status reports build failures) and "buildd" (exit status does not report build failures) for use in a buildd setup.  "buildd" also currently implies enabling of "legacy features" such as chroot symlinks in the build directory and the creation of current symlinks in the build directory.',
                                                                    'GROUP' => 'Core options',
                                                                    'DEFAULT' => 'user',
                                                                    'TYPE' => 'STRING'
                                                                  },
                                                 'APT_UPDATE_ARCHIVE_ONLY' => {
                                                                                'VARNAME' => 'apt_update_archive_only',
                                                                                'VALUE' => undef,
                                                                                'NAME' => 'APT_UPDATE_ARCHIVE_ONLY',
                                                                                'HELP' => 'Update local temporary APT archive directly (1, the default) or set to 0 to disable and do a full apt update (not recommended in case the mirror content has changed since the build started).',
                                                                                'GROUP' => 'Chroot options',
                                                                                'DEFAULT' => 1,
                                                                                'TYPE' => 'BOOL'
                                                                              },
                                                 'HOSTNAME' => {
                                                                 'NAME' => 'HOSTNAME',
                                                                 'HELP' => 'System hostname.  Should not require setting.',
                                                                 'GROUP' => '__INTERNAL',
                                                                 'DEFAULT' => 'z6',
                                                                 'TYPE' => 'STRING'
                                                               },
                                                 'ARCHIVE' => {
                                                                'VARNAME' => 'archive',
                                                                'VALUE' => undef,
                                                                'NAME' => 'ARCHIVE',
                                                                'HELP' => 'Archive being built.  Only set in build log.  This might be useful for derivative distributions.',
                                                                'GROUP' => 'Core options',
                                                                'DEFAULT' => undef,
                                                                'TYPE' => 'STRING'
                                                              },
                                                 'APPEND_TO_VERSION' => {
                                                                          'VALUE' => undef,
                                                                          'NAME' => 'APPEND_TO_VERSION',
                                                                          'GROUP' => 'Build options',
                                                                          'CHECK' => $job->{'Config'}{'KEYS'}{'BUILD_SOURCE'}{'CHECK'},
                                                                          'DEFAULT' => undef,
                                                                          'TYPE' => 'STRING',
                                                                          'VARNAME' => 'append_to_version',
                                                                          'HELP' => 'Suffix to append to version number.  May be useful for derivative distributions.'
                                                                        },
                                                 'MAILTO' => {
                                                               'VALUE' => undef,
                                                               'NAME' => 'MAILTO',
                                                               'GROUP' => 'Logging options',
                                                               'DEFAULT' => '',
                                                               'CHECK' => sub { "DUMMY" },
                                                               'TYPE' => 'STRING',
                                                               'VARNAME' => 'mailto',
                                                               'HELP' => 'email address to mail build logs to',
                                                               'GET' => sub { "DUMMY" }
                                                             },
                                                 'MAILPROG' => {
                                                                 'VALUE' => undef,
                                                                 'NAME' => 'MAILPROG',
                                                                 'GROUP' => 'Programs',
                                                                 'DEFAULT' => '/usr/sbin/sendmail',
                                                                 'CHECK' => sub { "DUMMY" },
                                                                 'TYPE' => 'STRING',
                                                                 'VARNAME' => 'mailprog',
                                                                 'HELP' => 'Program to use to send mail'
                                                               },
                                                 'FORCE_ORIG_SOURCE' => {
                                                                          'VARNAME' => 'force_orig_source',
                                                                          'VALUE' => undef,
                                                                          'NAME' => 'FORCE_ORIG_SOURCE',
                                                                          'HELP' => 'By default, the -s option only includes the .orig.tar.gz when needed (i.e. when the Debian revision is 0 or 1).  By setting this option to 1, the .orig.tar.gz will always be included when -s is used.  This is equivalent to --force-orig-source.',
                                                                          'GROUP' => 'Build options',
                                                                          'DEFAULT' => 0,
                                                                          'TYPE' => 'BOOL'
                                                                        },
                                                 'TOOLCHAIN_REGEX' => {
                                                                        'VARNAME' => 'toolchain_regex',
                                                                        'VALUE' => undef,
                                                                        'NAME' => 'TOOLCHAIN_REGEX',
                                                                        'HELP' => 'Regular expressions identifying toolchain packages.  Note that for backward compatible, this is also settable using the array @toolchain_regex (deprecated), rather than an array reference.',
                                                                        'GROUP' => 'Build options',
                                                                        'DEFAULT' => [
                                                                                       'binutils$',
                                                                                       'dpkg-dev$',
                                                                                       'gcc-[\\d.]+$',
                                                                                       'g\\+\\+-[\\d.]+$',
                                                                                       'libstdc\\+\\+',
                                                                                       'libc[\\d.]+-dev$',
                                                                                       'linux-kernel-headers$',
                                                                                       'linux-libc-dev$',
                                                                                       'gnumach-dev$',
                                                                                       'hurd-dev$',
                                                                                       'kfreebsd-kernel-headers$'
                                                                                     ],
                                                                        'TYPE' => 'ARRAY:STRING'
                                                                      },
                                                 'SBUILD_BUILD_DEPENDS_PUBLIC_KEY' => {
                                                                                        'VARNAME' => 'sbuild_build_depends_public_key',
                                                                                        'VALUE' => undef,
                                                                                        'NAME' => 'SBUILD_BUILD_DEPENDS_PUBLIC_KEY',
                                                                                        'HELP' => 'GPG public key for temporary local apt archive.',
                                                                                        'GROUP' => 'Dependency resolution',
                                                                                        'DEFAULT' => '/var/lib/sbuild/apt-keys/sbuild-key.pub',
                                                                                        'TYPE' => 'STRING'
                                                                                      },
                                                 'PURGE_SESSION' => {
                                                                      'VALUE' => undef,
                                                                      'NAME' => 'PURGE_SESSION',
                                                                      'GROUP' => 'Chroot options',
                                                                      'DEFAULT' => 'always',
                                                                      'CHECK' => sub { "DUMMY" },
                                                                      'TYPE' => 'STRING',
                                                                      'VARNAME' => 'purge_session',
                                                                      'HELP' => 'Purge the schroot session following a build.  This is useful in conjunction with the --purge and --purge-deps options when using snapshot chroots, since by default the snapshot will be deleted. Possible values are "always" (default), "never", and "successful"'
                                                                    },
                                                 'SU' => {
                                                           'VALUE' => undef,
                                                           'NAME' => 'SU',
                                                           'GROUP' => 'Programs',
                                                           'DEFAULT' => 'su',
                                                           'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                           'TYPE' => 'STRING',
                                                           'VARNAME' => 'su',
                                                           'HELP' => 'Path to su binary'
                                                         },
                                                 'BATCH_MODE' => {
                                                                   'NAME' => 'BATCH_MODE',
                                                                   'HELP' => 'Enable batch mode?',
                                                                   'GROUP' => '__INTERNAL',
                                                                   'DEFAULT' => 0,
                                                                   'TYPE' => 'BOOL'
                                                                 },
                                                 'PACKAGE_CHECKLIST' => {
                                                                          'VARNAME' => 'package_checklist',
                                                                          'VALUE' => undef,
                                                                          'NAME' => 'PACKAGE_CHECKLIST',
                                                                          'HELP' => 'Where to store list currently installed packages inside chroot',
                                                                          'GROUP' => 'Chroot options',
                                                                          'DEFAULT' => '/var/lib/sbuild/package-checklist',
                                                                          'TYPE' => 'STRING'
                                                                        },
                                                 'APT_CACHE' => {
                                                                  'VALUE' => undef,
                                                                  'NAME' => 'APT_CACHE',
                                                                  'GROUP' => 'Programs',
                                                                  'DEFAULT' => 'apt-cache',
                                                                  'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                                  'TYPE' => 'STRING',
                                                                  'VARNAME' => 'apt_cache',
                                                                  'HELP' => 'Path to apt-cache binary'
                                                                },
                                                 'APT_UPGRADE' => {
                                                                    'VARNAME' => 'apt_upgrade',
                                                                    'VALUE' => undef,
                                                                    'NAME' => 'APT_UPGRADE',
                                                                    'HELP' => 'APT upgrade.  1 to enable running "apt-get upgrade" at the start of each build, or 0 to disable.',
                                                                    'GROUP' => 'Chroot options',
                                                                    'DEFAULT' => 0,
                                                                    'TYPE' => 'BOOL'
                                                                  },
                                                 'FAKEROOT' => {
                                                                 'VARNAME' => 'fakeroot',
                                                                 'VALUE' => undef,
                                                                 'NAME' => 'FAKEROOT',
                                                                 'HELP' => 'Path to fakeroot binary',
                                                                 'GROUP' => 'Programs',
                                                                 'DEFAULT' => 'fakeroot',
                                                                 'TYPE' => 'STRING'
                                                               },
                                                 'CWD' => {
                                                            'NAME' => 'CWD',
                                                            'HELP' => 'Current working directory at time of configuration reading.',
                                                            'GROUP' => '__INTERNAL',
                                                            'DEFAULT' => '/home/glaubitz/bsnes',
                                                            'TYPE' => 'STRING'
                                                          },
                                                 'BUILD_DIR' => {
                                                                  'VALUE' => undef,
                                                                  'NAME' => 'BUILD_DIR',
                                                                  'GROUP' => 'Core options',
                                                                  'CHECK' => sub { "DUMMY" },
                                                                  'DEFAULT' => '/home/glaubitz/bsnes',
                                                                  'IGNORE_DEFAULT' => 1,
                                                                  'TYPE' => 'STRING',
                                                                  'VARNAME' => 'build_dir',
                                                                  'HELP' => 'This option is deprecated.  Directory for chroot symlinks and sbuild logs.  Defaults to the current directory if unspecified.  It is used as the location of chroot symlinks (obsolete) and for current build log symlinks and some build logs.  There is no default; if unset, it defaults to the current working directory.  $HOME/build is another common configuration.',
                                                                  'EXAMPLE' => '$build_dir = \'/home/pete/build\';'
                                                                },
                                                 'PURGE_BUILD_DEPS' => {
                                                                         'VALUE' => undef,
                                                                         'NAME' => 'PURGE_BUILD_DEPS',
                                                                         'GROUP' => 'Chroot options',
                                                                         'DEFAULT' => 'always',
                                                                         'CHECK' => sub { "DUMMY" },
                                                                         'TYPE' => 'STRING',
                                                                         'VARNAME' => 'purge_build_deps',
                                                                         'HELP' => 'When to purge the build dependencies after a build; possible values are "never", "successful", and "always"'
                                                                       },
                                                 'MAILFROM' => {
                                                                 'VARNAME' => 'mailfrom',
                                                                 'VALUE' => undef,
                                                                 'NAME' => 'MAILFROM',
                                                                 'HELP' => 'email address set in the From line of build logs',
                                                                 'GROUP' => 'Logging options',
                                                                 'DEFAULT' => 'Source Builder <sbuild>',
                                                                 'TYPE' => 'STRING'
                                                               },
                                                 'LOG_EXTERNAL_COMMAND_ERROR' => {
                                                                                   'VARNAME' => 'log_external_command_error',
                                                                                   'VALUE' => undef,
                                                                                   'NAME' => 'LOG_EXTERNAL_COMMAND_ERROR',
                                                                                   'HELP' => 'Log standard error of commands run by sbuild?',
                                                                                   'GROUP' => 'Chroot options',
                                                                                   'DEFAULT' => 1,
                                                                                   'TYPE' => 'BOOL'
                                                                                 },
                                                 'OVERRIDE_DISTRIBUTION' => {
                                                                              'VALUE' => 1,
                                                                              'NAME' => 'OVERRIDE_DISTRIBUTION',
                                                                              'HELP' => 'Default distribution has been overridden',
                                                                              'GROUP' => '__INTERNAL',
                                                                              'DEFAULT' => 0,
                                                                              'GET' => sub { "DUMMY" },
                                                                              'TYPE' => 'BOOL'
                                                                            },
                                                 'MAILTO_HASH' => {
                                                                    'VARNAME' => 'mailto_hash',
                                                                    'VALUE' => undef,
                                                                    'NAME' => 'MAILTO_HASH',
                                                                    'HELP' => 'Like MAILTO, but per-distribution.  This is a hashref mapping distribution name to MAILTO.  Note that for backward compatibility, this is also settable using the hash %mailto (deprecated), rather than a hash reference.',
                                                                    'GROUP' => 'Logging options',
                                                                    'DEFAULT' => {},
                                                                    'TYPE' => 'HASH:STRING'
                                                                  },
                                                 'AVG_TIME_DB' => {
                                                                    'VARNAME' => 'avg_time_db',
                                                                    'VALUE' => undef,
                                                                    'NAME' => 'AVG_TIME_DB',
                                                                    'HELP' => 'Name of a database for logging package build times (optional, no database is written if empty)',
                                                                    'GROUP' => 'Statistics',
                                                                    'DEFAULT' => '/var/lib/sbuild/avg-build-times',
                                                                    'TYPE' => 'STRING'
                                                                  },
                                                 'LOCK_INTERVAL' => {
                                                                      'VARNAME' => 'lock_interval',
                                                                      'VALUE' => undef,
                                                                      'NAME' => 'LOCK_INTERVAL',
                                                                      'HELP' => 'Lock wait interval (seconds).  Maximum wait time is (max_lock_trys ? lock_interval).',
                                                                      'GROUP' => 'Build timeouts',
                                                                      'DEFAULT' => 5,
                                                                      'TYPE' => 'NUMERIC'
                                                                    },
                                                 'BUILD_ENVIRONMENT' => {
                                                                          'VALUE' => undef,
                                                                          'NAME' => 'BUILD_ENVIRONMENT',
                                                                          'GROUP' => 'Core options',
                                                                          'DEFAULT' => {},
                                                                          'TYPE' => 'HASH:STRING',
                                                                          'VARNAME' => 'build_environment',
                                                                          'HELP' => 'Environment to set during the build.  Defaults to setting PATH and LD_LIBRARY_PATH only.  Note that these environment variables are not subject to filtering with ENVIRONMENT_FILTER.  Example:',
                                                                          'EXAMPLE' => '$build_environment = {
        \'CCACHE_DIR\' => \'/build/cache\'
};'
                                                                        },
                                                 'BUILD_ARCH_ALL' => {
                                                                       'VARNAME' => 'build_arch_all',
                                                                       'VALUE' => undef,
                                                                       'NAME' => 'BUILD_ARCH_ALL',
                                                                       'HELP' => 'Build architecture: all packages by default',
                                                                       'GROUP' => 'Build options',
                                                                       'DEFAULT' => 0,
                                                                       'TYPE' => 'BOOL'
                                                                     },
                                                 'DEBUG' => {
                                                              'VARNAME' => 'debug',
                                                              'VALUE' => 1,
                                                              'NAME' => 'DEBUG',
                                                              'HELP' => 'Debug logging level',
                                                              'GROUP' => 'Logging options',
                                                              'DEFAULT' => 0,
                                                              'TYPE' => 'NUMERIC'
                                                            },
                                                 'MAINTAINER_NAME' => {
                                                                        'SET' => $job->{'Config'}{'KEYS'}{'UPLOADER_NAME'}{'SET'},
                                                                        'VALUE' => undef,
                                                                        'NAME' => 'MAINTAINER_NAME',
                                                                        'GROUP' => 'Maintainer options',
                                                                        'DEFAULT' => undef,
                                                                        'TYPE' => 'STRING',
                                                                        'VARNAME' => 'maintainer_name',
                                                                        'HELP' => 'Name to use as override in .changes files for the Maintainer field.  The Maintainer field will not be overridden unless set here.'
                                                                      },
                                                 'MANUAL_DEPENDS' => {
                                                                       'NAME' => 'MANUAL_DEPENDS',
                                                                       'HELP' => 'Additional per-build dependencies.  Do not set by hand.',
                                                                       'GROUP' => '__INTERNAL',
                                                                       'DEFAULT' => [],
                                                                       'TYPE' => 'ARRAY:STRING'
                                                                     },
                                                 'MANUAL_CONFLICTS_INDEP' => {
                                                                               'NAME' => 'MANUAL_CONFLICTS_INDEP',
                                                                               'HELP' => 'Additional per-build dependencies.  Do not set by hand.',
                                                                               'GROUP' => '__INTERNAL',
                                                                               'DEFAULT' => [],
                                                                               'TYPE' => 'ARRAY:STRING'
                                                                             },
                                                 'MANUAL_CONFLICTS' => {
                                                                         'NAME' => 'MANUAL_CONFLICTS',
                                                                         'HELP' => 'Additional per-build dependencies.  Do not set by hand.',
                                                                         'GROUP' => '__INTERNAL',
                                                                         'DEFAULT' => [],
                                                                         'TYPE' => 'ARRAY:STRING'
                                                                       },
                                                 'PGP_OPTIONS' => {
                                                                    'VARNAME' => 'pgp_options',
                                                                    'VALUE' => undef,
                                                                    'NAME' => 'PGP_OPTIONS',
                                                                    'HELP' => 'Additional signing options for dpkg-buildpackage',
                                                                    'GROUP' => 'Build options',
                                                                    'DEFAULT' => [
                                                                                   '-us',
                                                                                   '-uc'
                                                                                 ],
                                                                    'TYPE' => 'ARRAY:STRING'
                                                                  },
                                                 'LINTIAN_OPTIONS' => {
                                                                        'VARNAME' => 'lintian_opts',
                                                                        'VALUE' => undef,
                                                                        'NAME' => 'LINTIAN_OPTIONS',
                                                                        'HELP' => 'Options to pass to lintian.  Each option is a separate arrayref element.  For example, [\'-i\', \'-v\'] to add -i and -v.',
                                                                        'GROUP' => 'Build validation',
                                                                        'DEFAULT' => [],
                                                                        'TYPE' => 'ARRAY:STRING'
                                                                      },
                                                 'STALLED_PKG_TIMEOUT' => {
                                                                            'VARNAME' => 'stalled_pkg_timeout',
                                                                            'VALUE' => undef,
                                                                            'NAME' => 'STALLED_PKG_TIMEOUT',
                                                                            'HELP' => 'Time (in minutes) of inactivity after which a build is terminated. Activity is measured by output to the log file.',
                                                                            'GROUP' => 'Build timeouts',
                                                                            'DEFAULT' => 150,
                                                                            'TYPE' => 'NUMERIC'
                                                                          },
                                                 'DPKG_BUILDPACKAGE_USER_OPTIONS' => {
                                                                                       'NAME' => 'DPKG_BUILDPACKAGE_USER_OPTIONS',
                                                                                       'HELP' => 'Additional command-line options for dpkg-buildpackage.  Not settable in config.',
                                                                                       'GROUP' => '__INTERNAL',
                                                                                       'DEFAULT' => [],
                                                                                       'TYPE' => 'ARRAY:STRING'
                                                                                     },
                                                 'APTITUDE' => {
                                                                 'VALUE' => undef,
                                                                 'NAME' => 'APTITUDE',
                                                                 'GROUP' => 'Programs',
                                                                 'DEFAULT' => 'aptitude',
                                                                 'CHECK' => sub { "DUMMY" },
                                                                 'TYPE' => 'STRING',
                                                                 'VARNAME' => 'aptitude',
                                                                 'HELP' => 'Path to aptitude binary'
                                                               },
                                                 'DCMD' => {
                                                             'VALUE' => undef,
                                                             'NAME' => 'DCMD',
                                                             'GROUP' => 'Programs',
                                                             'DEFAULT' => 'dcmd',
                                                             'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                             'TYPE' => 'STRING',
                                                             'VARNAME' => 'dcmd',
                                                             'HELP' => 'Path to dcmd binary'
                                                           },
                                                 'MAX_LOCK_TRYS' => {
                                                                      'VARNAME' => 'max_lock_trys',
                                                                      'VALUE' => undef,
                                                                      'NAME' => 'MAX_LOCK_TRYS',
                                                                      'HELP' => 'Number of times to try waiting for a lock.',
                                                                      'GROUP' => 'Build timeouts',
                                                                      'DEFAULT' => 120,
                                                                      'TYPE' => 'NUMERIC'
                                                                    },
                                                 'CHECK_WATCHES' => {
                                                                      'VARNAME' => 'check_watches',
                                                                      'VALUE' => undef,
                                                                      'NAME' => 'CHECK_WATCHES',
                                                                      'HELP' => 'Check watched packages to discover missing build dependencies.  This can be disabled to increase the speed of builds.',
                                                                      'GROUP' => 'Watch options',
                                                                      'DEFAULT' => 1,
                                                                      'TYPE' => 'BOOL'
                                                                    },
                                                 'RESOLVE_ALTERNATIVES' => {
                                                                             'VALUE' => undef,
                                                                             'NAME' => 'RESOLVE_ALTERNATIVES',
                                                                             'GROUP' => 'Dependency resolution',
                                                                             'DEFAULT' => undef,
                                                                             'TYPE' => 'BOOL',
                                                                             'VARNAME' => 'resolve_alternatives',
                                                                             'HELP' => 'Should the dependency resolver use alternatives in Build-Depends and Build-Depends-Indep?  By default, only the first alternative will be used; all other alternatives will be removed.  Note that this does not include architecture-specific alternatives, which are reduced to the build architecture prior to alternatives removal.  This should be left disabled when building for unstable; it may be useful when building backports.',
                                                                             'GET' => sub { "DUMMY" }
                                                                           },
                                                 'HOME' => {
                                                             'NAME' => 'HOME',
                                                             'HELP' => 'User\'s home directory.  Should not require setting.',
                                                             'GROUP' => '__INTERNAL',
                                                             'DEFAULT' => '/home/glaubitz',
                                                             'TYPE' => 'STRING'
                                                           },
                                                 'APT_UPDATE' => {
                                                                   'VARNAME' => 'apt_update',
                                                                   'VALUE' => undef,
                                                                   'NAME' => 'APT_UPDATE',
                                                                   'HELP' => 'APT update.  1 to enable running "apt-get update" at the start of each build, or 0 to disable.',
                                                                   'GROUP' => 'Chroot options',
                                                                   'DEFAULT' => 1,
                                                                   'TYPE' => 'BOOL'
                                                                 },
                                                 'LD_LIBRARY_PATH' => {
                                                                        'VARNAME' => 'ld_library_path',
                                                                        'VALUE' => undef,
                                                                        'NAME' => 'LD_LIBRARY_PATH',
                                                                        'HELP' => 'Library search path to use inside the chroot.',
                                                                        'GROUP' => 'Build environment',
                                                                        'DEFAULT' => undef,
                                                                        'TYPE' => 'STRING'
                                                                      },
                                                 'BUILD_USER' => {
                                                                   'NAME' => 'BUILD_USER',
                                                                   'HELP' => 'Username used for building.  Should not require setting.',
                                                                   'GROUP' => '__INTERNAL',
                                                                   'DEFAULT' => 'glaubitz',
                                                                   'TYPE' => 'STRING'
                                                                 },
                                                 'CHECK_DEPENDS_ALGORITHM' => {
                                                                                'VALUE' => undef,
                                                                                'NAME' => 'CHECK_DEPENDS_ALGORITHM',
                                                                                'GROUP' => 'Dependency resolution',
                                                                                'DEFAULT' => 'first-only',
                                                                                'CHECK' => sub { "DUMMY" },
                                                                                'TYPE' => 'STRING',
                                                                                'VARNAME' => 'check_depends_algorithm',
                                                                                'HELP' => 'Algorithm for build dependency checks: possible values are "first_only" (used by Debian buildds) or "alternatives". Default: "first_only".  Note that this is only used by the internal resolver.'
                                                                              },
                                                 'APT_DISTUPGRADE' => {
                                                                        'VARNAME' => 'apt_distupgrade',
                                                                        'VALUE' => undef,
                                                                        'NAME' => 'APT_DISTUPGRADE',
                                                                        'HELP' => 'APT distupgrade.  1 to enable running "apt-get dist-upgrade" at the start of each build, or 0 to disable.',
                                                                        'GROUP' => 'Chroot options',
                                                                        'DEFAULT' => 1,
                                                                        'TYPE' => 'BOOL'
                                                                      },
                                                 'DISTRIBUTION' => {
                                                                     'SET' => sub { "DUMMY" },
                                                                     'VALUE' => 'wheezy',
                                                                     'NAME' => 'DISTRIBUTION',
                                                                     'GROUP' => 'Build options',
                                                                     'DEFAULT' => undef,
                                                                     'TYPE' => 'STRING',
                                                                     'VARNAME' => 'distribution',
                                                                     'HELP' => 'Default distribution.  By default, no distribution is defined, and the user must specify it with the -d option.  However, a default may be configured here if desired.  Users must take care not to upload to the wrong distribution when this option is set, for example experimental packages will be built for upload to unstable when this is not what is required.'
                                                                   },
                                                 'HOST_ARCH' => {
                                                                  'NAME' => 'HOST_ARCH',
                                                                  'HELP' => 'Host architecture',
                                                                  'GROUP' => '__INTERNAL',
                                                                  'DEFAULT' => 'amd64',
                                                                  'TYPE' => 'STRING'
                                                                },
                                                 'CHROOT_SETUP_SCRIPT' => {
                                                                            'VARNAME' => 'chroot_setup_script',
                                                                            'VALUE' => undef,
                                                                            'NAME' => 'CHROOT_SETUP_SCRIPT',
                                                                            'HELP' => 'Script to run to perform custom setup tasks in the chroot.',
                                                                            'GROUP' => 'Chroot options',
                                                                            'DEFAULT' => undef,
                                                                            'TYPE' => 'STRING'
                                                                          },
                                                 'SCHROOT_OPTIONS' => {
                                                                        'VARNAME' => 'schroot_options',
                                                                        'VALUE' => undef,
                                                                        'NAME' => 'SCHROOT_OPTIONS',
                                                                        'HELP' => 'Additional command-line options for schroot',
                                                                        'GROUP' => 'Programs',
                                                                        'DEFAULT' => [
                                                                                       '-q'
                                                                                     ],
                                                                        'TYPE' => 'ARRAY:STRING'
                                                                      },
                                                 'LOG_DIR' => {
                                                                'VALUE' => undef,
                                                                'NAME' => 'LOG_DIR',
                                                                'GROUP' => 'Logging options',
                                                                'DEFAULT' => '/home/glaubitz/logs',
                                                                'CHECK' => sub { "DUMMY" },
                                                                'TYPE' => 'STRING',
                                                                'VARNAME' => 'log_dir',
                                                                'HELP' => 'Directory for storing build logs'
                                                              },
                                                 'LINTIAN' => {
                                                                'VALUE' => undef,
                                                                'NAME' => 'LINTIAN',
                                                                'GROUP' => 'Build validation',
                                                                'DEFAULT' => 'lintian',
                                                                'CHECK' => sub { "DUMMY" },
                                                                'TYPE' => 'STRING',
                                                                'VARNAME' => 'lintian',
                                                                'HELP' => 'Path to lintian binary'
                                                              },
                                                 'MAILTO_FORCED_BY_CLI' => {
                                                                             'NAME' => 'MAILTO_FORCED_BY_CLI',
                                                                             'GROUP' => '__INTERNAL',
                                                                             'DEFAULT' => 0,
                                                                             'TYPE' => 'BOOL'
                                                                           },
                                                 'RUN_PIUPARTS' => {
                                                                     'VALUE' => undef,
                                                                     'NAME' => 'RUN_PIUPARTS',
                                                                     'GROUP' => 'Build validation',
                                                                     'DEFAULT' => 0,
                                                                     'CHECK' => sub { "DUMMY" },
                                                                     'TYPE' => 'BOOL',
                                                                     'VARNAME' => 'run_piuparts',
                                                                     'HELP' => 'Run piuparts'
                                                                   },
                                                 'USERNAME' => {
                                                                 'NAME' => 'USERNAME',
                                                                 'HELP' => 'User\'s username.  Should not require setting.',
                                                                 'GROUP' => '__INTERNAL',
                                                                 'DEFAULT' => 'glaubitz',
                                                                 'TYPE' => 'STRING'
                                                               },
                                                 'WATCHES' => {
                                                                'VARNAME' => 'watches',
                                                                'VALUE' => undef,
                                                                'NAME' => 'WATCHES',
                                                                'HELP' => 'Binaries for which the access time is controlled if they are not listed as source dependencies (note: /usr/bin is added if executable name does not start with \'/\').  Most buildds run with clean chroots at the moment, so the default list is now empty.  This hash is a mapping between a package name and the binaries in the package stored as an array reference.  Note that for backward compatibility, this is also settable using the hash %watches (deprecated), rather than using a hash reference.',
                                                                'GROUP' => 'Watch options',
                                                                'DEFAULT' => {},
                                                                'TYPE' => 'HASH:ARRAY:STRING'
                                                              },
                                                 'DPKG_SOURCE' => {
                                                                    'VALUE' => undef,
                                                                    'NAME' => 'DPKG_SOURCE',
                                                                    'GROUP' => 'Programs',
                                                                    'DEFAULT' => 'dpkg-source',
                                                                    'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                                    'TYPE' => 'STRING',
                                                                    'VARNAME' => 'dpkg_source',
                                                                    'HELP' => 'Path to dpkg-source binary'
                                                                  },
                                                 'MD5SUM' => {
                                                               'VALUE' => undef,
                                                               'NAME' => 'MD5SUM',
                                                               'GROUP' => 'Programs',
                                                               'DEFAULT' => 'md5sum',
                                                               'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                               'TYPE' => 'STRING',
                                                               'VARNAME' => 'md5sum',
                                                               'HELP' => 'Path to md5sum binary'
                                                             },
                                                 'PURGE_BUILD_DIRECTORY' => {
                                                                              'VALUE' => undef,
                                                                              'NAME' => 'PURGE_BUILD_DIRECTORY',
                                                                              'GROUP' => 'Chroot options',
                                                                              'DEFAULT' => 'always',
                                                                              'CHECK' => sub { "DUMMY" },
                                                                              'TYPE' => 'STRING',
                                                                              'VARNAME' => 'purge_build_directory',
                                                                              'HELP' => 'When to purge the build directory after a build; possible values are "never", "successful", and "always"'
                                                                            },
                                                 'RESOLVE_VIRTUAL' => {
                                                                        'VARNAME' => 'resolve_virtual',
                                                                        'VALUE' => undef,
                                                                        'NAME' => 'RESOLVE_VIRTUAL',
                                                                        'HELP' => 'Attempt to resolve virtual dependencies?  This option is only used by the internal resolver.',
                                                                        'GROUP' => 'Dependency resolution',
                                                                        'DEFAULT' => 0,
                                                                        'TYPE' => 'BOOL'
                                                                      },
                                                 'ARCH' => {
                                                             'VARNAME' => 'arch',
                                                             'VALUE' => undef,
                                                             'NAME' => 'ARCH',
                                                             'HELP' => 'Build architecture.',
                                                             'GROUP' => 'Build options',
                                                             'DEFAULT' => 'amd64',
                                                             'TYPE' => 'STRING'
                                                           },
                                                 'SIGNING_OPTIONS' => {
                                                                        'VALUE' => [],
                                                                        'NAME' => 'SIGNING_OPTIONS',
                                                                        'HELP' => 'PGP-related identity options to pass to dpkg-buildpackage. Usually neither .dsc nor .changes files are not signed automatically.',
                                                                        'GROUP' => '__INTERNAL',
                                                                        'DEFAULT' => '',
                                                                        'TYPE' => 'STRING'
                                                                      },
                                                 'NOLOG' => {
                                                              'NAME' => 'NOLOG',
                                                              'HELP' => 'Disable use of log file',
                                                              'GROUP' => '__INTERNAL',
                                                              'DEFAULT' => 0,
                                                              'TYPE' => 'BOOL'
                                                            },
                                                 'DPKG_SOURCE_OPTIONS' => {
                                                                            'VARNAME' => 'dpkg_source_opts',
                                                                            'VALUE' => undef,
                                                                            'NAME' => 'DPKG_SOURCE_OPTIONS',
                                                                            'HELP' => 'Additional command-line options for dpkg-source',
                                                                            'GROUP' => 'Programs',
                                                                            'DEFAULT' => [],
                                                                            'TYPE' => 'ARRAY:STRING'
                                                                          }
                                               }
                                   }, 'Sbuild::ConfBase' ),
                'VersionUpstream' => '0.5.1+dfsg',
                'COLOUR_PREFIX' => '__SBUILD_COLOUR_4666:',
                'ABORT' => undef,
                'DSC File' => 'kcemu_0.5.1+dfsg-2.dsc',
                'Source Dir' => 'http://ftp.de.debian.org/debian/pool/contrib/k/kcemu',
                'Build Dir' => '/build/kcemu-owPJ0p',
                'Pkg Start Time' => 1313447115,
                'VersionEpoch' => '',
                'Sub Task' => 'initialisation',
                'Job' => 'http://ftp.de.debian.org/debian/pool/contrib/k/kcemu/kcemu_0.5.1+dfsg-2.dsc',
                'This Time' => 0,
                'This Space' => 0,
                'Build End Time' => 0,
                'Download' => 1,
                'OVersion' => '0.5.1+dfsg-2',
                'Version' => '0.5.1+dfsg-2',
                'Chroot Dir' => '/var/lib/schroot/mount/wheezy-amd64-sbuild-aab14c9a-30b8-4599-b5c1-399b911b0c06',
                'Pkg End Time' => 1313447115,
                'OSVersion' => '0.5.1+dfsg-2',
                'Install Start Time' => 0,
                'Pkg Status' => 'failed',
                'FILTER_PREFIX' => '__SBUILD_FILTER_4666:',
                'Package_OSVersion' => 'kcemu_0.5.1+dfsg-2',
                'Package_Version' => 'kcemu_0.5.1+dfsg-2',
                'Host' => bless( {
                                   'Log Stream' => \*{'Sbuild::Build::$PLOG'},
                                   'Defaults' => {
                                                   'STREAMERR' => $job->{'Host'}{'Log Stream'},
                                                   'DIR' => '/home/glaubitz',
                                                   'ENV' => {
                                                              'SHELL' => '/bin/sh',
                                                              'LC_ALL' => 'POSIX'
                                                            },
                                                   'STREAMOUT' => $job->{'Host'}{'Log Stream'},
                                                   'STREAMIN' => \*{'Sbuild::$devnull'},
                                                   'SETSID' => 0,
                                                   'ENV_FILTER' => $job->{'Config'}{'KEYS'}{'ENVIRONMENT_FILTER'}{'DEFAULT'},
                                                   'PRIORITY' => 0,
                                                   'COMMAND' => [],
                                                   'INTCOMMAND' => [],
                                                   'CHROOT' => 1,
                                                   'USER' => 'glaubitz',
                                                   'EXPCOMMAND' => []
                                                 },
                                   'Config' => $job->{'Config'},
                                   'Session ID' => '',
                                   'Chroot ID' => '/',
                                   'Split' => 0,
                                   'Priority' => 0,
                                   'Location' => '/',
                                   'Session Purged' => 0
                                 }, 'Sbuild::ChrootRoot' ),
                'Log Stream' => undef,
                'Package_SVersion' => 'kcemu_0.5.1+dfsg-2',
                'VersionDebian' => '2',
                'Max Lock Trys' => 120,
                'Summary Stats' => {
                                     'Distribution' => 'wheezy',
                                     'Build-Space' => 0,
                                     'Job' => 'http://ftp.de.debian.org/debian/pool/contrib/k/kcemu/kcemu_0.5.1+dfsg-2.dsc',
                                     'Status' => 'failed',
                                     'Package-Time' => 0,
                                     'Fail-Stage' => 'init',
                                     'Install-Time' => 0,
                                     'Build-Time' => 0,
                                     'Space' => 0,
                                     'Version' => '0.5.1+dfsg-2',
                                     'Source-Version' => '0.5.1+dfsg-2',
                                     'Package' => 'kcemu',
                                     'Architecture' => 'amd64'
                                   },
                'Package_OVersion' => 'kcemu_0.5.1+dfsg-2',
                'Pkg Status Trigger' => sub { "DUMMY" },
                'Invalid Source' => 0,
                'Chroot Build Dir' => '/var/lib/schroot/mount/wheezy-amd64-sbuild-aab14c9a-30b8-4599-b5c1-399b911b0c06/build/kcemu-owPJ0p',
                'Log File' => undef,
                'Lock Interval' => 5,
                'Install End Time' => 0,
                'Dependency Resolver' => bless( {
                                                  'Log Stream' => $job->{'Host'}{'Log Stream'},
                                                  'Dummy archive directory' => undef,
                                                  'Aptitude Options' => [],
                                                  'Arch' => 'amd64',
                                                  'Changes' => {
                                                                 'removed' => {},
                                                                 'installed' => {}
                                                               },
                                                  'Config' => $job->{'Config'},
                                                  'AptDependencies' => {},
                                                  'Chroot APT Conf' => '/var/lib/schroot/mount/wheezy-amd64-sbuild-aab14c9a-30b8-4599-b5c1-399b911b0c06//var/lib/sbuild/apt.conf',
                                                  'APT Conf' => '/var/lib/sbuild/apt.conf',
                                                  'Dummy archive list file' => '/var/lib/schroot/mount/wheezy-amd64-sbuild-aab14c9a-30b8-4599-b5c1-399b911b0c06/etc/apt/sources.list.d/sbuild-build-depends-archive.list',
                                                  'Chroot Build Dir' => '/var/lib/schroot/mount/wheezy-amd64-sbuild-aab14c9a-30b8-4599-b5c1-399b911b0c06/build/kcemu-owPJ0p',
                                                  'APT Options' => [],
                                                  'Dummy package path' => undef,
                                                  'Session' => bless( {
                                                                        'Log Stream' => $job->{'Host'}{'Log Stream'},
                                                                        'Chroots' => bless( {
                                                                                              'Chroots' => {
                                                                                                             'chroot' => {
                                                                                                                           'wheezy-amd64-sbuild' => {
                                                                                                                                                      'Namespace' => 'chroot',
                                                                                                                                                      'Location' => '',
                                                                                                                                                      'Priority' => '0',
                                                                                                                                                      'Name' => 'wheezy-amd64-sbuild',
                                                                                                                                                      'Aliases' => '',
                                                                                                                                                      'Session Purged' => 0
                                                                                                                                                    }
                                                                                                                         }
                                                                                                           },
                                                                                              'Config' => $job->{'Config'}
                                                                                            }, 'Sbuild::ChrootInfoSchroot' ),
                                                                        'Defaults' => {
                                                                                        'STREAMERR' => $job->{'Host'}{'Log Stream'},
                                                                                        'DIR' => '/build/kcemu-owPJ0p',
                                                                                        'ENV' => {
                                                                                                   'HOME' => '/sbuild-nonexistent',
                                                                                                   'APT_CONFIG' => '/var/lib/sbuild/apt.conf',
                                                                                                   'SHELL' => '/bin/sh',
                                                                                                   'LC_ALL' => 'POSIX'
                                                                                                 },
                                                                                        'STREAMOUT' => $job->{'Host'}{'Log Stream'},
                                                                                        'STREAMIN' => $job->{'Host'}{'Defaults'}{'STREAMIN'},
                                                                                        'SETSID' => 0,
                                                                                        'ENV_FILTER' => $job->{'Config'}{'KEYS'}{'ENVIRONMENT_FILTER'}{'DEFAULT'},
                                                                                        'PRIORITY' => 0,
                                                                                        'COMMAND' => [],
                                                                                        'INTCOMMAND' => [],
                                                                                        'CHROOT' => 1,
                                                                                        'USER' => 'root',
                                                                                        'EXPCOMMAND' => []
                                                                                      },
                                                                        'Config' => $job->{'Config'},
                                                                        'Session ID' => '',
                                                                        'Chroot ID' => 'chroot:wheezy-amd64-sbuild',
                                                                        'Priority' => '0',
                                                                        'Location' => '/var/lib/schroot/mount/wheezy-amd64-sbuild-aab14c9a-30b8-4599-b5c1-399b911b0c06',
                                                                        'Session Purged' => 0
                                                                      }, 'Sbuild::ChrootSchroot' ),
                                                  'Dummy Release file' => undef,
                                                  'Split' => 0,
                                                  'Host' => $job->{'Host'}
                                                }, 'Sbuild::AptResolver' ),
                'Session' => undef,
                'SVersion' => '0.5.1+dfsg-2',
                'DSC Base' => 'kcemu_0.5.1+dfsg-2.dsc',
                'Package' => 'kcemu',
                'Pkg Fail Stage' => 'init'
              }, 'Sbuild::Build' );


More information about the Buildd-tools-devel mailing list