Source: k3d
Version: 0.8.0.2-12
Severity: important

the package k3d fails to compile with when one defines extra build flags.
E.g. when one enables build hardening by adding this to debian rules:
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk

The flags are not quoted so one gets this:
dh_auto_configure -- \
                -DCMAKE_CXX_FLAGS=-g -O2 -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
-Werror=format-security -O2 -O2 \
                -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF \
                -DK3D_INOTIFY_INCLUDE_DIR="/usr/include/i386-linux-gnu"
CMake Error:
  The path to the source directory:

    /build/buildd/k3d-0.8.0.2/obj-i686-linux-gnu/-Werror=format-security

  contains unsupported character '='.

  Please use a different source directory name.


Please quote the flags that can contain spaces.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to