[Slackbuilds-users] Qt5 Update to 5.12
Andrzej Telszewski
atelszewski at gmail.com
Sun Jan 26 12:44:22 UTC 2020
Hi,
>> development/qbs
It seems that qbs would build fine provided that qt5 actually built fine
with DOCS=yes.
On my machine, qt5.SlackBuild fails with:
cd corelib/ && ( test -e Makefile ||
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/bin/qmake
-o Makefile
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/src/corelib/corelib.pro
) && make -f Makefile prepare_docs
make[4]: Entering directory
'/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/qmake'
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/qmake/qtattributionsscanner_wrapper.sh
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase
--filter QDocModule=qmake -o
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/qmake/codeattributions.qdoc
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/qmake/qdoc_wrapper.sh
-outputdir
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/doc/qmake
-installdir /usr/doc/qt5-5.12.0
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/qmake/doc/qmake.qdocconf
-prepare -indexdir
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/doc
-no-link-errors -I. -I../mkspecs/linux-g++
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/qmake/qdoc_wrapper.sh:
line 12: /usr/lib64/qt5/bin/qdoc: No such file or directory
Makefile.qmake-aux:1343: recipe for target 'prepare_docs' failed
make[4]: *** [prepare_docs] Error 127
make[4]: Leaving directory
'/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/qmake'
Makefile:435: recipe for target 'sub-qmake-qmake-aux-pro-prepare_docs'
failed
make[3]: *** [sub-qmake-qmake-aux-pro-prepare_docs] Error 2
make[3]: *** Waiting for unfinished jobs....
make[5]: Entering directory
'/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/src/corelib'
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/src/corelib/qtattributionsscanner_wrapper.sh
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase
--filter QDocModule=qtcore -o
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/src/corelib/codeattributions.qdoc
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/src/corelib/qdoc_wrapper.sh
-outputdir
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/doc/qtcore
-installdir /usr/doc/qt5-5.12.0
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/src/corelib/doc/qtcore.qdocconf
-prepare -no-link-errors -I. -Iglobal -I../3rdparty/harfbuzz/src
-I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty
-I../3rdparty/double-conversion/include
-I../3rdparty/double-conversion/include/double-conversion
-I../3rdparty/forkfd -I../3rdparty/tinycbor/src -I../../include
-I../../include/QtCore -I../../include/QtCore/5.12.0
-I../../include/QtCore/5.12.0/QtCore -I.moc -I.tracegen
-I../3rdparty/pcre2/src -isystem /usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I../../mkspecs/linux-g++
/tmp/slackrepo-desktop/slackrepo.H62zZI/build_qt5/qt-everywhere-src-5.12.0/qtbase/src/corelib/qdoc_wrapper.sh:
line 12: /usr/lib64/qt5/bin/qdoc: No such file or directory
Makefile:2532: recipe for target 'prepare_docs' failed
make[5]: *** [prepare_docs] Error 127
Maybe changing in qt5.SlackBuild:
make docs
into something like that:
sleep 3
make -j1 docs || make -j1 docs
would help?
I remember having this issue before with, AFAIR, qt-5.7.
I can test this solution, but compilation here takes some time.
So I would come back no earlier than tomorrow :)
--
Best regards,
Andrzej Telszewski
More information about the SlackBuilds-users
mailing list