[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Status on ddeb support in Debian

Here is another short update on ddeb support in Debian.

What is missing?

 * Only known blocker is missing archive/dak support.

 * Once DAK support is implemented, I intend to enable ddebs
   unconditionally in debhelper.

Where are we?

 * debhelper in unstable can now build ddebs - disabled by default.
   - Test with env DH_BUILD_DDEBS=1, but please don't upload ddebs to
     any Debian archive.

 * lintian gives no remarks to the new ddebs.

 * dh_strip can now be asked to /not/ build ddebs, if your package for
   some reason cannot use them.
   - Known cases are: linux (build-id based debug symbols not supported)
     and possibly other kernels

How can I help?

 * Please review the documentation in dh_strip(1) and help me improve it
   where needed.

 * [Toolchain maintainers] If you maintain that might need to handle
   ddebs /differently/ than a regular ddeb (e.g. reprepro), please
   look into implementing that.

 * [Derivatives] Please consider upgrading your infrastructure /
   tooling if/where needed.


 Q: What if my distribution/use-case is ready to build ddebs?
 A: Please import debhelper 9.20150628 with the attached patch
    - Note, if your developers/users moonlight as DDs, please remind
      them to build their Debian packages in a clean unstable chroot
      with the regular debhelper! They should be doing that already,
      but a reminder cannot hurt.

 Q: What happens if I upload a ddeb to unstable?
 A: Either dak unconditionally rejects your upload (if you are lucky)
    OR it ends up in NEW (if you are unlucky).  Note that once your
    package is in NEW, subsequent upload will /also/ end up in NEW.
    Even if they do /not/ include the ddeb package.


From fe1277fe3301839d5c8b1d9c7ef518909e1b4277 Mon Sep 17 00:00:00 2001
From: Niels Thykier <niels@thykier.net>
Date: Sat, 4 Apr 2015 08:45:21 +0200
Subject: [PATCH] Unconditionally enable ddeb-support

Signed-off-by: Niels Thykier <niels@thykier.net>

 dh_strip | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dh_strip b/dh_strip
index 0085752..b9efe79 100755
--- a/dh_strip
+++ b/dh_strip
@@ -144,7 +144,8 @@ if ($dh{MIGRATE_DDEB} and not $dh{ENABLE_DDEBS}) {
 	error("--ddeb-migration and --no-ddebs are mutually exclusive");
-$dh{ENABLE_DDEBS} = 0 if not $ENV{'DH_BUILD_DDEBS'};
+#Allow ddebs to be built
+# $dh{ENABLE_DDEBS} = 0 if not $ENV{'DH_BUILD_DDEBS'};
 # This variable can be used to turn off stripping (see Policy).
 if (get_buildoption('nostrip')) {

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: