Openvas-smb compilation fail

building openvas-smb from source on almalinux fails.
I tried to use last git repo and last release.
Any idea ?

[  0%] Generating IDL tables
Consolidate compiler generated dependencies of target samba-static
[  0%] Generating IDL tables
[  1%] Building C object samba/CMakeFiles/samba-static.dir/librpc/gen_ndr/tables.c.o
[  1%] Linking C static library libsamba-static.a
[ 96%] Built target samba-static
Consolidate compiler generated dependencies of target openvas_wmiclient
make[2]: *** No rule to make target '/builddir/build/BUILD/gnutls-3.7.6/bundled_gmp/.libs/libgmp.a', needed by 'wmi/'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:189: wmi/CMakeFiles/openvas_wmiclient.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Thanks for your help.

I was able to compile from source an now able to use wmic from my OS.
I dont know how exactly it works but the makefile contains some “static” reference to this file : /builddir/build/BUILD/gnutls-3.7.6/bundled_gmp/.libs/libgmp.a

You need this file to build the package. So download and compile this file on from sources :
After build you will find the libgmp.a. Note that almalinux provides libgmp-devel package but it do not contains this file. So check your distribution if any luck.

Afterthat, edit all file that reference this lib and change the bad path (/builddir/build/BUILD/gnutls-3.7.6/bundled_gmp/.libs/libgmp.a) to the right one.

Should i have to open a bug request for that ?