Date: Mon, 01 Mar 2021 01:02:27 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 253925] qt5-declarative compile fails Message-ID: <bug-253925-7788-BH04Lpi70x@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253925-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-253925-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253925 --- Comment #1 from jnaughto@ee.ryerson.ca --- Virtualbox gui fails to load due to qt5 library. Proceeded to attempt to compile virtualbox-ose. Yet when it got to compiling the Qt5 it failed. compiling qt5-declarative-5.15.2 from ports tree on Freebsd 11.4 Amd64=20=20 known conversion from 'const QColorSpace' to 'QVariant' for 1st argument inline QVariant &operator=3D(QVariant &&other) noexcept ^ 1 error generated. *** [.obj/qquickglobal.o] Error code 1 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5= .15.2/src/quick --- .obj/qsgdefaultglyphnode_p.o --- In file included from scenegraph/qsgdefaultglyphnode_p.cpp:46: /usr/local/include/qt5/QtGui/5.14.2/QtGui/private/qguiapplication_p.h:119:7= 0: error: member reference type 'QAtomicPointer<QThreadData>' is not a pointer; did you mean to use '.'? return QCoreApplication::instance()->d_func()->threadData->eventDispatcher.loadRel= axed(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ . /usr/local/include/qt5/QtGui/5.14.2/QtGui/private/qguiapplication_p.h:119:7= 2: error: no member named 'eventDispatcher' in 'QAtomicPointer<QThreadData>' return QCoreApplication::instance()->d_func()->threadData->eventDispatcher.loadRel= axed(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ --- .obj/qsgrhisupport.o --- scenegraph/qsgrhisupport.cpp:601:63: error: no member named 'errorOccurred'= in 'QAbstractSocket' QObject::connect(m_profConn.data(), &QAbstractSocket::errorOccurred, m_profConn.data(), ~~~~~~~~~~~~~~~~~^ 1 error generated. *** [.obj/qsgrhisupport.o] Error code 1 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5= .15.2/src/quick --- .obj/qsgplaintexture.o --- scenegraph/util/qsgplaintexture.cpp:302:18: error: excess elements in scalar initializer t->buildFrom({nativeObjectPtr, nativeLayout}); ^ ~~~~~~~~~~~~~~~ /usr/local/include/qt5/QtGui/5.14.2/QtGui/private/qrhi_p.h:779:53: note: passing argument to parameter 'src' here virtual bool buildFrom(const QRhiNativeHandles *src); ^ --- .obj/qsgdefaultglyphnode_p.o --- 2 errors generated. *** [.obj/qsgdefaultglyphnode_p.o] Error code 1 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5= .15.2/src/quick --- .obj/qsgplaintexture.o --- In file included from scenegraph/util/qsgplaintexture.cpp:43: In file included from ../../include/QtQuick/5.15.2/QtQuick/private/qquickprofiler_p.h:1: ../../include/QtQuick/5.15.2/QtQuick/private/../../../../../src/quick/util/= qquickprofiler_p.h:170:20: warning: array index -1 is before the beginning of the array [-Warray-bound= s] return guiThreadTimings.values[type - NumRenderThreadFrameTypes= ]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/QtQuick/5.15.2/QtQuick/private/../../../../../src/quick/util/= qquickprofiler_p.h:258:38: note: in instantiation of function template specialization 'QQuickProfilerSceneGraphData::timings<QQmlProfilerDefinitions::SceneGraphT= extureDeletion>' requested here s_instance->m_sceneGraphData.timings<FrameType2>()[0] =3D ^ scenegraph/util/qsgplaintexture.cpp:174:5: note: in instantiation of functi= on template specialization 'QQuickProfiler::startSceneGraphFrame<QQmlProfilerDefinitions::SceneGraphTe= xturePrepare, QQmlProfilerDefinitions::SceneGraphTextureDeletion>' requested here =20=20=20 Q_QUICK_SG_PROFILE_START_SYNCHRONIZED(QQuickProfiler::SceneGraphTexturePrep= are, ^ ../../include/QtQuick/5.15.2/QtQuick/private/../../../../../src/quick/util/= qquickprofiler_p.h:388:49: note: expanded from macro 'Q_QUICK_SG_PROFILE_START_SYNCHRONIZED' (QQuickProfiler::startSceneGraphFrame<Type1, Type2>())) ^ ../../include/QtQuick/5.15.2/QtQuick/private/../../../../../src/quick/util/= qquickprofiler_p.h:157:9: note: array 'values' declared here qint64 values[size][s_numSceneGraphTimings + 1]; ^ ../../include/QtQuick/5.15.2/QtQuick/private/../../../../../src/quick/util/= qquickprofiler_p.h:170:20: warning: array index -2 is before the beginning of the array [-Warray-bound= s] return guiThreadTimings.values[type - NumRenderThreadFrameTypes= ]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/QtQuick/5.15.2/QtQuick/private/../../../../../src/quick/util/= qquickprofiler_p.h:259:46: note: in instantiation of function template specialization 'QQuickProfilerSceneGraphData::timings<QQmlProfilerDefinitions::SceneGraphT= exturePrepare>' requested here s_instance->m_sceneGraphData.timings<FrameType1>()[0]; ^ scenegraph/util/qsgplaintexture.cpp:174:5: note: in instantiation of functi= on template specialization 'QQuickProfiler::startSceneGraphFrame<QQmlProfilerDefinitions::SceneGraphTe= xturePrepare, QQmlProfilerDefinitions::SceneGraphTextureDeletion>' requested here =20=20=20 Q_QUICK_SG_PROFILE_START_SYNCHRONIZED(QQuickProfiler::SceneGraphTexturePrep= are, ^ ../../include/QtQuick/5.15.2/QtQuick/private/../../../../../src/quick/util/= qquickprofiler_p.h:388:49: note: expanded from macro 'Q_QUICK_SG_PROFILE_START_SYNCHRONIZED' (QQuickProfiler::startSceneGraphFrame<Type1, Type2>())) ^ ../../include/QtQuick/5.15.2/QtQuick/private/../../../../../src/quick/util/= qquickprofiler_p.h:157:9: note: array 'values' declared here qint64 values[size][s_numSceneGraphTimings + 1]; ^ 2 warnings and 1 error generated. *** [.obj/qsgplaintexture.o] Error code 1 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5= .15.2/src/quick 4 errors make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5= .15.2/src/quick *** [sub-quick-all-ordered] Error code 2 make[2]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5= .15.2/src 1 error make[2]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5= .15.2/src *** [sub-src-all] Error code 2 make[1]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5= .15.2 1 error make[1]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5= .15.2 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/x11-toolkits/qt5-declarative --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253925-7788-BH04Lpi70x>