Project

General

Profile

Actions

Bug #16744

closed

debian/rules invokes cmake with -DCMAKE_BUILD_TYPE=None, builds without -g

Added by Dan Mick almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
build
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Debian builds are building without -g, which, among other things, messes up gdb.

This is from dh_auto_build; while there is an override_dh_auto_build, that just augments dh_auto_build with two more commands. The cmake setup assumes that the default build type will take effect, so the explicit setting to None is breaking that assumption.

dh_auto_build doesn't do very much in the case of cmake, so the answer is probably to invoke cmake/make directly. I'm not sure exactly what the replacement should be.

See: /usr/share/perl5/Debian/Debhelper/Buildsystem/cmake.pm

Actions

Also available in: Atom PDF