Yes, I've seen that too, even on my 8 core/16 thread build server which 64GB, _never_ touches swap. It took repeated `make`s to finally build. Never failed repeatedly in the same place. I think this is a GCC issue, or some combination of linux+gcc. Decreasing the J made it happen less, but maybe that's just because it's compiling less? Without a reliable failure case I could not identify it further.
Before you leave the client for the day, I'd probably put `make` in a loop until the exit code is 0, then issue a `make install` > Sent: Monday, January 14, 2019 at 12:23 PM > From: rol...@logikalsolutions.com > To: "Elvis Stansvik" <elvst...@gmail.com> > Cc: "Jason H" <jh...@gmx.com>, "interest@qt-project.org Interest" > <interest@qt-project.org> > Subject: Re: [Interest] 5.11.3 make install failure > > > There were no errors for many screens back. Make appeared to complete > just fine. "make install" compiled __A LOT__ of stuff before it died > on the last bit. Screen after screen of compiler warnings scrolled past. > > make install shouldn't compile a single module. If it does that is an > EPIC fail. > > I do believe I even ran the make without -j a time or two and got the > same results. Just for grins will try to remember to kick one off > before leaving client site today, let it run while I'm not around to > verify that make worked fine but make install failed. > > Ran into this at last client site as well. Configure command which > worked for many different versions on the same virtual machine around > some release of 5.11 would make clean then gag on make install with a > compilation error. Did not have enough resources to be using -j then. > All was well with 5.9.7. > > Roland > > Quoting Elvis Stansvik <elvst...@gmail.com>: > > > Den mån 14 jan. 2019 17:38Jason H <jh...@gmx.com> skrev: > > > >> Applying Occam's razor, > >> I think your make is failing, make install is making the default target > >> (resuming your broken build, and failing again) and not actually getting to > >> install? > >> > >> Can you confirm your make of the default target ended successfully? > >> > > > > Note also that using make -jN, the error may in some cases not be > > immediately obvious from the last bit of output, but is visible some pages > > up. Search backwards for errors or do a serial build to be sure. > > > > Elvis > > > > > >> > >> > >> > Sent: Monday, January 14, 2019 at 9:30 AM > >> > From: rol...@logikalsolutions.com > >> > To: interest@qt-project.org > >> > Subject: [Interest] 5.11.3 make install failure > >> > > >> > > >> > I kick off the 5.11.3 build from source using same environment as the > >> > previous 5.12.0 failure. Once again, make install, which shouldn't > >> > compile __anything__ fails with a compilation error after make -j3 ran > >> > just fine. > >> > > >> > What is the point of having configure if make install completely ignores > >> it? > >> > > >> > g++ -c -pipe -O2 -std=c++1z -fvisibility=hidden > >> > -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time > >> > -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow > >> > -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS > >> > -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS > >> > -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN > >> > -DQT_SERVICE_SUPPORT_LIB -DQT_WAYLANDCLIENT_LIB -DQT_GUI_LIB > >> > -DQT_CORE_LIB -I. > >> > -I../../../../hardwareintegration/client/shm-emulation-server > >> > -I../../../../../include/QtWaylandClient/5.11.3 > >> > -I../../../../../include/QtWaylandClient/5.11.3/QtWaylandClient > >> > -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include > >> > > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include/QtServiceSupport > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include/QtServiceSupport/5.11.3 > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include/QtServiceSupport/5.11.3/QtServiceSupport > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include/QtGui/5.11.3 > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include/QtGui/5.11.3/QtGui > >> -I../../../../../include -I../../../../../include/QtWaylandClient > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include/QtGui > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include/QtCore/5.11.3 > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include/QtCore/5.11.3/QtCore > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/include/QtCore > >> -I.moc > >> -I/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtbase/mkspecs/linux-g++ > >> -o .obj/shmserverbufferintegration.o > >> > > >> ../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp > >> > > >> ../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp: > >> In function ‘QOpenGLTexture* createTextureFromShm(const QString&, int, int, > >> int, > >> > int)’: > >> > > >> ../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp:81:10: > >> error: ‘QOpenGLContext’ has not been > >> > declared > >> > if (!QOpenGLContext::currentContext()) > >> > ^~~~~~~~~~~~~~ > >> > > >> ../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp:84:59: > >> error: incomplete type ‘QOpenGLTexture’ used in nested name > >> > specifier > >> > auto *tex = new QOpenGLTexture(image, > >> > QOpenGLTexture::DontGenerateMipMaps); > >> > > >> ^~~~~~~~~~~~~~~~~~~ > >> > > >> ../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp:84:78: > >> error: invalid use of incomplete type ‘class > >> > QOpenGLTexture’ > >> > auto *tex = new QOpenGLTexture(image, > >> > QOpenGLTexture::DontGenerateMipMaps); > >> > > >> > ^ > >> > In file included from > >> > > >> ../../../../../include/QtWaylandClient/5.11.3/QtWaylandClient/private/qwaylandserverbufferintegration_p.h:1:0, > >> > from > >> > > >> ../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.h:45, > >> > from > >> > > >> ../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp:40: > >> > > >> ../../../../../include/QtWaylandClient/5.11.3/QtWaylandClient/private/../../../../../src/client/hardwareintegration/qwaylandserverbufferintegration_p.h:62:7: > >> note: forward declaration of ‘class > >> > QOpenGLTexture’ > >> > class QOpenGLTexture; > >> > ^~~~~~~~~~~~~~ > >> > Makefile:1269: recipe for target '.obj/shmserverbufferintegration.o' > >> failed > >> > make[6]: *** [.obj/shmserverbufferintegration.o] Error 1 > >> > make[6]: Leaving directory > >> > > >> '/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtwayland/src/plugins/hardwareintegration/client/shm-emulation-server' > >> > Makefile:56: recipe for target > >> > 'sub-shm-emulation-server-install_subtargets' failed > >> > make[5]: *** [sub-shm-emulation-server-install_subtargets] Error 2 > >> > make[5]: Leaving directory > >> > > >> '/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtwayland/src/plugins/hardwareintegration/client' > >> > Makefile:57: recipe for target 'sub-client-install_subtargets' failed > >> > make[4]: *** [sub-client-install_subtargets] Error 2 > >> > make[4]: Leaving directory > >> > > >> '/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtwayland/src/plugins/hardwareintegration' > >> > Makefile:84: recipe for target > >> > 'sub-hardwareintegration-install_subtargets' failed > >> > make[3]: *** [sub-hardwareintegration-install_subtargets] Error 2 > >> > make[3]: Leaving directory > >> > > >> '/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtwayland/src/plugins' > >> > Makefile:162: recipe for target 'sub-plugins-install_subtargets' failed > >> > make[2]: *** [sub-plugins-install_subtargets] Error 2 > >> > make[2]: Leaving directory > >> > '/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtwayland/src' > >> > Makefile:58: recipe for target 'sub-src-install_subtargets' failed > >> > make[1]: *** [sub-src-install_subtargets] Error 2 > >> > make[1]: Leaving directory > >> > '/home/developer/qt_5_11_3/qt-everywhere-src-5.11.3/qtwayland' > >> > Makefile:636: recipe for target 'module-qtwayland-install_subtargets' > >> failed > >> > make: *** [module-qtwayland-install_subtargets] Error 2 > >> > developer@developer-U18-64-VirtualBox > >> :~/qt_5_11_3/qt-everywhere-src-5.11.3$ > >> > > >> > -- > >> > Roland Hughes, President > >> > Logikal Solutions > >> > (630) 205-1593 > >> > > >> > http://www.theminimumyouneedtoknow.com > >> > http://www.infiniteexposure.net > >> > http://www.johnsmith-book.com > >> > http://www.logikalblog.com > >> > http://www.interestingauthors.com/blog > >> > http://lesedi.us > >> > > >> > _______________________________________________ > >> > Interest mailing list > >> > Interest@qt-project.org > >> > https://lists.qt-project.org/listinfo/interest > >> > > >> _______________________________________________ > >> Interest mailing list > >> Interest@qt-project.org > >> https://lists.qt-project.org/listinfo/interest > >> > > > -- > Roland Hughes, President > Logikal Solutions > (630) 205-1593 > > http://www.theminimumyouneedtoknow.com > http://www.infiniteexposure.net > http://www.johnsmith-book.com > http://www.logikalblog.com > http://www.interestingauthors.com/blog > http://lesedi.us > > _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest