Skip to content

Cannot build anymore #1803

@Sysadminfromhell

Description

@Sysadminfromhell

Expected behavior

Building the openvas-scanner as descirbed in the documentation https://greenbone.github.io/docs/latest/22.4/source-build/index.html#id76

Actual behavior

Fails due to one missing .h file:

root@OpenVAS:~/build/openvas-scanner# make -j$(nproc)
[ 1%] Building C object misc/CMakeFiles/openvas_misc_shared.dir/openvas-krb5.c.o
In file included from /root/source/openvas-scanner-23.14.0/misc/openvas-krb5.c:1:
/root/source/openvas-scanner-23.14.0/misc/openvas-krb5.h:1:10: fatal error: krb5/krb5.h: No such file or directory
1 | #include <krb5/krb5.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [misc/CMakeFiles/openvas_misc_shared.dir/build.make:300: misc/CMakeFiles/openvas_misc_shared.dir/openvas-krb5.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:198: misc/CMakeFiles/openvas_misc_shared.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Steps to reproduce

follow the documentation and you will come to the same resolt with the newest version.

GVM versions

gsa: (gsad --version)
24.1.0

gvm: (gvmd --version)
24.1.2

openvas: (openvas --version)
23.14.0

gvm-libs:
22.15.1

openvas-smb:
22.5.6

Environment

Operating system:

Linux OpenVAS 6.1.0-23-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux

Installation method / source: (packages, source installation)

Source

Logfiles

cat /var/log/gvm/*
2025-01-10 12:24:02,702 notus-scanner: INFO: (notus.scanner.daemon) Starting notus-scanner version 22.6.5.
OSPD[25063] 2025-01-10 12:24:02,853: ERROR: (ospd_openvas.db) openvas executable not available. Please install openvas into your PATH.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions