FreeBSD Port: devel/qt5-core

Tobias C. Berner tcberner at gmail.com
Thu Mar 14 14:51:51 GMT 2019


Moin moin

Why aren't you using the ports? We have that version.

You can check the config flags we pass in the tree to make it compile
there.

Mfg Tobias

ОАО НИИВС Спектр <alexey at spectr.spb.ru> schrieb am Do., 14. März 2019,
15:05:

> Hello.
>
>
>
> I am trying to compile Qt5 (5.12.1) from GIT (https://wiki.qt.io/Building_Qt_5_from_Git) and from archive «qt-everywhere-src-5.12.1.tar.xz», but no success. Would you be so kind to give some advice about how you compile your port on freshports.org?
>
>
>
> FreeBSD is «FreeBSD FreeBSDBuildServer 11.2-RELEASE-p8 FreeBSD 11.2-RELEASE-p8 #0: Tue Jan  8 21:31:23 UTC 2019     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386».
>
>
>
> Last error is:
>
>
>
> clang++ -c -pipe -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wdate-time -Winconsistent-missing-override -pthread -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_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include/QtGui/5.12.1 -I../../../../include/QtGui/5.12.1/QtGui -I../../../../include -I../../../../include/QtGui -I../../../../include/QtCore/5.12.1 -I../../../../include/QtCore/5.12.1/QtCore -I../../../../include/QtCore -I.moc -I/usr/local/include -I../../../../mkspecs/freebsd-clang -o .obj/main.o main.cpp
>
> /root/qt5/qtbase/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB --include /root/qt5/qtbase/src/plugins/generic/bsdmouse/.moc/moc_predefs.h -I/root/qt5/qtbase/mkspecs/freebsd-clang -I/root/qt5/qtbase/src/plugins/generic/bsdmouse -I/root/qt5/qtbase/include/QtGui/5.12.1 -I/root/qt5/qtbase/include/QtGui/5.12.1/QtGui -I/root/qt5/qtbase/include -I/root/qt5/qtbase/include/QtGui -I/root/qt5/qtbase/include/QtCore/5.12.1 -I/root/qt5/qtbase/include/QtCore/5.12.1/QtCore -I/root/qt5/qtbase/include/QtCore -I/usr/include/c++/v1 -I/usr/lib/clang/4.0.0/include -I/usr/include qbsdmouse.h -o .moc/moc_qbsdmouse.cpp
>
> clang++ -c -pipe -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wdate-time -Winconsistent-missing-override -pthread -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_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include/QtGui/5.12.1 -I../../../../include/QtGui/5.12.1/QtGui -I../../../../include -I../../../../include/QtGui -I../../../../include/QtCore/5.12.1 -I../../../../include/QtCore/5.12.1/QtCore -I../../../../include/QtCore -I.moc -I/usr/local/include -I../../../../mkspecs/freebsd-clang -o .obj/moc_qbsdmouse.o .moc/moc_qbsdmouse.cpp
>
> rm -f libqbsdmouseplugin.so
>
> clang++ -Wl,--no-undefined -pthread -Wl,-rpath,/usr/local/Qt-5.12.1/lib -shared -o libqbsdmouseplugin.so .obj/main.o  .obj/qbsdmouse.o  .obj/moc_qbsdmouse.o  -L/root/qt5/qtbase/lib -lQt5Gui -L/usr/local/lib -lQt5Core  -L/usr/local/lib
>
> mv -f libqbsdmouseplugin.so ../../../../plugins/generic/libqbsdmouseplugin.so
>
> cd styles/ && ( test -e Makefile || /root/qt5/qtbase/bin/qmake -o Makefile /root/qt5/qtbase/src/plugins/styles/styles.pro ) && make -f Makefile
>
> cd printsupport/ && ( test -e Makefile || /root/qt5/qtbase/bin/qmake -o Makefile /root/qt5/qtbase/src/plugins/printsupport/printsupport.pro ) && make -f Makefile
>
> cd qmake/ && ( test -e Makefile.qmake-aux || /root/qt5/qtbase/bin/qmake -o Makefile.qmake-aux /root/qt5/qtbase/qmake/qmake-aux.pro ) && make -f Makefile.qmake-aux
>
> make binary
>
> clang++ -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/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/5.12.1 -I../include/QtCore/5.12.1/QtCore  -I../src/corelib/global  -I/root/qt5/qtbase/mkspecs/freebsd-clang  -DQT_VERSION_STR=\"5.12.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=12 -DQT_VERSION_PATCH=1  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH
>
> clang++: error: no input files
>
> *** Error code 1
>
>
>
> Stop.
>
> make[3]: stopped in /root/qt5/qtbase/qmake
>
> *** Error code 1
>
>
>
> Stop.
>
> make[2]: stopped in /root/qt5/qtbase/qmake
>
> *** Error code 1
>
>
>
> Stop.
>
> make[1]: stopped in /root/qt5/qtbase
>
> *** Error code 1
>
>
>
> Stop.
>
> make: stopped in /root/qt5
>
>
>
>
>
>
>
> Best regards,
>
> Alexey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20190314/9b03580c/attachment-0001.html>


More information about the kde-freebsd mailing list