Yet again, I've got a weird FTBFS in Qt, again apparently in
qtwebengine. This is on this week's svn for both LFS and BLFS, but
the only significant change since 8.0 is binutils, which (to me)
doesn't look likely. The failing command is "rather long" -
/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qmake
-o Makefile webenginewidgets.pro -qtconf
/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qt.conf
-- -prefix /opt/qt5 -sysconfdir /etc/xdg -confirm-license
-opensource -dbus-linked -openssl-linked -system-harfbuzz
-system-sqlite -nomake examples -no-rpath -optimized-qmake
-no-use-gold-linker
g++ -pipe -O2 -std=c++1z -fvisibility=hidden
-fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla
-Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC
-DQT_BUILD_WEBENGINEWIDGETS_LIB -DQT_UI_DELEGATES
-DENABLE_SPELLCHECK -DENABLE_PDF -DQT_BUILD_WEBENGINEWIDGETS_LIB
-DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
-DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB
-DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB
-DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB
-DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB
-DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iapi -I../core
-I../core/api -I../webengine/api -I../../include
-I../../include/QtWebEngineWidgets
-I../../include/QtWebEngineWidgets/5.8.0
-I../../include/QtWebEngineWidgets/5.8.0/QtWebEngineWidgets
-I../../include/QtWebEngineCore
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtdeclarative/include
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtdeclarative/include/QtQuick
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtPrintSupport
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtWidgets
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtGui
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtwebchannel/include
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtwebchannel/include/QtWebChannel
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtdeclarative/include/QtQml
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtNetwork
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtlocation/include
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtlocation/include/QtPositioning
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtdeclarative/include/QtQuick/5.8.0
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtdeclarative/include/QtQuick/5.8.0/QtQuick
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtWidgets/5.8.0
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtWidgets/5.8.0/QtWidgets
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtGui/5.8.0
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtGui/5.8.0/QtGui
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtdeclarative/include/QtQml/5.8.0
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtdeclarative/include/QtQml/5.8.0/QtQml
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/5.8.0
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/5.8.0/QtCore
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtdeclarative/include/QtQuickWidgets
-I.moc -isystem /usr/include/libdrm
-I/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/mkspecs/linux-g++
-x c++-header -c
../../include/QtWebEngineWidgets/QtWebEngineWidgetsDepends -o
.pch/Qt5WebEngineWidgets.gch/c++
And the first error is:
In file included from
/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/qtypeinfo.h:1:0,
from
/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1123,
from
/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/qglobal.h:1,
from
/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/QtCore:4,
from
../../include/QtWebEngineWidgets/QtWebEngineWidgetsDepends:3:
/scratch/working/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:257:10:
error: explicit specialization in non-namespace scope 'class
QCharRef'
template<> \
^
When I built this in 8.0, although I was already using
-no-use-gold-linker I had to change my CFLAGS, CXXFLAGS before
building qt because of a somewhat similar error. So now, my CFLAGS
and CXXFLAGS start as '-O2 -fuse-ld=gold' but just before the Qt
script I export them as '-O2'.
Unfortunately, the Qt build takes just over 2.5 hours to get to this
point, using all my CPUs. So trying alternative fixes if I had any
will not be quick. Suggestions, please ?
ĸen
--
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.' -- Small Gods
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page