Package: debhelper
Version: 9.20160618.1
Severity: normal
Tags: patch

Dear maintainer,

cmake.pm should pass -DCMAKE_BUILD_TYPE=RelWithDebInfo to cmake, which
builds with debug symbols to avoid empty -dbgsym packages.

Patch attached.

Thanks.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.6.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  autotools-dev            20160430.1
ii  binutils                 2.26-11
ii  dh-autoreconf            12
ii  dh-strip-nondeterminism  0.019-1
ii  dpkg                     1.18.7
ii  dpkg-dev                 1.18.7
ii  file                     1:5.25-2
ii  libdpkg-perl             1.18.7
ii  man-db                   2.7.5-1
ii  perl                     5.22.2-1
ii  po-debconf               1.0.19

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201606

-- no debconf information

-- 
Sean Whitton
From f69aac8e24db360700d3b1e2e00b6d4b69b5f540 Mon Sep 17 00:00:00 2001
From: Sean Whitton <spwhit...@spwhitton.name>
Date: Sun, 26 Jun 2016 08:29:25 +0900
Subject: [PATCH] cmake.pm passes -DCMAKE_BUILD_TYPE=RelWithDebInfo

This avoids empty -dbysym packages.
---
 Debian/Debhelper/Buildsystem/cmake.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm
index 98631e7..ffeecdc 100644
--- a/Debian/Debhelper/Buildsystem/cmake.pm
+++ b/Debian/Debhelper/Buildsystem/cmake.pm
@@ -14,7 +14,7 @@ use parent qw(Debian::Debhelper::Buildsystem::makefile);
 my @STANDARD_CMAKE_FLAGS = qw(
   -DCMAKE_INSTALL_PREFIX=/usr
   -DCMAKE_VERBOSE_MAKEFILE=ON
-  -DCMAKE_BUILD_TYPE=None
+  -DCMAKE_BUILD_TYPE=RelWithDebInfo
   -DCMAKE_INSTALL_SYSCONFDIR=/etc
   -DCMAKE_INSTALL_LOCALSTATEDIR=/var
 );
-- 
2.8.1

Attachment: signature.asc
Description: PGP signature

Reply via email to