Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.0
-
None
Description
qt3d 6.7.0 fails to build with unity build enabled (6.6.3 is ok, or CMAKE_UNITY_BUILD=OFF is ok):
2024-04-07T05:31:07.5365109Z [91/394] Building CXX object src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx.o 2024-04-07T05:31:07.5366105Z FAILED: src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx.o 2024-04-07T05:31:07.5378714Z $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DBUILD_QT3D_MODULE -DQT_3DCORE_LIB -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_3DRENDER_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QEXCHANGE -DQT_OPENGL_LIB -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_3DRender_EXPORTS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I$SRC_DIR/build/src/render/3DRender_autogen/include -I$SRC_DIR/build/include -I$SRC_DIR/build/include/Qt3DRender -I$SRC_DIR/src/render -I$SRC_DIR/build/src/render -I$SRC_DIR/src/render/backend -I$SRC_DIR/src/render/framegraph -I$SRC_DIR/src/render/frontend -I$SRC_DIR/src/render/geometry -I$SRC_DIR/src/render/io -I$SRC_DIR/src/render/jobs -I$SRC_DIR/src/render/lights -I$SRC_DIR/src/render/materialsystem -I$SRC_DIR/src/render/picking -I$SRC_DIR/src/render/raycasting -I$SRC_DIR/src/render/renderstates -I$SRC_DIR/src/render/services -I$SRC_DIR/src/render/shadergraph -I$SRC_DIR/src/render/surfaces -I$SRC_DIR/src/render/texture -I$SRC_DIR/build/include/Qt3DRender/6.7.0 -I$SRC_DIR/build/include/Qt3DRender/6.7.0/Qt3DRender -I$SRC_DIR/build/include/Qt3DCore -I$SRC_DIR/build/src/core -I$SRC_DIR/build/include/Qt3DCore/6.7.0 -I$SRC_DIR/build/include/Qt3DCore/6.7.0/Qt3DCore -isystem $PREFIX/include/qt6/QtConcurrent -isystem $PREFIX/include/qt6 -isystem $PREFIX/include/qt6/QtCore -isystem $PREFIX/lib/qt6/mkspecs/linux-g++ -isystem $PREFIX/include/qt6/QtGui -isystem $PREFIX/include/qt6/QtNetwork -isystem $PREFIX/include/qt6/QtOpenGL -isystem $PREFIX/include/qt6/QtCore/6.7.0 -isystem $PREFIX/include/qt6/QtCore/6.7.0/QtCore -isystem $PREFIX/include/qt6/QtGui/6.7.0 -isystem $PREFIX/include/qt6/QtGui/6.7.0/QtGui -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/qt6-3d-6.7.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -DNDEBUG -O2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -pthread -Wsuggest-override -MD -MT src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx.o -MF src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx.o.d -o src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx.o -c $SRC_DIR/build/src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx 2024-04-07T05:31:07.5401921Z In file included from $PREFIX/include/qt6/QtCore/qglobal.h:43, 2024-04-07T05:31:07.5407660Z from $PREFIX/include/qt6/QtCore/QtGlobal:1, 2024-04-07T05:31:07.5421126Z from $SRC_DIR/src/render/geometry/gltfskeletonloader_p.h:18, 2024-04-07T05:31:07.5421870Z from $SRC_DIR/src/render/geometry/gltfskeletonloader.cpp:4, 2024-04-07T05:31:07.5657585Z from $SRC_DIR/build/src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx:4: 2024-04-07T05:31:07.5698602Z $PREFIX/include/qt6/QtCore/qbuffer.h:60:5: error: reference to 'QBufferPrivate' is ambiguous 2024-04-07T05:31:07.5738643Z 60 | Q_DECLARE_PRIVATE(QBuffer) 2024-04-07T05:31:07.5766506Z | ^~~~~~~~~~~~~~~~~ 2024-04-07T05:31:07.5767151Z In file included from $SRC_DIR/build/include/Qt3DCore/qbuffer.h:1, 2024-04-07T05:31:07.5767504Z from $SRC_DIR/src/core/geometry/qattribute.h:9, 2024-04-07T05:31:07.5767810Z from $SRC_DIR/build/include/Qt3DCore/qattribute.h:1, 2024-04-07T05:31:07.5768138Z from $SRC_DIR/src/render/geometry/gltfskeletonloader_p.h:19: 2024-04-07T05:31:07.5768723Z $SRC_DIR/src/core/geometry/qbuffer.h:16:7: note: candidates are: 'class Qt3DCore::QBufferPrivate' 2024-04-07T05:31:07.5769073Z 16 | class QBufferPrivate; 2024-04-07T05:31:07.5769327Z | ^~~~~~~~~~~~~~ 2024-04-07T05:31:07.5769604Z In file included from $PREFIX/include/qt6/QtCore/QBuffer:1, 2024-04-07T05:31:07.5769917Z from $SRC_DIR/src/render/geometry/qmesh.cpp:14, 2024-04-07T05:31:07.5770234Z from $SRC_DIR/build/src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx:16: 2024-04-07T05:31:07.5770692Z $PREFIX/include/qt6/QtCore/qbuffer.h:13:7: note: 'class QBufferPrivate' 2024-04-07T05:31:07.5770987Z 13 | class QBufferPrivate; 2024-04-07T05:31:07.5771241Z | ^~~~~~~~~~~~~~ 2024-04-07T05:31:07.5771637Z $PREFIX/include/qt6/QtCore/qbuffer.h:60:5: error: reference to 'QBufferPrivate' is ambiguous 2024-04-07T05:31:07.5771964Z 60 | Q_DECLARE_PRIVATE(QBuffer) 2024-04-07T05:31:07.5772226Z | ^~~~~~~~~~~~~~~~~ 2024-04-07T05:31:07.5772638Z $SRC_DIR/src/core/geometry/qbuffer.h:16:7: note: candidates are: 'class Qt3DCore::QBufferPrivate' 2024-04-07T05:31:07.5773227Z 16 | class QBufferPrivate; 2024-04-07T05:31:07.5773464Z | ^~~~~~~~~~~~~~ 2024-04-07T05:31:07.5773867Z $PREFIX/include/qt6/QtCore/qbuffer.h:13:7: note: 'class QBufferPrivate' 2024-04-07T05:31:07.5774158Z 13 | class QBufferPrivate; 2024-04-07T05:31:07.5774405Z | ^~~~~~~~~~~~~~ 2024-04-07T05:31:07.5774714Z In file included from $PREFIX/include/qt6/QtGui/qinputdevice.h:9, 2024-04-07T05:31:07.5775039Z from $PREFIX/include/qt6/QtGui/qpointingdevice.h:9, 2024-04-07T05:31:07.5775347Z from $PREFIX/include/qt6/QtGui/qeventpoint.h:9, 2024-04-07T05:31:07.5775633Z from $PREFIX/include/qt6/QtGui/qevent.h:20, 2024-04-07T05:31:07.5775929Z from $PREFIX/include/qt6/QtGui/QMouseEvent:1, 2024-04-07T05:31:07.5776234Z from $SRC_DIR/src/render/jobs/pickboundingvolumejob_p.h:27, 2024-04-07T05:31:07.5776592Z from $SRC_DIR/build/include/Qt3DRender/6.7.0/Qt3DRender/private/pickboundingvolumejob_p.h:1, 2024-04-07T05:31:07.5777232Z from $SRC_DIR/src/render/frontend/qrenderaspect_p.h:29, 2024-04-07T05:31:07.5777589Z from $SRC_DIR/build/include/Qt3DRender/6.7.0/Qt3DRender/private/qrenderaspect_p.h:1, 2024-04-07T05:31:07.5777923Z from $SRC_DIR/src/render/geometry/qmesh.cpp:20: 2024-04-07T05:31:07.5778368Z $PREFIX/include/qt6/QtGui/qscreen.h:110:5: error: reference to 'QTransform' is ambiguous 2024-04-07T05:31:07.5778782Z 110 | QTransform transformBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect &target) const; 2024-04-07T05:31:07.5779117Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5779396Z In file included from $SRC_DIR/build/include/Qt3DCore/qtransform.h:1, 2024-04-07T05:31:07.5779711Z from $SRC_DIR/src/render/frontend/qcamera.h:8, 2024-04-07T05:31:07.5780001Z from $SRC_DIR/build/include/Qt3DRender/qcamera.h:1, 2024-04-07T05:31:07.5780315Z from $SRC_DIR/src/render/frontend/qlevelofdetail.h:10, 2024-04-07T05:31:07.5780630Z from $SRC_DIR/build/include/Qt3DRender/qlevelofdetail.h:1, 2024-04-07T05:31:07.5781090Z from $SRC_DIR/src/render/backend/levelofdetail_p.h:20, 2024-04-07T05:31:07.5781421Z from $SRC_DIR/build/include/Qt3DRender/6.7.0/Qt3DRender/private/levelofdetail_p.h:1, 2024-04-07T05:31:07.5781761Z from $SRC_DIR/src/render/backend/managers_p.h:26, 2024-04-07T05:31:07.5782126Z from $SRC_DIR/build/include/Qt3DRender/6.7.0/Qt3DRender/private/managers_p.h:1, 2024-04-07T05:31:07.5782443Z from $SRC_DIR/src/render/geometry/joint.cpp:5, 2024-04-07T05:31:07.5782775Z from $SRC_DIR/build/src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx:7: 2024-04-07T05:31:07.5783254Z $SRC_DIR/src/core/transforms/qtransform.h:17:29: note: candidates are: 'class Qt3DCore::QTransform' 2024-04-07T05:31:07.5783618Z 17 | class Q_3DCORESHARED_EXPORT QTransform : public QComponent 2024-04-07T05:31:07.5783901Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5784173Z In file included from $PREFIX/include/qt6/QtGui/qimage.h:12, 2024-04-07T05:31:07.5784495Z from $PREFIX/include/qt6/QtOpenGL/qopengltexture.h:12, 2024-04-07T05:31:07.5784803Z from $SRC_DIR/src/render/texture/qtextureimagedata.h:8, 2024-04-07T05:31:07.5785128Z from $SRC_DIR/build/include/Qt3DRender/qtextureimagedata.h:1, 2024-04-07T05:31:07.5785440Z from $SRC_DIR/src/render/texture/qabstracttexture.h:7, 2024-04-07T05:31:07.5785824Z from $SRC_DIR/build/include/Qt3DRender/qabstracttexture.h:1, 2024-04-07T05:31:07.5786156Z from $SRC_DIR/build/include/Qt3DRender/QAbstractTexture:1, 2024-04-07T05:31:07.5786469Z from $SRC_DIR/src/render/frontend/qrendertargetoutput.h:9, 2024-04-07T05:31:07.5806939Z from $SRC_DIR/build/include/Qt3DRender/qrendertargetoutput.h:1, 2024-04-07T05:31:07.5857453Z from $SRC_DIR/src/render/backend/rendertargetoutput_p.h:19, 2024-04-07T05:31:07.5858142Z from $SRC_DIR/build/include/Qt3DRender/6.7.0/Qt3DRender/private/rendertargetoutput_p.h:1, 2024-04-07T05:31:07.5858518Z from $SRC_DIR/src/render/backend/managers_p.h:20: 2024-04-07T05:31:07.5859074Z $PREFIX/include/qt6/QtGui/qtransform.h:19:20: note: 'class QTransform' 2024-04-07T05:31:07.5859396Z 19 | class Q_GUI_EXPORT QTransform 2024-04-07T05:31:07.5859642Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5859980Z In file included from $PREFIX/include/qt6/QtGui/qguiapplication.h:10, 2024-04-07T05:31:07.5860300Z from $PREFIX/include/qt6/QtGui/qscreen_platform.h:19, 2024-04-07T05:31:07.5860616Z from $PREFIX/include/qt6/QtGui/qscreen.h:150: 2024-04-07T05:31:07.5861063Z $PREFIX/include/qt6/QtGui/qinputmethod.h:33:5: error: reference to 'QTransform' is ambiguous 2024-04-07T05:31:07.5861397Z 33 | QTransform inputItemTransform() const; 2024-04-07T05:31:07.5861660Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5862084Z $SRC_DIR/src/core/transforms/qtransform.h:17:29: note: candidates are: 'class Qt3DCore::QTransform' 2024-04-07T05:31:07.5862453Z 17 | class Q_3DCORESHARED_EXPORT QTransform : public QComponent 2024-04-07T05:31:07.5862726Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5863121Z $PREFIX/include/qt6/QtGui/qtransform.h:19:20: note: 'class QTransform' 2024-04-07T05:31:07.5863432Z 19 | class Q_GUI_EXPORT QTransform 2024-04-07T05:31:07.5863676Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5864086Z $PREFIX/include/qt6/QtGui/qinputmethod.h:34:38: error: reference to 'QTransform' is ambiguous 2024-04-07T05:31:07.5864427Z 34 | void setInputItemTransform(const QTransform &transform); 2024-04-07T05:31:07.5864708Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5865125Z $SRC_DIR/src/core/transforms/qtransform.h:17:29: note: candidates are: 'class Qt3DCore::QTransform' 2024-04-07T05:31:07.5865491Z 17 | class Q_3DCORESHARED_EXPORT QTransform : public QComponent 2024-04-07T05:31:07.5866005Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5866389Z $PREFIX/include/qt6/QtGui/qtransform.h:19:20: note: 'class QTransform' 2024-04-07T05:31:07.5866704Z 19 | class Q_GUI_EXPORT QTransform 2024-04-07T05:31:07.5866945Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5867221Z In file included from $PREFIX/include/qt6/QtGui/qicon.h:10, 2024-04-07T05:31:07.5867542Z from $PREFIX/include/qt6/QtGui/qwindow.h:20, 2024-04-07T05:31:07.5867858Z from $SRC_DIR/src/render/jobs/abstractpickingjob.cpp:15, 2024-04-07T05:31:07.5868203Z from $SRC_DIR/build/src/render/CMakeFiles/3DRender.dir/Unity/unity_3_cxx.cxx:55: 2024-04-07T05:31:07.5868655Z $PREFIX/include/qt6/QtGui/qpixmap.h:85:31: error: reference to 'QTransform' is ambiguous 2024-04-07T05:31:07.5869068Z 85 | QPixmap transformed(const QTransform &, Qt::TransformationMode mode = Qt::FastTransformation) const; 2024-04-07T05:31:07.5869397Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5869832Z $SRC_DIR/src/core/transforms/qtransform.h:17:29: note: candidates are: 'class Qt3DCore::QTransform' 2024-04-07T05:31:07.5870180Z 17 | class Q_3DCORESHARED_EXPORT QTransform : public QComponent 2024-04-07T05:31:07.5870460Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5870854Z $PREFIX/include/qt6/QtGui/qtransform.h:19:20: note: 'class QTransform' 2024-04-07T05:31:07.5871159Z 19 | class Q_GUI_EXPORT QTransform 2024-04-07T05:31:07.5871413Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5871803Z $PREFIX/include/qt6/QtGui/qpixmap.h:86:12: error: reference to 'QTransform' is ambiguous 2024-04-07T05:31:07.5872154Z 86 | static QTransform trueMatrix(const QTransform &m, int w, int h); 2024-04-07T05:31:07.5872561Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5872998Z $SRC_DIR/src/core/transforms/qtransform.h:17:29: note: candidates are: 'class Qt3DCore::QTransform' 2024-04-07T05:31:07.5873365Z 17 | class Q_3DCORESHARED_EXPORT QTransform : public QComponent 2024-04-07T05:31:07.5873628Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5874025Z $PREFIX/include/qt6/QtGui/qtransform.h:19:20: note: 'class QTransform' 2024-04-07T05:31:07.5874324Z 19 | class Q_GUI_EXPORT QTransform 2024-04-07T05:31:07.5874580Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5874871Z In file included from $PREFIX/include/qt6/QtGui/qcursor.h:10, 2024-04-07T05:31:07.5875184Z from $PREFIX/include/qt6/QtGui/qwindow.h:23: 2024-04-07T05:31:07.5875620Z $PREFIX/include/qt6/QtGui/qbitmap.h:41:31: error: reference to 'QTransform' is ambiguous 2024-04-07T05:31:07.5875951Z 41 | QBitmap transformed(const QTransform &matrix) const; 2024-04-07T05:31:07.5876229Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5876649Z $SRC_DIR/src/core/transforms/qtransform.h:17:29: note: candidates are: 'class Qt3DCore::QTransform' 2024-04-07T05:31:07.5877016Z 17 | class Q_3DCORESHARED_EXPORT QTransform : public QComponent 2024-04-07T05:31:07.5877282Z | ^~~~~~~~~~ 2024-04-07T05:31:07.5877673Z $PREFIX/include/qt6/QtGui/qtransform.h:19:20: note: 'class QTransform' 2024-04-07T05:31:07.5877985Z 19 | class Q_GUI_EXPORT QTransform 2024-04-07T05:31:07.5878224Z | ^~~~~~~~~~ 2024-04-07T05:31:11.2768557Z [92/394] Building CXX object src/render/CMakeFiles/3DRender.dir/Unity/unity_4_cxx.cxx.o 2024-04-07T05:31:11.2776007Z In file included from $SRC_DIR/build/src/render/CMakeFiles/3DRender.dir/Unity/unity_4_cxx.cxx:22: 2024-04-07T05:31:11.2783032Z $SRC_DIR/src/render/jobs/updateworldtransformjob.cpp:60:39: warning: 'Qt3DRender::Render::UpdateWorldTransformJobPrivate' has a field 'Qt3DRender::Render::UpdateWorldTransformJobPrivate::m_updatedTransforms' whose type uses the anonymous namespace [-Wsubobject-linkage] 2024-04-07T05:31:11.2789007Z 60 | class Q_3DRENDERSHARED_PRIVATE_EXPORT UpdateWorldTransformJobPrivate : public Qt3DCore::QAspectJobPrivate 2024-04-07T05:31:11.2794633Z | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-04-07T05:31:27.0088096Z [93/394] Building CXX object src/render/CMakeFiles/3DRender.dir/Unity/unity_2_cxx.cxx.o 2024-04-07T05:31:27.0095173Z ninja: build stopped: subcommand failed.
looks parts were fixed but not all of it:
https://github.com/qt/qt3d/commit/06bb491354489b06998306ea9de87da92314b397
/cc timblechmann mkrus
full log:
build script:
https://github.com/conda-forge/qt-3d-feedstock/blob/main/recipe/build.sh