/var/tmp/portage/dev-qt/qt3d-5.15.2-r10/work/qt3d-7edec6e014de27b9dd03f63875c471aac606a918/src/render/jobs/abstractpickingjob.cpp: In static member function ‘static Qt3DRender::RayCasting::QRay3D Qt3DRender::Render::AbstractPickingJob::intersectionRay(const QPoint&, const Matrix4x4&, const Matrix4x4&, const QRect&)’: /var/tmp/portage/dev-qt/qt3d-5.15.2-r10/work/qt3d-7edec6e014de27b9dd03f63875c471aac606a918/src/render/jobs/abstractpickingjob.cpp:110:33: error: cannot convert ‘const Matrix4x4’ {aka ‘const Qt3DCore::Matrix4x4_SSE’} to ‘const Qt3DCore::Matrix4x4_AVX2&’ 110 | nearPos = nearPos.unproject(viewMatrix, projectionMatrix, viewport); | ^~~~~~~~~~ | | | const Matrix4x4 {aka const Qt3DCore::Matrix4x4_SSE} ------------------------------------------------------------------- This is an stable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j4_stable-20211112-181438 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-bin-1.56.1 [2] rust-1.56.1 * php cli: [1] php7.4 [2] php8.0 * HEAD of ::gentoo commit 3b7c8b4689ce21e61109783a6c1e514e3836b0f4 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Nov 13 15:51:32 2021 +0000 2021-11-13 15:51:30 UTC emerge -qpvO dev-qt/qt3d [ebuild N ] dev-qt/qt3d-5.15.2-r10 USE="-debug -gamepad -gles2-only -qml -test -vulkan"
Created attachment 750930 [details] emerge-info.txt
Created attachment 750933 [details] dev-qt:qt3d-5.15.2-r10:20211113-171438.log.bz2
Created attachment 750936 [details] emerge-history.txt
Created attachment 750939 [details] environment
Created attachment 750942 [details] etc.portage.tar.bz2
Created attachment 750945 [details] logs.tar.bz2
Created attachment 750948 [details] temp.tar.bz2
Patch: https://codereview.qt-project.org/gitweb?p=qt/qt3d.git;a=patch;h=b456a7d47a36dc3429a5e7bac7665b12d257efea
Well never mind, I guess that's already applied.
The same problem is discussed on FreeBSD bugzilla. The patch adapted from here: https://bugs.freebsd.org/bugzilla//show_bug.cgi?id=248155 worked for me but there is a warning that it may break things if CPU does not support AVX2. --- a/src/core/configure.json +++ b/src/core/configure.json @@ -96,7 +96,7 @@ "qt3d-simd-avx2": { "label": "Use AVX2 instructions", "purpose": "Use AVX2 SIMD instructions to accelerate matrix operations", - "autoDetect": "subarch.avx2", + "autoDetect": "features.avx2", "enable": "input.qt3d-simd == 'avx2'", "disable": "input.qt3d-simd == 'sse2' || input.qt3d-simd == 'no' || arch.i386", "output": [ "privateFeature" ]