On 29/06/2019 05:29, Adriaan de Groot wrote:
On Friday, 28 June 2019 14:00:01 CEST freebsd-ports-requ...@freebsd.org wrote:
[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?
I see this in your compile line:

/usr/local/include/qt5/QtQml/5.9.4

That suggests that you still have older Qt bits installed, while building
newer Qt bits. You will want to follow the common instructions we (kde@) give
if you're not building with poudriere: remove the Qt5 packages and build them
all afresh.

[ade]

erm, didn't go so well:


# pkg info | grep qt
# cd /usr/ports/textproc/qt5-xmlpatterns
# make all
===>  Building for qt5-xmlpatterns-5.12.2
--- sub-src-all ---
cd src/ && ( test -e Makefile || /usr/local/lib/qt5/bin/qmake -o Makefile /usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2/src/src.pro -spec /usr/local/lib/qt5/mkspecs/freebsd-clang QMAKE_CC=cc QMAKE_CXX=c++ QMAKE_LINK_C=cc QMAKE_LINK_C_SHLIB=cc QMAKE_LINK=c++ QMAKE_LINK_SHLIB=c++ 'QMAKE_CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_LFLAGS= -Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS= QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug separate_debug_info' ) && /usr/bin/make -f Makefile all
--- sub-xmlpatterns-all ---
cd xmlpatterns/ && ( test -e Makefile || /usr/local/lib/qt5/bin/qmake -o Makefile /usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2/src/xmlpatterns/xmlpatterns.pro -spec /usr/local/lib/qt5/mkspecs/freebsd-clang QMAKE_CC=cc QMAKE_CXX=c++ QMAKE_LINK_C=cc QMAKE_LINK_C_SHLIB=cc QMAKE_LINK=c++ QMAKE_LINK_SHLIB=c++ 'QMAKE_CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_LFLAGS= -Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS= QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug separate_debug_info' ) && /usr/bin/make -f Makefile all
make[3]: make[3]: don't know how to make /usr/local/lib/qt5/bin/rcc. Stop

make[3]: stopped in /usr/ports/textproc/qt5-xmlpatterns/work/qtxmlpatterns-everywhere-src-5.12.2/src/xmlpatterns
*** [sub-xmlpatterns-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
#

-andyf

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to