On Tue, Mar 30, 2021, at 2:34 AM, Eric Bollengier via Bacula-devel wrote: > Hello Dan, > > On 3/30/21 03:35, Dan Langille wrote: > > When building check_bacula with Bacula 11.0.2 I get: > > > > ==>Entering directory > > /wrkdirs/usr/ports/net-mgmt/nagios-check_bacula11/work/bacula-11.0.2/manpages > > /usr/bin/make -C > > /wrkdirs/usr/ports/net-mgmt/nagios-check_bacula11/work/bacula-11.0.2/examples/nagios/check_bacula > > Compiling check_bacula.c > > check_bacula.c:327:13: error: no matching function for call to 'strncmp' > > if (strncmp(item->D_sock, "Events:", strlen("Events:")) == 0) { > > ^~~~~~~ > > /usr/include/string.h:102:6: note: candidate function not viable: no known > > conversion from 'BSOCK *' to 'const char *' for 1st argument > > int strncmp(const char *, const char *, size_t) __pure; > > ^ > > 1 error generated. > > > > Thanks, I have pushed a fix on the git repo, we lack of a regress script > for this add-on.
For the record, it is this commit: https://www.bacula.org/git/cgit.cgi/bacula/commit/?h=Branch-11.0&id=ef3a7fe40a2aee5e7acb3bf3144bba713c9cf982 I will patch the FreeBSD port (via sysutils/bacula11-server, the parent port) later this week. At present, the FreeBSD project is moving the ports repo from subversion to git. Thank you. -- Dan Langille d...@langille.org _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel