Package: apport-notify Version: 2.15.1-1 Severity: important Tags: patch Hi,
apport-notifyd is built in debian/rules without making sure the build flags from dpkg-buildflags are used. There are different approach to this: - bumping compat to 9 (as also done in the patch posted at https://bugs.debian.org/750989#90) - using the /usr/share/dpkg/buildflags.mk makefile snippet provided by dpkg to get the variables - manually query dpkg-buildflags I chose the last one, just because it was the least intrusive one (bumping compat means checking whether other changes are needed). Of course, anyone of the above is equivalent, so feel free to pick whichever is deemed better. Thanks, -- Pino
--- a/debian/rules +++ b/debian/rules @@ -14,7 +14,7 @@ override_dh_auto_clean: override_dh_auto_build: dh_auto_build python3 setup.py build - gcc -Wall debian/apport-notifyd.c -o debian/apport-notifyd + gcc -Wall $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get LDFLAGS) debian/apport-notifyd.c -o debian/apport-notifyd override_dh_installinit: dh_installinit --error-handler=true

