[buildd-tools-devel] sbuild 0.63.0 released

Roger Leigh rleigh at codelibre.net
Wed May 30 22:56:07 UTC 2012


I have released sbuild version 0.63.0.  This is the first release for
quite a while, and mainly consists of changes made prior to January,
with a few recent cleanups to make this releasable.  There will be
more sbuild development in the next few months, particularly now I
have more time to dedicate to it.

* Major changes in 0.63.0:

  1) Support for cross-compiling has been added.  This includes the
     addition of $host and $build configuration variables, with
     corresponding --host and --build command-line options.  This
     includes the addition of a new 'xapt' dependency resolver.

  2) The deprecated 'internal' dependency resolver has been removed,
     along with the configuration variables $apt_policy,
     $check_depends_algorithm and $resolve_virtual, and the
     command-line option --check-depends-algorithm.  The 'apt'
     resolver is the default replacement for 'internal'.

  3) Support for watches has been removed.  The configuration
     variables $check_watches, $ignore_watches_no_build_deps and
     $watches (and obsolete variables @ignore_watches_no_build_deps
     and %watches) have also been removed.

  3) sbuild-stats and support for build time and space statistics
     recording has been removed.  These statistics are recorded in
     both the build log and are available as build metadata
     internally.  The statistics recorded in the database were not
     particularly informative; storing the statistics in a proper
     relational database is recommended.  The configuration variables
     $avg_time_db and $avg_space_db have been removed.

Of particular note are the cross-build changes which permit sbuild to
be used for cross-building, and the removal of the internal resolver,
which had not been the default for several releases.  In addition to
its many known defects, the internal resolver was never going to be
capable of supporting multiarch build deps, and the default apt
resolver has identical behaviour to internal.  Many thanks to the
efforts of Hector Oron and Wookey for their work on cross-build
support.


Regards,
Roger

Hector Oron (2):
      Sbuild: Initial support for cross-building
      Sbuild: Add Xapt as a dependency resolver

Max Thoursie (3):
      Sbuild::Build: Remove double if statements
      Sbuild::Build: Output the contents of debian/files w/o a box
      debian: debian/rules runs ./bootstrap when needed

Philipp Kern (1):
      lib/Sbuild.pm, man/sbuild-setup.7.in: fix privilege typo

Roger Leigh (37):
      Sbuild: Remove internal resolver
      NEWS: Document cross-build addition and internal removal
      Sbuild: Remove watches
      NEWS: Document watches removal
      sbuild-stats: Remove
      NEWS: Document sbuild-stats removal
      Sbuild: Fix cross-build variable mismatches
      Sbuild::Build: Include @crosscoredeps in @coredeps
      Sbuild::Build: Unlink old build log before opening new log
      Sbuild::Build: Don't use dedicated log dir for user mode
      Sbuild: LOG_DIR default depends upon SBUILD_MODE
      sbuild-dumpconfig: Don't wrap manpage help text
      Sbuild: LOG_DIR default depends upon SBUILD_MODE
      Sbuild::Build: Include @crosscoredeps in @coredeps
      Sbuild::Build: Don't use dedicated log dir for user mode
      Sbuild: LOG_DIR default depends upon SBUILD_MODE
      Sbuild::ResolverBase: Set defaults for host and build arch
      Merge branch 'cross-build'
      Sbuild::Conf: Fix typo in TOOLCHAIN_REGEX help text
      test: Remove sbuild-stats
      test: Add wanna-build test script for buildd
      test: Add user option to wanna-build
      test: Add database option to wanna-build
      Buildd::Conf: Correct misused HASH argument in constructor
      debian: Update changelog from NEWS
      Sbuild::Build: Add separators around debian/files output
      Sbuild::Log: Remove
      build: Don't distribute or install Sbuild/Log.pm
      99builddsourceslist: Add initialisation from buildd/config
      Merge branch 'master' of ssh+git://git.debian.org/git/buildd-tools/sbuild
      Merge remote-tracking branch 'scratch/cross-build'
      Sbuild::ResolverBase: Fix indentation
      debian: Update changelog date
      debian: Drop /etc/schroot/setup.d from installation
      etc: Drop long obsolete 25nssdatabases setup script
      debian: Document 25nssdatabases removal
      debian: buildd doesn't install schroot setup scripts

