Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823626 - dev-qt/qt3d-5.15.2-r10 - /.../abstractpickingjob.cpp: error: cannot convert const Matrix4x4 {aka const Qt3DCore::Matrix4x
Summary: dev-qt/qt3d-5.15.2-r10 - /.../abstractpickingjob.cpp: error: cannot convert c...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-13 17:49 UTC by Toralf Förster
Modified: 2024-09-20 06:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.79 KB, text/plain)
2021-11-13 17:49 UTC, Toralf Förster
Details
dev-qt:qt3d-5.15.2-r10:20211113-171438.log.bz2 (dev-qt:qt3d-5.15.2-r10:20211113-171438.log.bz2,14.18 KB, application/x-bzip)
2021-11-13 17:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,97.27 KB, text/plain)
2021-11-13 17:49 UTC, Toralf Förster
Details
environment (environment,94.48 KB, text/plain)
2021-11-13 17:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.49 KB, application/x-bzip)
2021-11-13 17:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,1.14 KB, application/x-bzip)
2021-11-13 17:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.87 KB, application/x-bzip)
2021-11-13 17:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-11-13 17:49:39 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2021-11-13 17:49:40 UTC
Created attachment 750930 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-13 17:49:41 UTC
Created attachment 750933 [details]
dev-qt:qt3d-5.15.2-r10:20211113-171438.log.bz2
Comment 3 Toralf Förster gentoo-dev 2021-11-13 17:49:42 UTC
Created attachment 750936 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-13 17:49:44 UTC
Created attachment 750939 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-13 17:49:45 UTC
Created attachment 750942 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-13 17:49:46 UTC
Created attachment 750945 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-13 17:49:47 UTC
Created attachment 750948 [details]
temp.tar.bz2
Comment 9 James Beddek 2022-03-09 08:35:35 UTC
Well never mind, I guess that's already applied.
Comment 10 Jaroslaw Kalinowski 2022-04-29 12:20:52 UTC
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" ]