Open
Description
Tested versions
Reproducible with the 4.3 beta
(commit [daa81bb]) and with the 4.3 dev 6
(commit [64520fe])
System information
OpenBSD 7.5 GENERIC amd64 (running on QEMU)
Issue description
OpenBSD build is broken.
I've tried to build it on freshly installed OpenBSD 7.5 in QEMU, and the build is broken due to compilation errors. I've found the following problems:
- With the default
scons
build command it fails because the definition ofquick_exit
standard function cannot be found when compiling the fileplatform/linuxbsd/x11/detect_prime_x11.cpp
, although the header<stdlib.h>
is included. - If I build with OpenGL disabled with
scons opengl3=no
(that way the source file above won't be included in the build), it sill fails with another error: it can't find the header file#include <linux/input-event-codes.h>
(which is included inplatform/linuxbsd/wayland/wayland_thread.cpp
). Note: it's linux-specific header, although it's available in FreeBSD, but not in OpenBSD. - Problem with
Variant
class: calls tovformat
withlong
andunsigned long
parameters make compiler fail to resolveVariant
class constructor, because there is no constructor with eitherlong
orunsigned long
and in this environment neither ofintX_t
/uintX_t
is typedefed withlong
/unsigled long
. - Definition of the function
secure_getenv(name)
can't be found inthirdparty/openxr/scr/common/platform_utils.hpp
(line 98). - Error: unknown type name
cpu_set_t
inthirtparty/embree/common/sys/sysinfo.cpp
, line 672.
And most likely there are other errors.
Steps to reproduce
- Checkout Godot source code, master branch
- Install build dependencies:
pkg_add python scons llvm
- Run
scons
orscons opengl3=no
Minimal reproduction project (MRP)
N/A