Bug#1037985: godot: FTBFS om s390 (missing #include <xmmintrin.h>)
Petter Reinholdtsen
pere at hungry.com
Thu Jun 15 08:28:24 BST 2023
Package: src:godot
Version: 3.5.1-stable-2
Severity: serious
The latest source fail to build on s390x. This is the build error from
<URL: https://buildd.debian.org/status/fetch.php?pkg=godot&arch=s390x&ver=3.5.1-stable-2&stamp=1686780159&raw=0 >:
Compiling ==> thirdparty/embree/common/sys/sysinfo.cpp
In file included from thirdparty/embree/common/sys/sysinfo.cpp:5:
thirdparty/embree/common/sys/intrinsics.h:15:10: fatal error: immintrin.h: No such file or directory
15 | #include <immintrin.h>
| ^~~~~~~~~~~~~
compilation terminated.
scons: *** [thirdparty/embree/common/sys/sysinfo.x11.opt.tools.64.o] Error 1
scons: building terminated because of errors.
[Time elapsed: 00:04:55.241]
make[1]: *** [debian/rules:83: override_dh_auto_build] Error 2
A similar build error occured with version 3.5.1-stable-1 reported as
<URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031132 > with
the build log in
<URL: https://buildd.debian.org/status/fetch.php?pkg=godot&arch=s390x&ver=3.5.1-stable-1&stamp=1675605014&raw=0 >:
Compiling ==> thirdparty/oidn/core/api.cpp
In file included from thirdparty/oidn/core/common.h:19,
from thirdparty/oidn/core/device.h:19,
from thirdparty/oidn/core/api.cpp:48:
thirdparty/oidn/common/platform.h:27:10: fatal error: xmmintrin.h: No such file or directory
27 | #include <xmmintrin.h>
| ^~~~~~~~~~~~~
compilation terminated.
scons: *** [thirdparty/oidn/core/api.x11.opt.tools.64.o] Error 1
scons: building terminated because of errors.
[Time elapsed: 00:01:47.982]
make[1]: *** [debian/rules:66: override_dh_auto_build] Error 2
The "solution" then was to disable the module that failed to build on
any non x86 and arm platform. Perhaps some other module need to be
disabled on s390x?
Setting severity serious as this build problem will block the package
from entering testing.
--
Happy hacking
Petter Reinholdtsen
More information about the Pkg-games-devel
mailing list