cd qmake/ && ( test -e Makefile.qmake-aux || $ROOT/build/qtbase/bin/qmake -o Makefile.qmake-aux $ROOT/qt5/qtbase/qmake/qmake-aux.pro ) && make -f Makefile.qmake-aux make[2]: Entering directory `$ROOT/build/qtbase/qmake' make binary make[3]: Entering directory `$ROOT/build/qtbase/qmake' g++ -c -o qlibraryinfo_final.o -std=c++11 -ffunction-sections -fdata-sections -g -g -I$ROOT/qt5/qtbase/qmake -I$ROOT/qt5/qtbase/qmake/library -I$ROOT/qt5/qtbase/qmake/generators -I$ROOT/qt5/qtbase/src/3rdparty/tinycbor/src -I$ROOT/qt5/qtbase/qmake/generators/unix -I$ROOT/qt5/qtbase/qmake/generators/win32 -I$ROOT/qt5/qtbase/qmake/generators/mac -I../include -I../include/QtCore -I../include/QtCore/6.0.0 -I../include/QtCore/6.0.0/QtCore -I../src/corelib/global -I$ROOT/qt5/qtbase/mkspecs/linux-g++ -DQT_VERSION_STR=\"6.0.0\" -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=0 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH $ROOT/qt5/qtbase/src/corelib/global/qlibraryinfo.cpp In file included from ../include/QtCore/qglobal.h:1:0, from ../include/QtCore/../../../../qt5/qtbase/src/corelib/text/qchar.h:43, from ../include/QtCore/qchar.h:1, from ../include/QtCore/../../../../qt5/qtbase/src/corelib/text/qstring.h:49, from ../include/QtCore/qstring.h:1, from ../include/QtCore/../../../../qt5/qtbase/src/corelib/io/qdir.h:43, from ../include/QtCore/qdir.h:1, from $ROOT/qt5/qtbase/src/corelib/global/qlibraryinfo.cpp:41: ../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qglobal.h:86:30: error: division by zero in #if #define QT_CONFIG(feature) (1/QT_FEATURE_##feature == 1) ^ $ROOT/qt5/qtbase/src/corelib/global/qlibraryinfo.cpp:676:7: note: in expansion of macro 'QT_CONFIG' #elif QT_CONFIG(relocatable) ^ make[3]: *** [qlibraryinfo_final.o] Error 1