varnishkafka fails to build on Debian due to the use of the _BSD_SOURCE macro, which was deprecated starting with glibc version 2.20, included in Debian 9 (stretch) and later. This deprecated use of _BSD_SOURCE triggers a warning, which is treated as an error due to the -Werror flag in the Makefile.
Simply deleting the use of this macro (varnishkafka.c line 33) causes the build to succeed and presumably everything to work properly. The comment on that line says that the macro is needed for daemon(), but that function is apparently in glibc's default feature set anyway.