Actions
Bug #16744
closeddebian/rules invokes cmake with -DCMAKE_BUILD_TYPE=None, builds without -g
% 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