I try to collect Qt from source codes.
Download https://download.qt.io/archive/qt/5.9/5.9.3/single/qt-everywhere-opensource-src-5.9.3.tar.xz
Unpacked. Launched a script with the following content:
#!/bin/bash # https://download.qt.io/archive/qt/5.9/5.9.3/single/ LIB_DIR=/opt/Qt_Static/5.9.3 cd qt-everywhere-opensource-src-5.9.3 ./configure \ -platform linux-g++ \ -release \ -static \ -fontconfig \ -opensource \ -confirm-license \ -nomake examples \ -nomake tests \ -qt-zlib \ -qt-libpng \ -qt-libjpeg \ -no-ssl \ -prefix ${LIB_DIR} make
The 4-hour build ended as follows:
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:169:19: предупреждение: «void* memcpy(void*, const void*, size_t)» writing to an object of type «class QTWTF::RefPtr<QTJSC::RegExp>» with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(dst, src, reinterpret_cast<const char*>(srcEnd) - reinterpret_cast<const char*>(src)); In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:25, from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27, from ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:35, from ../3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:31, from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h:34, from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:31: ../3rdparty/javascriptcore/JavaScriptCore/wtf/RefPtr.h:40:33: замечание: «class QTWTF::RefPtr<QTJSC::RegExp>» declared here template <typename T> class RefPtr : public FastAllocBase { ^~~~~~ make[3]: *** [Makefile:11222: obj/release/JITStubs.o] Ошибка 1 make[3]: выход из каталога «/opt/Qt_Src/qt-everywhere-opensource-src- 5.9.3/qtscript/src/script» make[2]: *** [Makefile:46: sub-script-make_first-ordered] Ошибка 2 make[2]: выход из каталога «/opt/Qt_Src/qt-everywhere-opensource-src-5.9.3/qtscript/src» make[1]: *** [Makefile:47: sub-src-make_first] Ошибка 2 make[1]: выход из каталога «/opt/Qt_Src/qt-everywhere-opensource-src-5.9.3/qtscript» make: *** [Makefile:946: module-qtscript-make_first] Ошибка 2
What could be the cause / problem? As you do not want to spend 4 hours on each error :-)