Closed immauss closed 1 year ago
I have not yet had time to go back to diff the code, but this started with either 22.6.0 or 22.6.1.
Hello,
thank you for reporting this issue.
Unfortunately linux/arm/v7 is an unsupported architecture, therefore I don't have the capacity to test it myself.
But theoretically https://github.com/greenbone/openvas-scanner/pull/1522 should fix that issue.
Expected behavior
Build finishes on all architectures
Actual behavior
Build completes on amd64 & arm64, but fails on arm/v7(armhf) with:
Steps to reproduce
Follow normal build directions on an armhf CPU or via qemu. ( I'm using my container build.)
GVM versions
gvmd=v23.0.1 gvm_libs=v22.7.3 openvas=v22.7.6 openvas_smb=v22.5.4 notus_scanner=v22.6.0 gsa=v22.8.1 gsad=v22.7.0 ospd=v21.4.4 ospd_openvas=v22.6.1 pg_gvm=v22.6.1 python_gvm=v23.10.1 gvm_tools=v23.10.0 greenbone_feed_sync=v23.10.0
Environment
Utilzining build process from: https://github.com/immauss/openvas
The Problem
The problem is the differing stdlib.h definition of size_t On the armhf:
On the AMD64:
I'm not sure what the best way to handle this is in the code.
For my build, I'm just checking the arch and substituting %lu for %i. I guess I also should hope that no one is using a really long host exclude list ..... :) Builds using %i instead of %lu complete successfully.