[Buildd-tools-devel] New sbuild release 0.37

Roger Leigh rleigh at whinlatter.ukfsn.org
Tue Jan 31 13:30:39 UTC 2006


Hi folks,

As discussed on -devel last November, all of the upstream SVN changes
(bar a few minor bits) have been merged.  The changes are as follows:

   * Sync with upstream SVN:
     - avg-pkg-build-time, avg-pkg-build-time.1, sbuild, sbuild.1,
       update-sourcedeps, update-sourcedeps.1: Update copyright notices with
       current FSF postal address.
     - sbuild:
       + Split changes files sent in the log every 989 characters, to better
         conform to mail RFCs.
       + Always show versions of installed build dependencies.
       + Always purge packages when building in a chroot.
       + Output purged packages line by line, rather than all at once.
       + Use strftime() and getpwuid() instead of the external commands
         date and whoami.
       + Use /var/lib/sbuild/apt.conf if it exists, and create it if it does
         not.  This fixes the problem of the root filesystem
         /etc/apt/apt.conf and /etc/apt/apt.conf.d directories being used,
         while the copies in the chroot filesystem are ignored.
       + Allow arch: all packages to be built when $main::build_arch_all
         is true.
       + Hardware DEBIAN_FRONTEND to "noninteractive" when installing and
         purging packages.  "apt-get update" is also run when the package
         cache is out of date (closes: 331546).
       + Fix support for '~' in version numbers.
       + Add Sbuild.pm (upstream WannaBuild.pm), and replace version_cmp()
         with Sbuild::version_compare().
       + Add REDO support for binNMUs.
       + Add stats generation for download+install, build and remove times.
       + Disassociate from the controlling terminal and make stdin /dev/null
         for the dpkg-buildpackage process.
       + Don't create entries to the sbuild log when a package claims to
         build an _all.deb, but doesn't.  Instead, warn to the build log.
       + Delete binary-all packages that we didn't ask to be built.
       + By default, set APT::Get::AllowUnauthenticated to "true".
       + Add $conf::chroot_only for compatibility with upstream
         (closes: #302628).
       + Add $conf::dpkg_source.
       + Add $conf::build_env_cmnd.
       + Merge whitespace and indentation changes.
       + Fix typos.
       + shutdown(): Don't close the package log if there is no current job.
       + read_build_essential(): Read build-essential from $main::chroot_dir
         instead of the root filesystem.
       + Add @main::toolchain_pkgs and @toolchain_regex.
       + check_space(): Redirect stderr of du to /dev/null.
       + run_apt(): Complete support for "install-deps-env".
       + Add --use-snapshot for building with gcc-snapshot.
       + build(): Remove dpkg-buildpackage debugging statements.
       + merge_pkg_build_deps(): Correctly separate dependencies in $deps,
         and don't immediately return if there are missing packages.
       + Remove support for --store-built-packages.
       + get_dpkg_status(): Check $version is set and compute $result in the
         same manner as upstream.
       + run_apt(): Remove '*' from $pkgs and $rpkgs.
       + install_deps(): purge packages with "dpkg --set-selections".
         schroot support added in addition to upstream changes.
       + fetch_source_files(): Support versioned fetches with apt-get.
       + Add support for auto_giveback_socket: add an extra argument to
         --auto-give-back and add an ssh '-S' option to analyze_fail_stage().
       + Support new --make-binNMU options.
       + Add support for $conf::chroot_only, and default to only running in
         a chroot for security and safety.
       + cleanup_close: Set $main::current_job to "" and shutdown if
         $main::HOME/EXIT-DAEMON-PLEASE exists and we are running in
         batchmode.
       + Move "Package claims to have built" error message to the same place
         as upstream.
     - sbuild.conf:
       + Remove watches.
       + Update alternatives (closes: #280689).
       + Comment out example %individual_stalled_pkg_timeout.
       + Empty @ignore_watches_no_build_deps.
     - sbuild.conf.local:
       + Add $chroot_only.
     - avg-pkg-build-space.1: Update text.
     - example.sbuildrc:
       + Remove $hack_changes_for_frozen.
       + Update comments.
   * sbuild.conf.local:
     - Use FHS-compliant pathnames, as in sbuild.conf.
   * Add support for building from experimental.
   * sbuild:
     - Parse the .changes rather than debian/files, so that the
       .dsc/.diff.gz/.orig.tar.gz are also copied back to ~/build.
     - Print information and contents of arch-all packages (closes: #321640).
   * debian/control: The maintainer field contains the list address.

I switched the maintainer address to the list, so the bug reports get
sent here.

There are quite a lot of changes here.  I've done extensive testing,
but it's possible there are some regressions pulled in from the
upstream changes (most of which have been fixed and patches sent
upstream; I've not yet sent a patch for the .changes parsing until it
has further testing).


For the next release, I'd like to:
- complete schroot session handling (easy)
- merge any missing changes from upstream (difficult until some
  patches are merged upstream)
- push any other local changes upstream (difficult until some
  patches are merged upstream)
- fix the outstanding issues in the BTS; some of these are now fixed;
  others need checking (mostly easy).

Anything else?


Regards,
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060131/bc01ed04/attachment.pgp


More information about the Buildd-tools-devel mailing list