[Buildd-tools-devel] sbuild 0.55 released

Roger Leigh rleigh at whinlatter.ukfsn.org
Sun May 27 23:53:36 UTC 2007


Hi folks,

I have released sbuild 0.55, tagged in SVN as
  svn://svn.debian.org/svn/buildd-tools/tags/sbuild-0.55

This release contains a few minor fixes, including
- working properly with shell job control
- logging correctly during terminating by a signal
- cleaning up the chroot when terminated by a signal
- epochs in version numbers are stripped for making the .dsc filename

The options parsing has been cleaned up by replacing the by-hand
approach with Getopt::Long.

The shell job control required the removal of a setsid() call in the
process that runs dpkg-buildpackage, so all the processes are in the
same session.  This was added last year due to (IIRC) tbm finding that
some packages didn't build when they had a controlling TTY.  This is
probably brokenness in the package build, but we'll just have to see
if this still needs further work.


Regards,
Roger

  * sbuild:
    - Parse options with Getopt::Long.
    - Remove trailing whitespace.
    - Initialise $main::sub_task with a value, in case the build gets
      terminated prior to it being used.
    - Change the position of begin_session, so that it matches the cleanup
      order on shutdown.
    - build:
      + Document the regex which strips the epoch from the version
        number.
      + Remove the call to setsid when forking dpkg-buildpackage, because
        this broke shell job control.  Some packages might possibly hang
        while building if they detect they have a controlling terminal, but
        IMO this is a bug in the package.
      + When handling the timeout for dpkg-buildpackage, make the $SIG{'ALRM'}
        handler local, so that it is restored to the default once the build
        has finished.
      + When calling mv to move files, use -f to make sure it doesn't run
        interactively.
    - check_dependencies: If a toolchain package is missing, print a
      "not installed" message, rather than a blank version.
    - dsc_md5sums: Log failure to open the .dsc.
    - fetch_source_files: Strip the epoch of the version number, so that
      $dscbase matches the .dsc filename in the filesystem (Closes: #425715).
      Thanks to Lucas Nussbaum.
    - merge_pkg_build_deps: Replace references to "central" src deps with
      build-essential deps.
    - parse_manual_srcdeps: New function, to replace the addition of manual
      source dependencies from the removed read_deps() function.
    - shutdown: Call end_session to clean up the chroot.
  * Sbuild/Chroot.pm:
    - end_session:
      + Add a debugging message.
      + Clear $schroot_session.
  * Sbuild/Conf.pm: Add linux-libc-dev, gnumach-dev, hurd-dev and
    kfreebsd-kernel-headers to @toolchain_regex.  Thanks to Clint Adams
    (Closes: #425855).
  * Sbuild/Log.pm.in:
    - Remove trailing whitespace.
    - open_log, open_pkg_log: Ignore SIGINT, SIGQUIT, SIGTERM and SIGPIPE
      in the logger processes, so that logging continues if the process
      group is signalled to terminate.  They will exit when the group leader
      exits or closes the pipe.
  * debian/changelog: Fix missing colon in bug closure for revision 0.2.4.
  * debian/compat: New file.  Set to debhelper compatibility level 5.
  * debian/control: Depend on debhelper v5.
  * debian/NEWS: Renamed from debian/NEWS.Debian (Closes: #425370).
    Thanks to Lucas Nussbaum for spotting this.
  * debian/rules: Remove DH_COMPAT.


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


More information about the Buildd-tools-devel mailing list