[buildd-tools-devel] Bug#790547: Running sbuild hangs after printing Summary

Nikolaus Rath Nikolaus at rath.org
Tue Jun 30 03:52:00 UTC 2015


Package: sbuild
Version: 0.65.2-1
Severity: normal

I realize this is most likely a user error, but I could not find any
other forum to ask for help (is there an sbulid mailinglist somewhere?)
so I'm submitting this as a bug.

I'm trying to build a debian package, but when running it just hangs:

$ sbuild
[...]
╔══════════════════════════════════════════════════════════════════════════════╗
║ python-llfuse 0.40+dfsg-2 (amd64)                          29 Jun 2015 20:50 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: python-llfuse
Version: 0.40+dfsg-2
Source Version: 0.40+dfsg-2
Distribution: UNRELEASED
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64


┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘
^C

If I enable debugging output (full log attached), the last output lines
are:

$ sbuild -D
[...]
                'COLOUR_PREFIX' => '__SBUILD_COLOUR_27178:',
                'This Space' => 0,
                'OVersion' => '0.40+dfsg-2',
                'Pkg Fail Stage' => 'init',
                'Invalid Source' => 0,
                'Install End Time' => 0
              }, 'Sbuild::Build' );


There is no CPU activity at all.


-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.113+nmu3
ii  apt-utils       1.0.9.8
ii  libsbuild-perl  0.65.2-1
ii  perl            5.20.2-3+deb8u1

Versions of packages sbuild recommends:
ii  debootstrap  1.0.67
ii  fakeroot     1.20.2-1

Versions of packages sbuild suggests:
ii  deborphan  1.7.28.8-0.1
ii  wget       1.16-1

-- no debconf information
-------------- next part --------------
D: Setting Log File=/home/nikratio/in-progress/debian-packages/build-area/python-llfuse_0.40+dfsg-2_amd64-20150629-2044.build
D: Setting Log Stream=GLOB(0x36066e8)
sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on vostro.rath.org

╔══════════════════════════════════════════════════════════════════════════════╗
║ python-llfuse 0.40+dfsg-2 (amd64)                          29 Jun 2015 20:44 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: python-llfuse
Version: 0.40+dfsg-2
Source Version: 0.40+dfsg-2
Distribution: UNRELEASED
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64

D: Setting Config=Sbuild::ConfBase=HASH(0x1f2f058)
D: Setting Chroots=HASH(0x3603138)
Found schroot chroot: chroot:cow
  Aliases 
  Location 
  Name cow
  Namespace chroot
  Priority 0
  Session Purged 0
Found schroot chroot: chroot:sid-amd64-sbuild
  Aliases 
  Location 
  Name sid-amd64-sbuild
  Namespace chroot
  Priority 0
  Session Purged 0
Found schroot chroot: source:cow
  Aliases 
  Location 
  Name cow
  Namespace source
  Priority 0
  Session Purged 0
Found schroot chroot: source:sid-amd64-sbuild
  Aliases 
  Location 
  Name sid-amd64-sbuild
  Namespace source
  Priority 0
  Session Purged 0
D: Setting Chroots=HASH(0x3603150)
D: Setting Pkg Status=failed

┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

