Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2019 22:19:54 +1000
From:      Andy Farkas <andyf@andyit.com.au>
To:        ports@freebsd.org
Subject:   textproc/qt5-xmlpatterns compilation error
Message-ID:  <5D14B46A.2040004@andyit.com.au>

next in thread | raw e-mail | index | archive | help

[FreeBSD 11.3-PRERELEASE #1 r349440 amd64 / ports at r505184]

Getting a compilation error when build ports/textproc/qt5-xmlpatterns

I'm doing a 'portmaster -a' but a
'cd /usr/ports/textproc/qt5-xmlpatterns ; make clean all' does the same.

Any clues as to why this might be happening?  or better still how to fix?

It spends a fair bit of time compiling lots of stuff until it gets to:

--- .obj/qqmlxmllistmodel.o ---
c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing 
-std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-excep
tions -Wall -W -Wdate-time -Winconsistent-missing-override -pthread 
-fPIC -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -
DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-DQT_NO_DEBUG -DQT_PLUGIN -DQT_XMLPATTERNS_LIB -DQT_QML_LIB -DQT_NETWORK
_LIB -DQT_CORE_LIB -I. -I../../../include 
-I../../../include/QtXmlPatterns -isystem 
/usr/local/include/qt5/QtQml/5.9.4 -isystem /usr
/local/include/qt5/QtQml/5.9.4/QtQml -isystem /usr/local/include/qt5 
-isystem /usr/local/include/qt5/QtQml -isystem /usr/local/inclu
de/qt5/QtNetwork -isystem /usr/local/include/qt5/QtCore/5.12.2 -isystem 
/usr/local/include/qt5/QtCore/5.12.2/QtCore -isystem /usr/lo
cal/include/qt5/QtCore -I.moc -isystem /usr/local/include 
-I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qqmlxmllistmodel.o qqml
xmllistmodel.cpp
qqmlxmllistmodel.cpp:936:22: error: cannot initialize a variable of type 
'QV4::ExecutionEngine *' with an rvalue of type 'QV8Engine*'
     ExecutionEngine *v4engine = engine->handle();
                      ^          ~~~~~~~~~~~~~~~~
1 error generated.
*** [.obj/qqmlxmllistmodel.o] Error code 1

make[4]: stopped in 
/usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2/src/imports/xmllistmodel
1 error

make[4]: stopped in 
/usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2/src/imports/xmllistmodel
*** [sub-xmllistmodel-all] Error code 2

make[3]: stopped in 
/usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2/src/imports
1 error

make[3]: stopped in 
/usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2/src/imports
*** [sub-imports-all] Error code 2

make[2]: stopped in 
/usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2/src
1 error

make[2]: stopped in 
/usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2/src
*** [sub-src-all] Error code 2

make[1]: stopped in 
/usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2
1 error

make[1]: stopped in 
/usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/qt5-xmlpatterns

===>>> make build failed for textproc/qt5-xmlpatterns
===>>> Aborting update

===>>> Update for qt5-xmlpatterns-5.9.4 failed
===>>> Aborting update

===>>> Update for qt5-qml-5.9.4 failed
===>>> Aborting update

===>>> Update for qt5-linguisttools-5.9.4 failed
===>>> Aborting update

===>>> Update for devel/kf5-extra-cmake-modules failed
===>>> Aborting update



-andyf




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D14B46A.2040004>