Problem building gpgmeutils.c.o in GVM-Lib 10.0.2 on CentOS 7 minimal

Quick follow up on this. The gpgme update to 1.4.3 got rid of most of the compiler errors, but a couple were left.

error: ‘struct _gpgme_key’ has no member named ‘fpr’ needs gpgme 1.7.0 to resolve (which was also noted in https://github.com/greenbone/gvm-libs/issues/329 and Gvm-libs 10 / 11 - latest release branch gpgme compilation error) so the GPG_MIN_VERSION in the CMake config really ought to be fixed as this should have been caught before trying to build.

Interestingly enough, even though gvmlibs built and installed with no issues when I moved on to building OpenVAS scanner, the CMake failed with:

– Checking for module ‘libgvm_base>=10.0.0’
– No package ‘libgvm_base’ found
CMake Error at /usr/share/cmake3/Modules/FindPkgConfig.cmake:467 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake3/Modules/FindPkgConfig.cmake:647 (_pkg_check_modules_internal)
misc/CMakeLists.txt:31 (pkg_check_modules)

– Configuring incomplete, errors occurred!
See also “/home/sawozny/openvas-6.0.2/build/CmakeFiles/CmakeOutput.log”.

Even though gvmlibs appear to be installed and accessible:

[sawozny@openvas build]$ ldconfig -p | grep gvm
libgvm_util.so.10 (libc6,x86-64) => /usr/local/lib64/libgvm_util.so.10
libgvm_util.so (libc6,x86-64) => /usr/local/lib64/libgvm_util.so
libgvm_osp.so.10 (libc6,x86-64) => /usr/local/lib64/libgvm_osp.so.10
libgvm_osp.so (libc6,x86-64) => /usr/local/lib64/libgvm_osp.so
libgvm_gmp.so.10 (libc6,x86-64) => /usr/local/lib64/libgvm_gmp.so.10
libgvm_gmp.so (libc6,x86-64) => /usr/local/lib64/libgvm_gmp.so
libgvm_base.so.10 (libc6,x86-64) => /usr/local/lib64/libgvm_base.so.10
libgvm_base.so (libc6,x86-64) => /usr/local/lib64/libgvm_base.so
[sawozny@openvas build]$ ls -la /usr/local/lib64
total 456
drwxr-xr-x. 3 root root 4096 Jul 12 21:21 .
drwxr-xr-x. 13 root root 4096 Jul 12 21:21 …
lrwxrwxrwx. 1 root root 17 Jul 12 21:21 libgvm_base.so -> libgvm_base.so.10
lrwxrwxrwx. 1 root root 21 Jul 12 21:21 libgvm_base.so.10 -> libgvm_base.so.10.0.2
-rwxr-xr-x. 1 root root 141808 Jul 12 21:18 libgvm_base.so.10.0.2
lrwxrwxrwx. 1 root root 16 Jul 12 21:21 libgvm_gmp.so -> libgvm_gmp.so.10
lrwxrwxrwx. 1 root root 20 Jul 12 21:21 libgvm_gmp.so.10 -> libgvm_gmp.so.10.0.2
-rwxr-xr-x. 1 root root 50680 Jul 12 21:18 libgvm_gmp.so.10.0.2
lrwxrwxrwx. 1 root root 16 Jul 12 21:21 libgvm_osp.so -> libgvm_osp.so.10
lrwxrwxrwx. 1 root root 20 Jul 12 21:21 libgvm_osp.so.10 -> libgvm_osp.so.10.0.2
-rwxr-xr-x. 1 root root 30304 Jul 12 21:18 libgvm_osp.so.10.0.2
lrwxrwxrwx. 1 root root 17 Jul 12 21:21 libgvm_util.so -> libgvm_util.so.10
lrwxrwxrwx. 1 root root 21 Jul 12 21:21 libgvm_util.so.10 -> libgvm_util.so.10.0.2
-rwxr-xr-x. 1 root root 223192 Jul 12 21:18 libgvm_util.so.10.0.2
drwxr-xr-x. 2 root root 4096 Jul 12 21:21 pkgconfig

I guess that one is a problem for another day.

Thanks,

Scott