[Buildd-tools-devel] Bug#471747: sbuild: must not parse dpkg-source's output

Raphael Hertzog hertzog at debian.org
Wed Mar 19 21:52:25 UTC 2008


Package: sbuild
Version: 0.57.0-1
Severity: important

sbuild parse the output of dpkg-source to find out the name of the
directory containing the extracted source package. This is a bad idea
as it will break as soon as dpkg-source's output changes.

In the current development version, we precisely made that change... so
sbuild is going to break when the new dpkg-source is available.

Two solutions:
- extract in an empty directory and use readdir() to find out the
  directory
- use the second argument ok dpkg-source -x as in:
  "dpkg-source -x <dsc-file> <directory>"
  (<directory> must not exist, it will be created)

Thank you in advance for fixing this.

(sbuild of official buildd is also affected and I informed neuro.
Given that we plan to upload dpkg next week, we will revert that output
change temporarily to give you some time to catchup/fix your tools)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Buildd-tools-devel mailing list