#1076083 gpsbabel assertions

Package:
gpsbabel
Source:
gpsbabel
Description:
GPS file conversion plus transfer to/from GPS units
Submitter:
tsteven4
Date:
2024-07-10 13:39:06 UTC
Severity:
normal
#1076083#5
Date:
2024-07-10 12:57:30 UTC
From:
To:
Version: 1.9.0+ds-3

The debian build of gpsbabel has assertions enabled, i.e.. NDEBUG is not
defined. The expectation of the gpsbabel maintainers was that
CMAKE_BUILD_TYPE would be set to Release or RelWithDebInfo, and that
would cause NDEBUG to be defined thus disabling assertions. I gather
debian prefers to build packages with CMAKE_BUILD_TYPE=None. Can you
please modify the debian build so NDEBUG is defined, perhaps by adding a
line "|export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG" in debian/rules?|

  I am using docker debian:sid and gpsbabel_1.9.0+ds-3_amd64.deb.

#1076083#10
Date:
2024-07-10 13:36:58 UTC
From:
To:
Hi,

* tsteven4 <tsteven4@gmail.com> [2024-07-10 06:57]:

Can you give a reason why this should be done?

According to codesearch it is only used in the exif reader:

https://codesearch.debian.net/search?q=NDEBUG+package%3Agpsbabel&literal=0

Also see this for context:

https://lists.debian.org/debian-devel/2013/02/msg00353.html

Cheers Jochen