Wookey (27):
      Sbuild::Conf: Add MULTIARCH_CORE_DEPENDENCIES table
      debian: Add changelog entry for cross-build changes
      Sbuild::Build: Further clarification of build/host architecture
      Sbuild::Conf: Add dpkg-cross and pkg-config link to arm cross packages
      Sbuild::ResolverBase: Configure dpkg foreign-architecture
      Sbuild::Build Add CROSSBUILD_CORE_DEPENDS{arch} to core deps
      Sbuild::ResolverBase: Use build arch for dummy deps package
      Sbuild::Build: Set environment variables for cross-building
      Sbuild::Build: Cross-building uses apt-get build-dep
      Sbuild::ResolverBase.pm: Broken indentation tidy
      Fix run_fetch_install_packages so native builds work as well as cross Issue was that if $crosscoredeps is not defined the code barfs on @{$crosscoredeps->{$self->get_conf('HOST_ARCH'), rather than it just being empty. This code can be improved by a competent perl person.
      Explicitly use shell in setup-dpkg to ensure redirect works properly.
      Correct typos in logging messages for setting cross-arch config
      Add log subsection for installing cross-build-deps
      Set Host and Build Arches in object, then use throught
      Set Host and Build arch in resolver object. Make names consistent. Part two of using get instead of get_conf for arches
      Fix string quoting error in cross-build-coredeps config
      Sbuild::Build: Fix run_fetch_install_packages for native builds
      Sbuild::ResolverBase: Explicitly use shell in setup_dpkg
      Sbuild: Correct typos in logging messages for setting cross-arch config
      Sbuild::Build: Add log subsection for installing cross-build-deps
      Sbuild::Build: Set Host and Build Arches in object, then use throughout
      Sbuild::ResolverBase: Set Host and Build arch in resolver object
      Sbuild::Conf: Fix string quoting error in cross-build-coredeps config
      Use new dpkg 1.16.2 --add-architecture syntax so sbuild crosses-builds on Debian chroots
      Use crossbuild-essential-$arch to gloss over distro differences
      Don't check xapt exists unless it is configured - this config is rarely, if ever, used.


 NEWS                           |   28 +-
 bin/Makefile.am                |    1 -
 bin/sbuild                     |    6 +-
 bin/sbuild-apt                 |    4 +-
 bin/sbuild-createchroot        |   23 +-
 bin/sbuild-stats               |  250 -----------------
 bin/sbuild-update              |    2 +
 configure.ac                   |    2 -
 debian/buildd.install          |    1 -
 debian/changelog               |   35 +++
 debian/rules                   |    3 +
 debian/sbuild.install          |    1 -
 etc/25nssdatabases             |   82 ------
 etc/99builddsourceslist        |   19 ++
 etc/Makefile.am                |    2 +-
 lib/Buildd/Conf.pm             |    2 +-
 lib/Sbuild.pm                  |    2 +-
 lib/Sbuild/Build.pm            |  307 ++++++++-------------
 lib/Sbuild/ChrootInfo.pm       |   10 +-
 lib/Sbuild/ChrootPlain.pm      |    1 -
 lib/Sbuild/Conf.pm             |  150 ++++------
 lib/Sbuild/ConfBase.pm         |   24 +-
 lib/Sbuild/InternalResolver.pm |  592 ----------------------------------------
 lib/Sbuild/Log.pm              |   87 ------
 lib/Sbuild/Makefile.am         |    3 +-
 lib/Sbuild/Options.pm          |   12 +-
 lib/Sbuild/Resolver.pm         |    6 +-
 lib/Sbuild/ResolverBase.pm     |  119 +++++++-
 lib/Sbuild/Utility.pm          |    2 +-
 lib/Sbuild/XaptResolver.pm     |  102 +++++++
 man/Makefile.am                |    1 -
 man/sbuild-setup.7.in          |    2 +-
 man/sbuild-stats.1.in          |  118 --------
 man/sbuild.1.in                |   53 ++--
 test/Makefile.am               |    7 +-
 test/sbuild-stats.in           |   26 --
 test/wanna-build               |  130 +++++++++
 tools/sbuild-dumpconfig        |    3 +-
 38 files changed, 690 insertions(+), 1528 deletions(-)

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Buildd-tools-devel mailing list