$job = bless( {
                'Package' => 'python-llfuse',
                'Build Start Time' => 0,
                'Build Arch' => 'amd64',
                'Package_OSVersion' => 'python-llfuse_0.40+dfsg-2',
                'Lock Interval' => 5,
                'Build Profiles' => '',
                'Summary Stats' => {
                                     'Machine Architecture' => 'amd64',
                                     'Version' => '0.40+dfsg-2',
                                     'Source-Version' => '0.40+dfsg-2',
                                     'Package' => 'python-llfuse',
                                     'Host Architecture' => 'amd64',
                                     'Build Architecture' => 'amd64',
                                     'Job' => '/home/nikratio/in-progress/debian-packages/build-area/python-llfuse_0.40+dfsg-2.dsc'
                                   },
                'Source Dir' => '/home/nikratio/in-progress/debian-packages/build-area',
                'Session' => undef,
                'Pkg Status' => 'failed',
                'Chroot Build Dir' => '',
                'Dependency Resolver' => undef,
                'Max Lock Trys' => 120,
                'Install Start Time' => 0,
                'Package_SVersion' => 'python-llfuse_0.40+dfsg-2',
                'VersionUpstream' => '0.40+dfsg',
                'FILTER_PREFIX' => '__SBUILD_FILTER_27178:',
                'Host Arch' => 'amd64',
                'Version' => '0.40+dfsg-2',
                'Job' => '/home/nikratio/in-progress/debian-packages/build-area/python-llfuse_0.40+dfsg-2.dsc',
                'Config' => bless( {
                                     'CHECK' => 1,
                                     'KEYS' => {
                                                 'RUN_LINTIAN' => {
                                                                    'GROUP' => 'Build validation',
                                                                    'VARNAME' => 'run_lintian',
                                                                    'TYPE' => 'BOOL',
                                                                    'NAME' => 'RUN_LINTIAN',
                                                                    'HELP' => 'Run lintian?',
                                                                    'CHECK' => sub { "DUMMY" },
                                                                    'VALUE' => 1,
                                                                    'DEFAULT' => 0
                                                                  },
                                                 'SBUILD_MODE' => {
                                                                    'VARNAME' => '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.',
                                                                    'NAME' => 'SBUILD_MODE',
                                                                    'GROUP' => 'Core options',
                                                                    'DEFAULT' => 'user',
                                                                    'TYPE' => 'STRING',
                                                                    'VALUE' => undef
                                                                  },
                                                 'PIUPARTS_ROOT_ARGS' => {
                                                                           'NAME' => 'PIUPARTS_ROOT_ARGS',
                                                                           'GROUP' => 'Build validation',
                                                                           'HELP' => 'Preceding arguments to launch piuparts as root. If no arguments are specified, piuparts will be launched via sudo.',
                                                                           'VARNAME' => 'piuparts_root_args',
                                                                           'VALUE' => undef,
                                                                           'TYPE' => 'ARRAY:STRING',
                                                                           'DEFAULT' => []
                                                                         },
                                                 'APT_GET' => {
                                                                'GROUP' => 'Programs',
                                                                'VARNAME' => 'apt_get',
                                                                'TYPE' => 'STRING',
                                                                'NAME' => 'APT_GET',
                                                                'HELP' => 'Path to apt-get binary',
                                                                'VALUE' => undef,
                                                                'CHECK' => sub { "DUMMY" },
                                                                'DEFAULT' => 'apt-get'
                                                              },
                                                 'BUILD_USER' => {
                                                                   'TYPE' => 'STRING',
                                                                   'DEFAULT' => 'nikratio',
                                                                   'GROUP' => '__INTERNAL',
                                                                   'NAME' => 'BUILD_USER',
                                                                   'HELP' => 'Username used for building.  Should not require setting.'
                                                                 },
                                                 'MD5SUM' => {
                                                               'DEFAULT' => 'md5sum',
                                                               'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                               'VALUE' => undef,
                                                               'HELP' => 'Path to md5sum binary',
                                                               'NAME' => 'MD5SUM',
                                                               'TYPE' => 'STRING',
                                                               'VARNAME' => 'md5sum',
                                                               'GROUP' => 'Programs'
                                                             },
                                                 'BUILD_DEP_RESOLVER' => {
                                                                           'TYPE' => 'STRING',
                                                                           'GROUP' => 'Dependency resolution',
                                                                           'VARNAME' => 'build_dep_resolver',
                                                                           'VALUE' => undef,
                                                                           'CHECK' => sub { "DUMMY" },
                                                                           'DEFAULT' => 'apt',
                                                                           'NAME' => '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 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.'
                                                                         },
                                                 'APT_ALLOW_UNAUTHENTICATED' => {
                                                                                  'DEFAULT' => 0,
                                                                                  'TYPE' => 'BOOL',
                                                                                  'VALUE' => undef,
                                                                                  'VARNAME' => '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.',
                                                                                  'NAME' => 'APT_ALLOW_UNAUTHENTICATED',
                                                                                  'GROUP' => 'Chroot options'
                                                                                },
                                                 'CHROOT' => {
                                                               'TYPE' => 'STRING',
                                                               'VALUE' => undef,
                                                               'DEFAULT' => undef,
                                                               'GROUP' => 'Chroot options',
                                                               'NAME' => 'CHROOT',
                                                               'VARNAME' => 'chroot',
                                                               'HELP' => 'Default chroot (defaults to distribution[-arch][-sbuild])'
                                                             },
                                                 'SBUILD_BUILD_DEPENDS_PUBLIC_KEY' => {
                                                                                        'HELP' => 'GPG public key for temporary local apt archive.',
                                                                                        'VARNAME' => 'sbuild_build_depends_public_key',
                                                                                        'NAME' => 'SBUILD_BUILD_DEPENDS_PUBLIC_KEY',
                                                                                        'GROUP' => 'Dependency resolution',
                                                                                        'DEFAULT' => '/var/lib/sbuild/apt-keys/sbuild-key.pub',
                                                                                        'VALUE' => undef,
                                                                                        'TYPE' => 'STRING'
                                                                                      },
                                                 'DPKG_SOURCE' => {
                                                                    'HELP' => 'Path to dpkg-source binary',
                                                                    'NAME' => 'DPKG_SOURCE',
                                                                    'DEFAULT' => 'dpkg-source',
                                                                    'VALUE' => undef,
                                                                    'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                                    'VARNAME' => 'dpkg_source',
                                                                    'GROUP' => 'Programs',
                                                                    'TYPE' => 'STRING'
                                                                  },
                                                 'ARCH' => {
                                                             'HELP' => 'Build architecture (Arch we are building on).',
                                                             'NAME' => 'ARCH',
                                                             'GROUP' => '__INTERNAL',
                                                             'DEFAULT' => 'amd64',
                                                             'TYPE' => 'STRING'
                                                           },
                                                 'HOSTNAME' => {
                                                                 'GROUP' => '__INTERNAL',
                                                                 'NAME' => 'HOSTNAME',
                                                                 'HELP' => 'System hostname.  Should not require setting.',
                                                                 'TYPE' => 'STRING',
                                                                 'DEFAULT' => 'vostro.rath.org'
                                                               },
                                                 'APT_CACHE' => {
                                                                  'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                                  'VALUE' => undef,
                                                                  'DEFAULT' => 'apt-cache',
                                                                  'NAME' => 'APT_CACHE',
                                                                  'HELP' => 'Path to apt-cache binary',
                                                                  'TYPE' => 'STRING',
                                                                  'GROUP' => 'Programs',
                                                                  'VARNAME' => 'apt_cache'
                                                                },
                                                 'APT_UPDATE' => {
                                                                   'NAME' => 'APT_UPDATE',
                                                                   'GROUP' => 'Chroot options',
                                                                   'HELP' => 'APT update.  1 to enable running "apt-get update" at the start of each build, or 0 to disable.',
                                                                   'VARNAME' => 'apt_update',
                                                                   'VALUE' => undef,
                                                                   'TYPE' => 'BOOL',
                                                                   'DEFAULT' => 1
                                                                 },
                                                 'MANUAL_DEPENDS_ARCH' => {
                                                                            'TYPE' => 'ARRAY:STRING',
                                                                            'DEFAULT' => [],
                                                                            'NAME' => 'MANUAL_DEPENDS_ARCH',
                                                                            'GROUP' => '__INTERNAL',
                                                                            'HELP' => 'Additional per-build dependencies.  Do not set by hand.'
                                                                          },
                                                 'APT_UPDATE_ARCHIVE_ONLY' => {
                                                                                'TYPE' => 'BOOL',
                                                                                'VALUE' => undef,
                                                                                'DEFAULT' => 1,
                                                                                'GROUP' => 'Chroot options',
                                                                                'NAME' => 'APT_UPDATE_ARCHIVE_ONLY',
                                                                                'VARNAME' => '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).'
                                                                              },
                                                 'PURGE_BUILD_DEPS' => {
                                                                         'TYPE' => 'STRING',
                                                                         'VARNAME' => 'purge_build_deps',
                                                                         'GROUP' => 'Chroot options',
                                                                         'DEFAULT' => 'always',
                                                                         'VALUE' => undef,
                                                                         'CHECK' => sub { "DUMMY" },
                                                                         'HELP' => 'When to purge the build dependencies after a build; possible values are "never", "successful", and "always"',
                                                                         'NAME' => 'PURGE_BUILD_DEPS'
                                                                       },
                                                 'BUILD_ARCH_ALL' => {
                                                                       'VARNAME' => 'build_arch_all',
                                                                       'HELP' => 'Build architecture: all packages by default',
                                                                       'NAME' => 'BUILD_ARCH_ALL',
                                                                       'GROUP' => 'Build options',
                                                                       'DEFAULT' => 0,
                                                                       'TYPE' => 'BOOL',
                                                                       'VALUE' => 1
                                                                     },
                                                 'PURGE_SESSION' => {
                                                                      'TYPE' => 'STRING',
                                                                      'GROUP' => 'Chroot options',
                                                                      'VARNAME' => 'purge_session',
                                                                      'CHECK' => sub { "DUMMY" },
                                                                      'VALUE' => undef,
                                                                      'DEFAULT' => 'always',
                                                                      'NAME' => '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"'
                                                                    },
                                                 'EXTRA_PACKAGES' => {
                                                                       'HELP' => 'Additional per-build packages available as build dependencies.  Do not set by hand.',
                                                                       'GROUP' => '__INTERNAL',
                                                                       'NAME' => 'EXTRA_PACKAGES',
                                                                       'DEFAULT' => [],
                                                                       'TYPE' => 'ARRAY:STRING'
                                                                     },
                                                 'MANUAL_DEPENDS_INDEP' => {
                                                                             'TYPE' => 'ARRAY:STRING',
                                                                             'DEFAULT' => [],
                                                                             'GROUP' => '__INTERNAL',
                                                                             'NAME' => 'MANUAL_DEPENDS_INDEP',
                                                                             'HELP' => 'Additional per-build dependencies.  Do not set by hand.'
                                                                           },
                                                 'HOME' => {
                                                             'HELP' => 'User\'s home directory.  Should not require setting.',
                                                             'GROUP' => '__INTERNAL',
                                                             'NAME' => 'HOME',
                                                             'DEFAULT' => '/home/nikratio',
                                                             'TYPE' => 'STRING'
                                                           },
                                                 'MAILTO_HASH' => {
                                                                    'NAME' => 'MAILTO_HASH',
                                                                    'GROUP' => 'Logging options',
                                                                    'VARNAME' => '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.',
                                                                    'TYPE' => 'HASH:STRING',
                                                                    'VALUE' => undef,
                                                                    'DEFAULT' => {}
                                                                  },
                                                 'BUILD_DIR' => {
                                                                  'NAME' => 'BUILD_DIR',
                                                                  'EXAMPLE' => '$build_dir = \'/home/pete/build\';',
                                                                  '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.',
                                                                  'CHECK' => sub { "DUMMY" },
                                                                  'IGNORE_DEFAULT' => 1,
                                                                  'VALUE' => '/home/nikratio/in-progress/debian-packages/build-area',
                                                                  'DEFAULT' => '/home/nikratio/in-progress/debian-packages/build-area/python-llfuse-0.40+dfsg',
                                                                  'GROUP' => 'Core options',
                                                                  'VARNAME' => 'build_dir',
                                                                  'TYPE' => 'STRING'
                                                                },
                                                 'SBUILD_BUILD_DEPENDS_SECRET_KEY' => {
                                                                                        'DEFAULT' => '/var/lib/sbuild/apt-keys/sbuild-key.sec',
                                                                                        'VALUE' => undef,
                                                                                        'TYPE' => 'STRING',
                                                                                        'HELP' => 'GPG secret key for temporary local apt archive.',
                                                                                        'VARNAME' => 'sbuild_build_depends_secret_key',
                                                                                        'GROUP' => 'Dependency resolution',
                                                                                        'NAME' => 'SBUILD_BUILD_DEPENDS_SECRET_KEY'
                                                                                      },
                                                 'CORE_DEPENDS' => {
                                                                     'VALUE' => undef,
                                                                     'TYPE' => 'ARRAY:STRING',
                                                                     'DEFAULT' => [
                                                                                    'build-essential',
                                                                                    'fakeroot'
                                                                                  ],
                                                                     'NAME' => 'CORE_DEPENDS',
                                                                     'GROUP' => 'Core options',
                                                                     'HELP' => 'Packages which must be installed in the chroot for all builds.',
                                                                     'VARNAME' => 'core_depends'
                                                                   },
                                                 '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.',
                                                                          'VARNAME' => 'force_orig_source',
                                                                          'NAME' => 'FORCE_ORIG_SOURCE',
                                                                          'GROUP' => 'Build options',
                                                                          'DEFAULT' => 0,
                                                                          'VALUE' => undef,
                                                                          'TYPE' => 'BOOL'
                                                                        },
                                                 'ARCHIVE' => {
                                                                'HELP' => 'Archive being built.  Only set in build log.  This might be useful for derivative distributions.',
                                                                'VARNAME' => 'archive',
                                                                'NAME' => 'ARCHIVE',
                                                                'GROUP' => 'Core options',
                                                                'DEFAULT' => undef,
                                                                'VALUE' => undef,
                                                                'TYPE' => 'STRING'
                                                              },
                                                 'CHECK_SPACE' => {
                                                                    'TYPE' => 'BOOL',
                                                                    'VALUE' => undef,
                                                                    'DEFAULT' => 1,
                                                                    'GROUP' => 'Build options',
                                                                    'NAME' => 'CHECK_SPACE',
                                                                    'VARNAME' => '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.'
                                                                  },
                                                 'MAILTO_FORCED_BY_CLI' => {
                                                                             'TYPE' => 'BOOL',
                                                                             'DEFAULT' => 0,
                                                                             'NAME' => 'MAILTO_FORCED_BY_CLI',
                                                                             'GROUP' => '__INTERNAL'
                                                                           },
                                                 'CHROOT_SPLIT' => {
                                                                     'GROUP' => 'Chroot options',
                                                                     '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.',
                                                                     'VARNAME' => 'chroot_split',
                                                                     'VALUE' => undef,
                                                                     'TYPE' => 'BOOL',
                                                                     'DEFAULT' => 0
                                                                   },
                                                 'MAILTO' => {
                                                               'NAME' => 'MAILTO',
                                                               'GET' => sub { "DUMMY" },
                                                               'HELP' => 'email address to mail build logs to',
                                                               'CHECK' => sub { "DUMMY" },
                                                               'VALUE' => undef,
                                                               'DEFAULT' => '',
                                                               'GROUP' => 'Logging options',
                                                               'VARNAME' => 'mailto',
                                                               'TYPE' => 'STRING'
                                                             },
                                                 'APPEND_TO_VERSION' => {
                                                                          'VALUE' => undef,
                                                                          'CHECK' => sub { "DUMMY" },
                                                                          'DEFAULT' => undef,
                                                                          'NAME' => 'APPEND_TO_VERSION',
                                                                          'HELP' => 'Suffix to append to version number.  May be useful for derivative distributions.',
                                                                          'TYPE' => 'STRING',
                                                                          'GROUP' => 'Build options',
                                                                          'VARNAME' => 'append_to_version'
                                                                        },
                                                 'FAKEROOT' => {
                                                                 'VALUE' => undef,
                                                                 'TYPE' => 'STRING',
                                                                 'DEFAULT' => 'fakeroot',
                                                                 'GROUP' => 'Programs',
                                                                 'NAME' => 'FAKEROOT',
                                                                 'HELP' => 'Path to fakeroot binary',
                                                                 'VARNAME' => 'fakeroot'
                                                               },
                                                 'PGP_OPTIONS' => {
                                                                    'HELP' => 'Additional signing options for dpkg-buildpackage',
                                                                    'VARNAME' => 'pgp_options',
                                                                    'GROUP' => 'Build options',
                                                                    'NAME' => 'PGP_OPTIONS',
                                                                    'DEFAULT' => [
                                                                                   '-us',
                                                                                   '-uc'
                                                                                 ],
                                                                    'VALUE' => undef,
                                                                    'TYPE' => 'ARRAY:STRING'
                                                                  },
                                                 'CHROOT_MODE' => {
                                                                    'TYPE' => 'STRING',
                                                                    'GROUP' => 'Chroot options',
                                                                    'VARNAME' => 'chroot_mode',
                                                                    'VALUE' => undef,
                                                                    'CHECK' => sub { "DUMMY" },
                                                                    'DEFAULT' => 'schroot',
                                                                    'NAME' => 'CHROOT_MODE',
                                                                    'HELP' => 'Mechanism to use for chroot virtualisation.  Possible value are "schroot" (default) and "sudo".'
                                                                  },
                                                 'BUILD_PROFILES' => {
                                                                       'HELP' => 'Build profiles. Separated by spaces.',
                                                                       'VARNAME' => 'build_profiles',
                                                                       'GROUP' => 'Build options',
                                                                       'NAME' => 'BUILD_PROFILES',
                                                                       'DEFAULT' => '',
                                                                       'VALUE' => undef,
                                                                       'TYPE' => 'STRING'
                                                                     },
                                                 'MIME_BUILD_LOG_MAILS' => {
                                                                             'NAME' => 'MIME_BUILD_LOG_MAILS',
                                                                             'GROUP' => 'Logging options',
                                                                             'HELP' => 'Should build log mails be MIME encoded?',
                                                                             'VARNAME' => 'mime_build_log_mails',
                                                                             'VALUE' => undef,
                                                                             'TYPE' => 'BOOL',
                                                                             'DEFAULT' => 1
                                                                           },
                                                 'BUILD_SOURCE' => {
                                                                     'VARNAME' => 'build_source',
                                                                     'GROUP' => 'Build options',
                                                                     'TYPE' => 'BOOL',
                                                                     '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.',
                                                                     'NAME' => 'BUILD_SOURCE',
                                                                     'DEFAULT' => 0,
                                                                     'CHECK' => $job->{'Config'}{'KEYS'}{'APPEND_TO_VERSION'}{'CHECK'},
                                                                     'VALUE' => 1
                                                                   },
                                                 'CROSSBUILD_CORE_DEPENDS' => {
                                                                                'HELP' => 'Per-architecture dependencies required for cross-building.',
                                                                                'VARNAME' => 'crossbuild_core_depends',
                                                                                'GROUP' => 'Multiarch support (transitional)',
                                                                                'NAME' => 'CROSSBUILD_CORE_DEPENDS',
                                                                                'DEFAULT' => {
                                                                                               'mips' => [
                                                                                                           'crossbuild-essential-mips'
                                                                                                         ],
                                                                                               'sparc' => [
                                                                                                            'crossbuild-essential-sparc'
                                                                                                          ],
                                                                                               'ia64' => [
                                                                                                           'crossbuild-essential-ia64'
                                                                                                         ],
                                                                                               'armel' => [
                                                                                                            'crossbuild-essential-armel'
                                                                                                          ],
                                                                                               'armhf' => [
                                                                                                            'crossbuild-essential-armhf'
                                                                                                          ],
                                                                                               'arm64' => [
                                                                                                            'crossbuild-essential-arm64'
                                                                                                          ],
                                                                                               'mipsel' => [
                                                                                                             'crossbuild-essential-mipsel'
                                                                                                           ],
                                                                                               'powerpc' => [
                                                                                                              'crossbuild-essential-powerpc'
                                                                                                            ]
                                                                                             },
                                                                                'VALUE' => undef,
                                                                                'TYPE' => 'HASH:ARRAY:STRING'
                                                                              },
                                                 'DPKG_BUILDPACKAGE_USER_OPTIONS' => {
                                                                                       'TYPE' => 'ARRAY:STRING',
                                                                                       'DEFAULT' => [],
                                                                                       'GROUP' => '__INTERNAL',
                                                                                       'NAME' => 'DPKG_BUILDPACKAGE_USER_OPTIONS',
                                                                                       'HELP' => 'Additional command-line options for dpkg-buildpackage.  Not settable in config.'
                                                                                     },
                                                 'LOG_EXTERNAL_COMMAND_ERROR' => {
                                                                                   'NAME' => 'LOG_EXTERNAL_COMMAND_ERROR',
                                                                                   'GROUP' => 'Chroot options',
                                                                                   'HELP' => 'Log standard error of commands run by sbuild?',
                                                                                   'VARNAME' => 'log_external_command_error',
                                                                                   'VALUE' => undef,
                                                                                   'TYPE' => 'BOOL',
                                                                                   'DEFAULT' => 1
                                                                                 },
                                                 'LINTIAN' => {
                                                                'VARNAME' => 'lintian',
                                                                'GROUP' => 'Build validation',
                                                                'TYPE' => 'STRING',
                                                                'HELP' => 'Path to lintian binary',
                                                                'NAME' => 'LINTIAN',
                                                                'DEFAULT' => 'lintian',
                                                                'VALUE' => undef,
                                                                'CHECK' => sub { "DUMMY" }
                                                              },
                                                 'EXTRA_REPOSITORIES' => {
                                                                           'DEFAULT' => [],
                                                                           'TYPE' => 'ARRAY:STRING',
                                                                           'HELP' => 'Additional per-build apt repositories.  Do not set by hand.',
                                                                           'NAME' => 'EXTRA_REPOSITORIES',
                                                                           'GROUP' => '__INTERNAL'
                                                                         },
                                                 'GCC_SNAPSHOT' => {
                                                                     'DEFAULT' => 0,
                                                                     'TYPE' => 'BOOL',
                                                                     'VALUE' => undef,
                                                                     'VARNAME' => 'gcc_snapshot',
                                                                     'HELP' => 'Build using current GCC snapshot?',
                                                                     'GROUP' => 'Build options',
                                                                     'NAME' => 'GCC_SNAPSHOT'
                                                                   },
                                                 'BIN_NMU' => {
                                                                'TYPE' => 'STRING',
                                                                'CHECK' => $job->{'Config'}{'KEYS'}{'APPEND_TO_VERSION'}{'CHECK'},
                                                                'DEFAULT' => undef,
                                                                'GROUP' => '__INTERNAL',
                                                                'NAME' => 'BIN_NMU',
                                                                'HELP' => 'Binary NMU changelog entry.  Do not set by hand.'
                                                              },
                                                 'PATH' => {
                                                             'VALUE' => undef,
                                                             'TYPE' => 'STRING',
                                                             'DEFAULT' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games',
                                                             'GROUP' => 'Build environment',
                                                             'NAME' => 'PATH',
                                                             'HELP' => 'PATH to set when running dpkg-buildpackage.',
                                                             'VARNAME' => 'path'
                                                           },
                                                 'MAILPROG' => {
                                                                 'CHECK' => sub { "DUMMY" },
                                                                 'VALUE' => undef,
                                                                 'DEFAULT' => '/usr/sbin/sendmail',
                                                                 'NAME' => 'MAILPROG',
                                                                 'HELP' => 'Program to use to send mail',
                                                                 'TYPE' => 'STRING',
                                                                 'GROUP' => 'Programs',
                                                                 'VARNAME' => 'mailprog'
                                                               },
                                                 'APT_DISTUPGRADE' => {
                                                                        'VARNAME' => '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',
                                                                        'NAME' => 'APT_DISTUPGRADE',
                                                                        'DEFAULT' => 1,
                                                                        'TYPE' => 'BOOL',
                                                                        'VALUE' => undef
                                                                      },
                                                 'NOLOG' => {
                                                              'HELP' => 'Disable use of log file',
                                                              'GROUP' => '__INTERNAL',
                                                              'NAME' => 'NOLOG',
                                                              'DEFAULT' => 0,
                                                              'TYPE' => 'BOOL'
                                                            },
                                                 'DEBUG' => {
                                                              'VALUE' => 1,
                                                              'TYPE' => 'NUMERIC',
                                                              'DEFAULT' => 0,
                                                              'NAME' => 'DEBUG',
                                                              'GROUP' => 'Logging options',
                                                              'HELP' => 'Debug logging level',
                                                              'VARNAME' => 'debug'
                                                            },
                                                 'LOG_EXTERNAL_COMMAND_OUTPUT' => {
                                                                                    'GROUP' => 'Chroot options',
                                                                                    'NAME' => 'LOG_EXTERNAL_COMMAND_OUTPUT',
                                                                                    'HELP' => 'Log standard output of commands run by sbuild?',
                                                                                    'VARNAME' => 'log_external_command_output',
                                                                                    'VALUE' => undef,
                                                                                    'TYPE' => 'BOOL',
                                                                                    'DEFAULT' => 1
                                                                                  },
                                                 'LOG_COLOUR' => {
                                                                   'GROUP' => 'Logging options',
                                                                   'NAME' => 'LOG_COLOUR',
                                                                   'VARNAME' => 'log_colour',
                                                                   'HELP' => 'Colour log messages such as critical failures, warnings and success',
                                                                   'TYPE' => 'BOOL',
                                                                   'VALUE' => undef,
                                                                   'DEFAULT' => 1
                                                                 },
                                                 'BATCH_MODE' => {
                                                                   'HELP' => 'Enable batch mode?',
                                                                   'NAME' => 'BATCH_MODE',
                                                                   'GROUP' => '__INTERNAL',
                                                                   'DEFAULT' => 0,
                                                                   'TYPE' => 'BOOL'
                                                                 },
                                                 'SCHROOT_OPTIONS' => {
                                                                        'NAME' => 'SCHROOT_OPTIONS',
                                                                        'GROUP' => 'Programs',
                                                                        'VARNAME' => 'schroot_options',
                                                                        'HELP' => 'Additional command-line options for schroot',
                                                                        'TYPE' => 'ARRAY:STRING',
                                                                        'VALUE' => undef,
                                                                        'DEFAULT' => [
                                                                                       '-q'
                                                                                     ]
                                                                      },
                                                 'APTITUDE' => {
                                                                 'TYPE' => 'STRING',
                                                                 'VARNAME' => 'aptitude',
                                                                 'GROUP' => 'Programs',
                                                                 'DEFAULT' => 'aptitude',
                                                                 'CHECK' => sub { "DUMMY" },
                                                                 'VALUE' => undef,
                                                                 'HELP' => 'Path to aptitude binary',
                                                                 'NAME' => 'APTITUDE'
                                                               },
                                                 'LOG_DIR_AVAILABLE' => {
                                                                          'TYPE' => 'BOOL',
                                                                          'GROUP' => '__INTERNAL',
                                                                          'NAME' => 'LOG_DIR_AVAILABLE',
                                                                          'GET' => sub { "DUMMY" }
                                                                        },
                                                 'DCMD' => {
                                                             'DEFAULT' => 'dcmd',
                                                             'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                             'VALUE' => undef,
                                                             'HELP' => 'Path to dcmd binary',
                                                             'NAME' => 'DCMD',
                                                             'TYPE' => 'STRING',
                                                             'VARNAME' => 'dcmd',
                                                             'GROUP' => 'Programs'
                                                           },
                                                 'SCHROOT' => {
                                                                'DEFAULT' => 'schroot',
                                                                'CHECK' => sub { "DUMMY" },
                                                                'TYPE' => 'STRING',
                                                                'HELP' => 'Path to schroot binary',
                                                                'NAME' => 'SCHROOT',
                                                                'GROUP' => '__INTERNAL'
                                                              },
                                                 'OVERRIDE_DISTRIBUTION' => {
                                                                              'DEFAULT' => 0,
                                                                              'TYPE' => 'BOOL',
                                                                              'HELP' => 'Default distribution has been overridden',
                                                                              'GROUP' => '__INTERNAL',
                                                                              'NAME' => 'OVERRIDE_DISTRIBUTION',
                                                                              'GET' => sub { "DUMMY" }
                                                                            },
                                                 'SUDO' => {
                                                             'HELP' => 'Path to sudo binary',
                                                             'NAME' => 'SUDO',
                                                             'DEFAULT' => 'sudo',
                                                             'CHECK' => sub { "DUMMY" },
                                                             'VALUE' => undef,
                                                             'VARNAME' => 'sudo',
                                                             'GROUP' => 'Programs',
                                                             'TYPE' => 'STRING'
                                                           },
                                                 'BUILD_ARCH' => {
                                                                   'TYPE' => 'STRING',
                                                                   'VALUE' => undef,
                                                                   'DEFAULT' => 'amd64',
                                                                   'NAME' => 'BUILD_ARCH',
                                                                   'GROUP' => 'Build options',
                                                                   'VARNAME' => 'build_arch',
                                                                   'HELP' => 'Build architecture (Arch we are building on).'
                                                                 },
                                                 'MANUAL_CONFLICTS' => {
                                                                         'GROUP' => '__INTERNAL',
                                                                         'NAME' => 'MANUAL_CONFLICTS',
                                                                         'HELP' => 'Additional per-build dependencies.  Do not set by hand.',
                                                                         'TYPE' => 'ARRAY:STRING',
                                                                         'DEFAULT' => []
                                                                       },
                                                 'JOB_FILE' => {
                                                                 'HELP' => 'Job status file (only used in batch mode)',
                                                                 'VARNAME' => 'job_file',
                                                                 'NAME' => 'JOB_FILE',
                                                                 'GROUP' => 'Core options',
                                                                 'DEFAULT' => 'build-progress',
                                                                 'VALUE' => undef,
                                                                 'TYPE' => 'STRING'
                                                               },
                                                 'DPKG_SOURCE_OPTIONS' => {
                                                                            'GROUP' => 'Programs',
                                                                            'NAME' => 'DPKG_SOURCE_OPTIONS',
                                                                            'HELP' => 'Additional command-line options for dpkg-source',
                                                                            'VARNAME' => 'dpkg_source_opts',
                                                                            'VALUE' => undef,
                                                                            'TYPE' => 'ARRAY:STRING',
                                                                            'DEFAULT' => []
                                                                          },
                                                 'UPLOADER_NAME' => {
                                                                      'NAME' => 'UPLOADER_NAME',
                                                                      'HELP' => 'Name to use as override in .changes file for the Changed-By: field.',
                                                                      'VALUE' => undef,
                                                                      'DEFAULT' => undef,
                                                                      'GROUP' => 'Maintainer options',
                                                                      'VARNAME' => 'uploader_name',
                                                                      'TYPE' => 'STRING',
                                                                      'SET' => sub { "DUMMY" }
                                                                    },
                                                 'MANUAL_CONFLICTS_INDEP' => {
                                                                               'DEFAULT' => [],
                                                                               'TYPE' => 'ARRAY:STRING',
                                                                               'HELP' => 'Additional per-build dependencies.  Do not set by hand.',
                                                                               'GROUP' => '__INTERNAL',
                                                                               'NAME' => 'MANUAL_CONFLICTS_INDEP'
                                                                             },
                                                 'VERBOSE' => {
                                                                'VALUE' => undef,
                                                                'DEFAULT' => 1,
                                                                'GET' => sub { "DUMMY" },
                                                                'NAME' => 'VERBOSE',
                                                                'HELP' => 'Verbose logging level',
                                                                'TYPE' => 'NUMERIC',
                                                                'GROUP' => 'Logging options',
                                                                'VARNAME' => 'verbose'
                                                              },
                                                 'ENVIRONMENT_FILTER' => {
                                                                           'DEFAULT' => [
                                                                                          '^PATH$',
                                                                                          '^DEB(IAN|SIGN)?_[A-Z_]+$',
                                                                                          '^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$',
                                                                                          '^USER(NAME)?$',
                                                                                          '^LOGNAME$',
                                                                                          '^HOME$',
                                                                                          '^TERM$',
                                                                                          '^SHELL$'
                                                                                        ],
                                                                           'TYPE' => 'ARRAY:STRING',
                                                                           'VALUE' => undef,
                                                                           'VARNAME' => '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',
                                                                           'NAME' => 'ENVIRONMENT_FILTER'
                                                                         },
                                                 'HOST_ARCH' => {
                                                                  'DEFAULT' => 'amd64',
                                                                  'VALUE' => undef,
                                                                  'TYPE' => 'STRING',
                                                                  'HELP' => 'Host architecture (Arch we are building for)',
                                                                  'VARNAME' => 'host_arch',
                                                                  'NAME' => 'HOST_ARCH',
                                                                  'GROUP' => 'Build options'
                                                                },
                                                 'DISTRIBUTION' => {
                                                                     'GROUP' => 'Build options',
                                                                     'VARNAME' => 'distribution',
                                                                     'TYPE' => 'STRING',
                                                                     'SET' => sub { "DUMMY" },
                                                                     'NAME' => '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.',
                                                                     'VALUE' => 'UNRELEASED',
                                                                     'DEFAULT' => undef
                                                                   },
                                                 'EXTERNAL_COMMANDS' => {
                                                                          'TYPE' => 'HASH:ARRAY:ARRAY:STRING',
                                                                          'GROUP' => 'Chroot options',
                                                                          'VARNAME' => 'external_commands',
                                                                          'VALUE' => {
                                                                                       'post-build-commands' => [
                                                                                                                  [
                                                                                                                    'adt-run',
                                                                                                                    '--changes',
                                                                                                                    '%c',
                                                                                                                    '---',
                                                                                                                    'schroot',
                                                                                                                    'sid-amd64-sbuild'
                                                                                                                  ]
                                                                                                                ]
                                                                                     },
                                                                          'DEFAULT' => {
                                                                                         'starting-build-commands' => [],
                                                                                         'chroot-setup-commands' => [],
                                                                                         'chroot-cleanup-commands' => [],
                                                                                         'post-build-commands' => [],
                                                                                         'pre-build-commands' => [],
                                                                                         'finished-build-commands' => []
                                                                                       },
                                                                          'NAME' => 'EXTERNAL_COMMANDS',
                                                                          'EXAMPLE' => '$external_commands = {
    "pre-build-commands" => [
        [\'foo\', \'arg1\', \'arg2\'],
        [\'bar\', \'arg1\', \'arg2\', \'arg3\'],
    ],
    "chroot-setup-commands" => [
        [\'foo\', \'arg1\', \'arg2\'],
        [\'bar\', \'arg1\', \'arg2\', \'arg3\'],
    ],
    "starting-build-commands" => [
        [\'foo\', \'arg1\', \'arg2\'],
        [\'bar\', \'arg1\', \'arg2\', \'arg3\'],
    ],
    "finished-build-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\'],
    ],
};',
                                                                          'HELP' => 'External commands to run at various stages of a build. Commands are held in a hash of arrays of arrays data structure.'
                                                                        },
                                                 'STATS_DIR' => {
                                                                  'TYPE' => 'STRING',
                                                                  'VALUE' => undef,
                                                                  'DEFAULT' => '/home/nikratio/stats',
                                                                  'GROUP' => 'Statistics',
                                                                  'NAME' => 'STATS_DIR',
                                                                  'VARNAME' => 'stats_dir',
                                                                  'HELP' => 'Directory for writing build statistics to'
                                                                },
                                                 'BUILD_ENV_CMND' => {
                                                                       'GROUP' => 'Build options',
                                                                       'NAME' => 'BUILD_ENV_CMND',
                                                                       'VARNAME' => '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',
                                                                       'TYPE' => 'STRING',
                                                                       'VALUE' => undef,
                                                                       'DEFAULT' => ''
                                                                     },
                                                 'BIN_NMU_VERSION' => {
                                                                        'TYPE' => 'STRING',
                                                                        'DEFAULT' => undef,
                                                                        'NAME' => 'BIN_NMU_VERSION',
                                                                        'GROUP' => '__INTERNAL',
                                                                        'HELP' => 'Binary NMU version number.  Do not set by hand.'
                                                                      },
                                                 'LINTIAN_OPTIONS' => {
                                                                        'VALUE' => [
                                                                                     '-i',
                                                                                     '-I'
                                                                                   ],
                                                                        'TYPE' => 'ARRAY:STRING',
                                                                        'DEFAULT' => [],
                                                                        'NAME' => 'LINTIAN_OPTIONS',
                                                                        'GROUP' => 'Build validation',
                                                                        'HELP' => 'Options to pass to lintian.  Each option is a separate arrayref element.  For example, [\'-i\', \'-v\'] to add -i and -v.',
                                                                        'VARNAME' => 'lintian_opts'
                                                                      },
                                                 'LOG_FILTER' => {
                                                                   'NAME' => 'LOG_FILTER',
                                                                   'GROUP' => 'Logging options',
                                                                   'VARNAME' => 'log_filter',
                                                                   'HELP' => 'Filter variable strings from log messages such as the chroot name and build directory',
                                                                   'TYPE' => 'BOOL',
                                                                   'VALUE' => undef,
                                                                   'DEFAULT' => 1
                                                                 },
                                                 'FULLNAME' => {
                                                                 'DEFAULT' => 'Nikolaus Rath',
                                                                 'TYPE' => 'STRING',
                                                                 'HELP' => 'User\'s full name.  Should not require setting.',
                                                                 'NAME' => 'FULLNAME',
                                                                 'GROUP' => '__INTERNAL'
                                                               },
                                                 'XAPT' => {
                                                             'DEFAULT' => 'xapt',
                                                             'VALUE' => undef,
                                                             'CHECK' => sub { "DUMMY" },
                                                             'TYPE' => 'STRING',
                                                             'VARNAME' => 'xapt',
                                                             'GROUP' => 'Programs',
                                                             'NAME' => 'XAPT'
                                                           },
                                                 'INDIVIDUAL_STALLED_PKG_TIMEOUT' => {
                                                                                       'VALUE' => undef,
                                                                                       'DEFAULT' => {},
                                                                                       'NAME' => 'INDIVIDUAL_STALLED_PKG_TIMEOUT',
                                                                                       'EXAMPLE' => '%individual_stalled_pkg_timeout = (smalleiffel => 300,
				   jade => 300,
				   atlas => 300,
				   glibc => 1000,
				   \'gcc-3.3\' => 300,
				   kwave => 600);',
                                                                                       '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.',
                                                                                       'TYPE' => 'HASH:NUMERIC',
                                                                                       'GROUP' => 'Build timeouts',
                                                                                       'VARNAME' => 'individual_stalled_pkg_timeout'
                                                                                     },
                                                 'PURGE_BUILD_DIRECTORY' => {
                                                                              'NAME' => 'PURGE_BUILD_DIRECTORY',
                                                                              'HELP' => 'When to purge the build directory after a build; possible values are "never", "successful", and "always"',
                                                                              'VALUE' => undef,
                                                                              'CHECK' => sub { "DUMMY" },
                                                                              'DEFAULT' => 'always',
                                                                              'GROUP' => 'Chroot options',
                                                                              'VARNAME' => 'purge_build_directory',
                                                                              'TYPE' => 'STRING'
                                                                            },
                                                 'USERNAME' => {
                                                                 'DEFAULT' => 'nikratio',
                                                                 'TYPE' => 'STRING',
                                                                 'HELP' => 'User\'s username.  Should not require setting.',
                                                                 'GROUP' => '__INTERNAL',
                                                                 'NAME' => 'USERNAME'
                                                               },
                                                 'MANUAL_CONFLICTS_ARCH' => {
                                                                              'TYPE' => 'ARRAY:STRING',
                                                                              'DEFAULT' => [],
                                                                              'GROUP' => '__INTERNAL',
                                                                              'NAME' => 'MANUAL_CONFLICTS_ARCH',
                                                                              'HELP' => 'Additional per-build dependencies.  Do not set by hand.'
                                                                            },
                                                 'RUN_PIUPARTS' => {
                                                                     'HELP' => 'Run piuparts',
                                                                     'NAME' => 'RUN_PIUPARTS',
                                                                     'DEFAULT' => 0,
                                                                     'CHECK' => sub { "DUMMY" },
                                                                     'VALUE' => 1,
                                                                     'VARNAME' => 'run_piuparts',
                                                                     'GROUP' => 'Build validation',
                                                                     'TYPE' => 'BOOL'
                                                                   },
                                                 '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.',
                                                                        'NAME' => 'MAINTAINER_NAME',
                                                                        'DEFAULT' => undef,
                                                                        'VALUE' => undef,
                                                                        'VARNAME' => 'maintainer_name',
                                                                        'GROUP' => 'Maintainer options',
                                                                        'SET' => $job->{'Config'}{'KEYS'}{'UPLOADER_NAME'}{'SET'},
                                                                        'TYPE' => 'STRING'
                                                                      },
                                                 'MANUAL_DEPENDS' => {
                                                                       'GROUP' => '__INTERNAL',
                                                                       'NAME' => 'MANUAL_DEPENDS',
                                                                       'HELP' => 'Additional per-build dependencies.  Do not set by hand.',
                                                                       'TYPE' => 'ARRAY:STRING',
                                                                       'DEFAULT' => []
                                                                     },
                                                 'LD_LIBRARY_PATH' => {
                                                                        'DEFAULT' => undef,
                                                                        'TYPE' => 'STRING',
                                                                        'VALUE' => undef,
                                                                        'VARNAME' => 'ld_library_path',
                                                                        'HELP' => 'Library search path to use inside the chroot.',
                                                                        'NAME' => 'LD_LIBRARY_PATH',
                                                                        'GROUP' => 'Build environment'
                                                                      },
                                                 'APT_UPGRADE' => {
                                                                    'VARNAME' => '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',
                                                                    'NAME' => 'APT_UPGRADE',
                                                                    'DEFAULT' => 0,
                                                                    'TYPE' => 'BOOL',
                                                                    'VALUE' => undef
                                                                  },
                                                 'PIUPARTS_OPTIONS' => {
                                                                         'DEFAULT' => [],
                                                                         'VALUE' => [
                                                                                      '-b',
                                                                                      '/var/lib/sbuild/sid-amd64.tar.gz'
                                                                                    ],
                                                                         'TYPE' => 'ARRAY:STRING',
                                                                         'HELP' => 'Options to pass to piuparts.  Each option is a separate arrayref element.  For example, [\'-b\', \'<chroot_tarball>\'] to add -b and <chroot_tarball>.',
                                                                         'VARNAME' => 'piuparts_opts',
                                                                         'NAME' => 'PIUPARTS_OPTIONS',
                                                                         'GROUP' => 'Build validation'
                                                                       },
                                                 'TOOLCHAIN_REGEX' => {
                                                                        '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$'
                                                                                     ],
                                                                        'VALUE' => undef,
                                                                        'TYPE' => 'ARRAY:STRING',
                                                                        'HELP' => 'Regular expressions identifying toolchain packages.  Note that for backward compatibility, this is also settable using the array @toolchain_regex (deprecated), rather than an array reference.',
                                                                        'VARNAME' => 'toolchain_regex',
                                                                        'NAME' => 'TOOLCHAIN_REGEX',
                                                                        'GROUP' => 'Build options'
                                                                      },
                                                 'LOG_DIR' => {
                                                                'TYPE' => 'STRING',
                                                                'VARNAME' => 'log_dir',
                                                                'GROUP' => 'Logging options',
                                                                'CHECK' => sub { "DUMMY" },
                                                                'VALUE' => undef,
                                                                'HELP' => 'Directory for storing build logs.  This defaults to \'.\' when SBUILD_MODE is set to \'user\' (the default), and to \'$HOME/logs\' when SBUILD_MODE is set to \'buildd\'.',
                                                                'NAME' => 'LOG_DIR',
                                                                'GET' => sub { "DUMMY" }
                                                              },
                                                 'MAILFROM' => {
                                                                 'DEFAULT' => 'Source Builder <sbuild>',
                                                                 'VALUE' => undef,
                                                                 'TYPE' => 'STRING',
                                                                 'HELP' => 'email address set in the From line of build logs',
                                                                 'VARNAME' => 'mailfrom',
                                                                 'GROUP' => 'Logging options',
                                                                 'NAME' => 'MAILFROM'
                                                               },
                                                 'BUILD_ARCH_ANY' => {
                                                                       'VALUE' => undef,
                                                                       'TYPE' => 'BOOL',
                                                                       'DEFAULT' => 1,
                                                                       'NAME' => 'BUILD_ARCH_ANY',
                                                                       'GROUP' => 'Build options',
                                                                       'HELP' => 'Build architecture: any packages by default',
                                                                       'VARNAME' => 'build_arch_any'
                                                                     },
                                                 'BUILD_ENVIRONMENT' => {
                                                                          'TYPE' => 'HASH:STRING',
                                                                          'GROUP' => 'Core options',
                                                                          'VARNAME' => 'build_environment',
                                                                          'VALUE' => undef,
                                                                          'DEFAULT' => {},
                                                                          'NAME' => '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\'
};'
                                                                        },
                                                 'SIGNING_OPTIONS' => {
                                                                        'HELP' => 'PGP-related identity options to pass to dpkg-buildpackage. Usually neither .dsc nor .changes files are not signed automatically.',
                                                                        'NAME' => 'SIGNING_OPTIONS',
                                                                        'GROUP' => '__INTERNAL',
                                                                        'DEFAULT' => '',
                                                                        'TYPE' => 'STRING',
                                                                        'VALUE' => []
                                                                      },
                                                 'PACKAGE_CHECKLIST' => {
                                                                          'VALUE' => undef,
                                                                          'TYPE' => 'STRING',
                                                                          'DEFAULT' => '/var/lib/sbuild/package-checklist',
                                                                          'GROUP' => 'Chroot options',
                                                                          'NAME' => 'PACKAGE_CHECKLIST',
                                                                          'HELP' => 'Where to store list currently installed packages inside chroot',
                                                                          'VARNAME' => 'package_checklist'
                                                                        },
                                                 'APT_CLEAN' => {
                                                                  'VALUE' => undef,
                                                                  'TYPE' => 'BOOL',
                                                                  'DEFAULT' => 0,
                                                                  'GROUP' => 'Chroot options',
                                                                  'NAME' => 'APT_CLEAN',
                                                                  'HELP' => 'APT clean.  1 to enable running "apt-get clean" at the start of each build, or 0 to disable.',
                                                                  'VARNAME' => 'apt_clean'
                                                                },
                                                 'COMPRESS_BUILD_LOG_MAILS' => {
                                                                                 'VARNAME' => 'compress_build_log_mails',
                                                                                 'HELP' => 'Should build log mails be compressed?',
                                                                                 'GROUP' => 'Logging options',
                                                                                 'NAME' => 'COMPRESS_BUILD_LOG_MAILS',
                                                                                 'DEFAULT' => 1,
                                                                                 'TYPE' => 'BOOL',
                                                                                 'VALUE' => undef
                                                                               },
                                                 'RESOLVE_ALTERNATIVES' => {
                                                                             'HELP' => 'Should the dependency resolver use alternatives in Build-Depends, Build-Depends-Arch and Build-Depends-Indep?  By default, using \'apt\' resolver, only the first alternative will be used; all other alternatives will be removed.  When using the \'aptitude\' resolver, it will default to using all alternatives.  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 for experimental or backports.  Set to undef to use the default, 1 to enable, or 0 to disable.',
                                                                             'EXAMPLE' => '$resolve_alternatives = 0;',
                                                                             'GET' => sub { "DUMMY" },
                                                                             'NAME' => 'RESOLVE_ALTERNATIVES',
                                                                             'DEFAULT' => undef,
                                                                             'VALUE' => undef,
                                                                             'VARNAME' => 'resolve_alternatives',
                                                                             'GROUP' => 'Dependency resolution',
                                                                             'TYPE' => 'BOOL'
                                                                           },
                                                 'KEY_ID' => {
                                                               'VALUE' => undef,
                                                               'TYPE' => 'STRING',
                                                               'DEFAULT' => undef,
                                                               'GROUP' => 'Maintainer options',
                                                               'NAME' => 'KEY_ID',
                                                               'HELP' => 'Key ID to use in .changes for the current upload.  It overrides both $maintainer_name and $uploader_name.',
                                                               'VARNAME' => 'key_id'
                                                             },
                                                 'CHROOT_SETUP_SCRIPT' => {
                                                                            'VALUE' => undef,
                                                                            'TYPE' => 'STRING',
                                                                            'DEFAULT' => undef,
                                                                            'GROUP' => 'Chroot options',
                                                                            'NAME' => 'CHROOT_SETUP_SCRIPT',
                                                                            'HELP' => 'Script to run to perform custom setup tasks in the chroot.',
                                                                            'VARNAME' => 'chroot_setup_script'
                                                                          },
                                                 'MAX_LOCK_TRYS' => {
                                                                      'DEFAULT' => 120,
                                                                      'TYPE' => 'NUMERIC',
                                                                      'VALUE' => undef,
                                                                      'VARNAME' => 'max_lock_trys',
                                                                      'HELP' => 'Number of times to try waiting for a lock.',
                                                                      'NAME' => 'MAX_LOCK_TRYS',
                                                                      'GROUP' => 'Build timeouts'
                                                                    },
                                                 'STALLED_PKG_TIMEOUT' => {
                                                                            'GROUP' => 'Build timeouts',
                                                                            'NAME' => 'STALLED_PKG_TIMEOUT',
                                                                            'VARNAME' => 'stalled_pkg_timeout',
                                                                            'HELP' => 'Time (in minutes) of inactivity after which a build is terminated. Activity is measured by output to the log file.',
                                                                            'TYPE' => 'NUMERIC',
                                                                            'VALUE' => undef,
                                                                            'DEFAULT' => 150
                                                                          },
                                                 'PIUPARTS' => {
                                                                 'HELP' => 'Path to piuparts binary',
                                                                 'NAME' => 'PIUPARTS',
                                                                 'DEFAULT' => 'piuparts',
                                                                 'VALUE' => undef,
                                                                 'CHECK' => sub { "DUMMY" },
                                                                 'VARNAME' => 'piuparts',
                                                                 'GROUP' => 'Build validation',
                                                                 'TYPE' => 'STRING'
                                                               },
                                                 'SU' => {
                                                           'DEFAULT' => 'su',
                                                           'VALUE' => undef,
                                                           'CHECK' => $job->{'Config'}{'KEYS'}{'APT_GET'}{'CHECK'},
                                                           'HELP' => 'Path to su binary',
                                                           'NAME' => 'SU',
                                                           'TYPE' => 'STRING',
                                                           'VARNAME' => 'su',
                                                           'GROUP' => 'Programs'
                                                         },
                                                 'LOCK_INTERVAL' => {
                                                                      'VARNAME' => 'lock_interval',
                                                                      'HELP' => 'Lock wait interval (seconds).  Maximum wait time is (max_lock_trys × lock_interval).',
                                                                      'GROUP' => 'Build timeouts',
                                                                      'NAME' => 'LOCK_INTERVAL',
                                                                      'DEFAULT' => 5,
                                                                      'TYPE' => 'NUMERIC',
                                                                      'VALUE' => undef
                                                                    }
                                               }
                                   }, 'Sbuild::ConfBase' ),
                'DSC File' => 'python-llfuse_0.40+dfsg-2.dsc',
                'Package_Version' => 'python-llfuse_0.40+dfsg-2',
                'Sub Task' => 'initialisation',
                'This Time' => 0,
                'Build Dir' => '',
                'Pkg Status Trigger' => sub { "DUMMY" },
                'DSC Dir' => 'python-llfuse-0.40+dfsg',
                'Host' => bless( {
                                   'Split' => 0,
                                   'Config' => $job->{'Config'},
                                   'Defaults' => {
                                                   'STREAMIN' => \*{'Sbuild::$devnull'},
                                                   'SETSID' => 0,
                                                   'USER' => 'nikratio',
                                                   'STREAMERR' => \*{'Sbuild::Build::$PLOG'},
                                                   'ENV' => {
                                                              'SHELL' => '/bin/sh',
                                                              'LC_ALL' => 'POSIX'
                                                            },
                                                   'CHROOT' => 1,
                                                   'COMMAND' => [],
                                                   'STREAMOUT' => $job->{'Host'}{'Defaults'}{'STREAMERR'},
                                                   'DIR' => '/home/nikratio',
                                                   'PRIORITY' => 0,
                                                   'INTCOMMAND' => [],
                                                   'ENV_FILTER' => $job->{'Config'}{'KEYS'}{'ENVIRONMENT_FILTER'}{'DEFAULT'},
                                                   'EXPCOMMAND' => []
                                                 },
                                   'Chroot ID' => '/',
                                   'Session ID' => '',
                                   'Location' => '/',
                                   'Session Purged' => 0,
                                   'Priority' => 0
                                 }, 'Sbuild::ChrootRoot' ),
                'SVersion' => '0.40+dfsg-2',
                'OSVersion' => '0.40+dfsg-2',
                'Package_OVersion' => 'python-llfuse_0.40+dfsg-2',
                'Log Stream' => $job->{'Host'}{'Defaults'}{'STREAMERR'},
                'Pkg End Time' => 1435635841,
                'Pkg Start Time' => 1435635841,
                'VersionEpoch' => '',
                'DSC' => '/home/nikratio/in-progress/debian-packages/build-area/python-llfuse_0.40+dfsg-2.dsc',
                'Build End Time' => 0,
                'VersionDebian' => '2',
                'Chroot Dir' => '',
                'DSC Base' => 'python-llfuse_0.40+dfsg-2.dsc',
                'Log File' => '/home/nikratio/in-progress/debian-packages/build-area/python-llfuse_0.40+dfsg-2_amd64-20150629-2044.build',
                'ABORT' => undef,
                'COLOUR_PREFIX' => '__SBUILD_COLOUR_27178:',
                'This Space' => 0,
                'OVersion' => '0.40+dfsg-2',
                'Pkg Fail Stage' => 'init',
                'Invalid Source' => 0,
                'Install End Time' => 0
              }, 'Sbuild::Build' );


More information about the Buildd-tools-devel mailing list