lp:ubuntu/gutsy/pkg-create-dbgsym

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/gutsy/pkg-create-dbgsym
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

20. By Martin Pitt

* 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)

19. By Martin Pitt

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

18. By Martin Pitt

* 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

17. By Martin Pitt

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

16. By Martin Pitt

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.

15. By Martin Pitt

* 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.

14. By Martin Pitt

* 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.

13. By Martin Pitt

* *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:.

12. By Martin Pitt

* 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/.

11. By Martin Pitt

* 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.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/karmic/pkg-create-dbgsym
This branch contains Public information 
Everyone can see this information.

Subscribers