Openvas GVMD build failed


#1

Hello, from this morining when I tried to build GVMD8.0 but it producing this error any

Scanning dependencies of target gvmd-sqlite

[ 2%] Building C object src/CMakeFiles/gvmd-sqlite.dir/gvmd.c.o
[ 5%] Building C object src/CMakeFiles/gvmd-sqlite.dir/gmpd.c.o
[ 8%] Building C object src/CMakeFiles/gvmd-sqlite.dir/manage_utils.c.o
/opt/gvmd/build/gvmd/src/manage_utils.c: In function ‘hosts_str_contains’:
/opt/gvmd/build/gvmd/src/manage_utils.c:746:32: error: incompatible type for argument 1 of ‘gvm_host_in_hosts’
int ret = gvm_host_in_hosts (find_hosts->hosts[0], NULL, hosts);
^~~~~~~~~~
In file included from /opt/gvmd/build/gvmd/src/manage_utils.c:32:0:
/usr/local/include/gvm/base/hosts.h:150:1: note: expected ‘const gvm_host_t * {aka const struct gvm_host *}’ but argument is of type ‘GList {aka struct _GList}’
gvm_host_in_hosts (const gvm_host_t *, const struct in6_addr *,
^~~~~~~~~~~~~~~~~
src/CMakeFiles/gvmd-sqlite.dir/build.make:110: recipe for target ‘src/CMakeFiles/gvmd-sqlite.dir/manage_utils.c.o’ failed
make[2]: *** [src/CMakeFiles/gvmd-sqlite.dir/manage_utils.c.o] Error 1
CMakeFiles/Makefile2:129: recipe for target ‘src/CMakeFiles/gvmd-sqlite.dir/all’ failed
make[1]: *** [src/CMakeFiles/gvmd-sqlite.dir/all] Error 2
Makefile:151: recipe for target ‘all’ failed
make: *** [all] Error 2


#2

To add
The changes where made in
Merge pull request [#445] from kroosec/hosts-fix


#3

I’m quoting myself from:

Please note that the github master branches are development versions not officially released and where all the development is happening. Such versions might show unexpected behavior or could even break/be in a temporary unusable state at any time.

For productive use it is strongly suggested to stay with the official announced source code releases in About the Source Edition (GSE) category.

If you want to contribute to the development of those you probably need to dig into such issues on your own and could consider to contribute at the issue trackers of github: http://github.com/greenbone

As no help for such development versions should be given in this community portal i’m closing this thread.

Please switch to the stable branches as advised or try again in a few days / with a fresh git checkout of all branches.

As an alternative you can also open up a new bugreport for building issues at the github issue trackers.


closed #4