pkg-create-dbgsym (0.25) hardy; urgency=low

  * tests/dhtest.nostrip: Add another test case for dh_strip blacklisting with
    a space between -X and the argument. This reproduces the followup problem
    in LP #180364.
  * dh_strip: Fix option parsing to get along with spaces between -X and the
    argument. (LP: #180364)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 26 Feb 2008 16:05:28 +0100

pkg-create-dbgsym (0.24) hardy; urgency=low

  * Add tests/dhtest.nostrip: Ignore crash2 for dh_strip, and add an assertion
    that the file isn't touched by dh_strip. This reproduces LP #180364.
  * Parse dh_strip's -X options in the wrapper and pass them to
    pkg_create_dbgsym. Do not touch any files which match these patterns. This
    avoids adding GNU debuglinks to ELF binaries which must not be touched at
    all, like Ocaml bytecode. (LP: #180364)
  * tests/run: Do not expect a dbgsym package for test .debs with 'nostrip' in
    the name (as used by the tests/dhtest.nostrip test case).

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 21 Feb 2008 17:55:07 +0100

pkg-create-dbgsym (0.23) hardy; urgency=low

  * Also disable pkg-create-dbgsym if Archive Purpose is PPA.

 -- Adam Conrad <adconrad@ubuntu.com>  Tue, 18 Dec 2007 16:01:24 -0700

pkg-create-dbgsym (0.22) hardy; urgency=low

  * Disable symbol extraction if *-autotest is found in Suite in the
    buildd's /CurrentlyBuilding file; requires a modified sbuild.

 -- Adam Conrad <adconrad@ubuntu.com>  Fri, 14 Dec 2007 15:18:37 -0700

pkg-create-dbgsym (0.21) hardy; urgency=low

  * Add tests/dhtest.compat1override/: Declare debian/compat '4', but override
    it in debian/rules with DH_COMPAT=1. Reproduces the FTBFS of dvi2tty,
    flexml, and gtk-engines-mono.
  * dh_strip: Fix debhelper compatibility level detection so that DH_COMPAT
    overrides debian/compat. (LP: #173631)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 04 Dec 2007 11:58:19 +0100

pkg-create-dbgsym (0.20) feisty; urgency=low

  * Move test suite into tests/ to unclutter source root directory.
  * Add tests/dhtest.versionoverride: Test case for overriding the version of
    a particular binary. This replicates LP #92747. However, since this is
    unfixable without major changes (dh_strip is called before dh_gencontrol
    usually), we do not run the test case for now.
  * pkg_create_dbgsym: Do not generate conflicts to python dbg packages.
    (LP: #88695)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue,  3 Apr 2007 10:58:17 +0200

pkg-create-dbgsym (0.19) feisty; urgency=low

  * dh_strip: Explicitly unset $pkg before parsing debian/control.
    Packages with a debian/rules that happen to set this variable FTBFS
    otherwise (like sim).

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri,  2 Feb 2007 13:07:34 +0100

pkg-create-dbgsym (0.18) feisty; urgency=low

  * testsuite: Check that all ddebs conflict to all built -dbg packages.
  * pkg_create_dbgsym: Determine set of -dbg packages and add Conflicts: to
    them. Closes: LP#68268

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 15 Dec 2006 11:15:33 +0100

pkg-create-dbgsym (0.17) feisty; urgency=low

  * Revert Debian #386246 workaround of 0.16 again, we should now fix the
    actually broken packages.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 14 Dec 2006 08:35:25 +0100

pkg-create-dbgsym (0.16) edgy; urgency=low

  * pkg_create_dbgsym: If package build directory does not exist, only whine
    and exit successfully instead of failing. This makes us bug-compatible to
    Debian #386246, right before Edgy release it is impractical to fix all
    broken packages for that. This will be reverted early in Edgy+1.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 12 Oct 2006 14:01:58 +0200

pkg-create-dbgsym (0.15) edgy; urgency=low

  * Fix (harmless) find error message on arch-specific packages without any
    ELF files at all.
  * Add dhtest.dbg3: Call dh_strip with --dbg-package dhtest (without the '='
    in between, as prescribed by the manpage). This reproduces the current
    libtasn-1-3 FTBFS.
  * dh_strip: Relax --dbg-package parameter parsing a bit to accept
    '--dbg-package pkgname' syntax.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 12 Oct 2006 11:55:35 +0200

pkg-create-dbgsym (0.14) edgy; urgency=low

  * Use more elaborate test crash programs with a three-function deep stack,
    so that gdb's current 'Could not find the frame base' failure in the
    topmost function does not completely break the test suite.
  * Add dhtest.dbg2 test case: Use dh_strip --keep-debug and manually move
    around the debug symbols to dhtest1-dbg. This replicates the current FTBFS
    of opal.
  * dh_strip: Handle --keep-debug option gracefully to err on the safe side.
    Fixes current opal FTBFS.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 21 Sep 2006 20:51:28 +0200

pkg-create-dbgsym (0.13) edgy; urgency=low

  * *test/crash2.c: Test for isinf() and explicitly raise a SIGFPE, to get
    a crash on powerpc, too.
  * dhtest.archspecific: Add powerpc package so that the package builds at all
    on powerpc.
  * cdbstest/debian/rules: Explicitly set CFLAGS to -O0 to avoid optimizing
    out function arguments and thus failing the test suite.
  * dhtest.noargs/debian/control: Add Pre-Depends field and multiline
    dependency field to reproduce current dpkg FTBFS.
  * pkg_create_dbgsym: 
    - Properly handle continuation lines in Dependency fields.
    - Also filter out Pre-Depends:.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Sun, 20 Aug 2006 17:19:46 +0200

pkg-create-dbgsym (0.12) edgy; urgency=low

  * Add dhtest.tmpdirarg/: Test suite check for a source package which uses
    the -P/--tmpdir= debhelper option. This recreates the current cdrtools
    FTBFS.
  * dh_strip: Respect -P/--tmpdir arguments.
  * pkg_create_dbgsym: Do not assume that the temporary package build
    directory is directly below debian/.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 17 Aug 2006 12:47:13 +0200

pkg-create-dbgsym (0.11) edgy; urgency=low

  * dhtest/debian/control: Add Suggests: to ${bar}-core to recreate current
    FTBFS of caudium.
  * pkg-create-dbgsym: Filter out dependency fields before passing them to
    dpkg-gencontrol. Doing it afterwards is too late since dpkg-gencontrol
    does not have variable substitutions at that point, which can mess up the
    dependencies to become unparseable.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Wed, 16 Aug 2006 09:40:57 +0200

pkg-create-dbgsym (0.10) edgy; urgency=low

  * Add dhtest.archspecific/: Test suite check for a source package with
    architecture specific binaries.
  * dh_strip: Evaluate DEB_BUILD_ARCH and ignore architecture specific
    packages which are not built on the current platform.
  * testsuite: If we encounter a -dbg package, check that it produces a good
    backtrace with the corresponding deb, in order to verify that the -dbgsym
    package did not break the debug link.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 15 Aug 2006 18:51:35 +0200

pkg-create-dbgsym (0.9) edgy; urgency=low

  * Ignore *.o files, too. Through some mysterious chain of events, adding GNU
    debuglinks to libc6-dev's /usr/lib/*crt*.o files causes unwanted
    debuglinks in gcc-produced binaries. This breaks dh_strip for all source
    packages which build a -dbg binary. Closes: LP#55880

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 10 Aug 2006 19:37:05 +0200

pkg-create-dbgsym (0.8) edgy; urgency=low

  * Remove the Essential: flag for -dbgsym package control records and fix
    Priority: to extra.
  * dhtest.noargs/Makefile: Add GNU debuglink to generated crash file; it's
    not entirely unreasonable for upstream or package build systems to do this
    without using dh_strip --dbg-package.
  * pkg_create_dbgsym: Remove GNU debuglink before adding our own, to not
    break if the binary already has its own. Remove the 'more than one
    hardlink' special case again, since it is now obsolete.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 10 Aug 2006 16:07:32 +0200

pkg-create-dbgsym (0.7) edgy; urgency=low

  * dh_strip: Call the real dh_strip if NO_PKG_MANGLE is given.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Mon,  7 Aug 2006 10:34:55 +0200

pkg-create-dbgsym (0.6) edgy; urgency=low

  * dhtest/debian/control: Add Replaces: and Breaks: fields with substitution
    variable as well.
  * Filter out Replaces: from original package's control record.
  * debian/copyright: Update FSF address.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue,  1 Aug 2006 11:03:03 +0200

pkg-create-dbgsym (0.5) edgy; urgency=low

  * dhtest: Add Depends/Recommends/Suggests/Conflicts with a substitution
    variable, to recreate the current openoffice.org FTBFS.
  * Filter out Recommends:, Suggests:, Conflicts:, Provides:, and Breaks: from
    original package's control record, since they are not necessary and just
    potentially break the build.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 31 Jul 2006 22:01:34 +0200

pkg-create-dbgsym (0.4) edgy; urgency=low

  * Do not add .ddebs to the .changes file until Soyuz is able to process
    them. With that, we can already install this package into the buildd
    chroots to fix remaining FTBFSes induced by this package, and it even
    opens up the possibility to put the resulting .ddebs to some inofficial
    place.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 31 Jul 2006 11:22:06 +0200

pkg-create-dbgsym (0.3) edgy; urgency=low

  * debian/copyright: Fix copy & paste leftovers.
  * Add dhtest.compatenvvar/: Test suite check for debhelper packages using
    $DH_COMPAT instead of debian/compat.
  * Respect DH_COMPAT setting in debian/rules (fixes build of unifdef).
  * dhtest.compatenvvar/: Install a hardlink to an existing binary to check
    whether this is handled correctly (since objcopy --add-gnu-debuglink is
    not idempotent).
  * Ignore objcopy --add-gnu-debuglink failures if target file's hard link
    count is not 1 (fixes build of sudo).

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 18 Jul 2006 15:30:18 +0200

pkg-create-dbgsym (0.2) edgy; urgency=low

  * Add debug output if objcopy --only-keep-debug or --add-gnu-debuglink
    fails.
  * Do not generate debug symbols for *.a (static libraries), since they
    sometimes break objcopy and are not generally useful.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu,  6 Jul 2006 13:47:20 +0200

pkg-create-dbgsym (0.1) edgy; urgency=low

  * Initial release:
    - pkg_create_dbgsym: build a debug symbol ddeb for a given package in a
      built source tree
    - dh_strip: Divert and wrap debhelper's dh_strip which automatically calls
      pkg_create_dbgsym for all packages dh_strip is asked to act on.
    - Implements distro side of https://wiki.ubuntu.com/AptElfDebugSymbols.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 23 Jun 2006 12:46:24 +0200
