FreeBSD Port: qt5-gui-5.13.0_1 error build
jesper at schmitz.computer
jesper at schmitz.computer
Tue Oct 1 11:51:45 BST 2019
Alex V. Petrov skrev den 2019-10-01 10:44:
> I have trouble:
>
> c++ -c -O2 -pipe -fstack-protector-strong -isystem /usr/local/include
> -fno-strict-aliasing -isystem /usr/local/include -fPIC -std=c++1y
> -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions
> -W[91/1368]
> date-time -Winconsistent-missing-override -pthread -DQT_ACCESSIBILITY
> -DQT_DBUS -DQT_FONTCONFIG -DQT_FREETYPE -DQT_GLIB -DQT_IMAGEFORMAT_PNG
> -DQT_OPENGL -DQT_SHAPE -DQT_XCB -DQT_XKB -DQT_XKBCOMMON -DQT_XRENDER -
> DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
> -DQT_BUILD_INPUT_SUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
> -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
> -DQT_DEPRECATE
> D_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB
> -DQT_DEVICEDISCOVERY_SUPPORT_LIB -DQT_CORE_LIB -I. -Ishared
> -I../../../i
> nclude -I../../../include/QtInputSupport
> -I../../../include/QtInputSupport/5.13.0
> -I../../../include/QtInputSupport/5.13.0/QtInputSupport
> -I../../../include/QtGui/5.13.0 -I../../../include/QtGui/5.13.0/QtGui
> -I.
> ./../../include/QtGui -I../../../include/QtDeviceDiscoverySupport
> -I../../../include/QtDeviceDiscoverySupport/5.13.0
> -I../../../include/QtDeviceDiscoverySupport/5.13.0/QtDeviceDiscoverySupport
> -isystem /usr/loca
> l/include/qt5/QtCore/5.13.0 -isystem
> /usr/local/include/qt5/QtCore/5.13.0/QtCore -isystem
> /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -I.moc
> -isystem /usr/local/include/libdrm -isystem /usr/loc
> al/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o
> .obj/qevdevtouchhandler.o evdevtouch/qevdevtouchhandler.cpp
>
>
> In file included from evdevtouch/qevdevtouchhandler.cpp:62:
>
> In file included from /usr/local/include/mtdev.h:36:
>
> /usr/local/include/linux/input.h:27:8: error: redefinition of
> 'input_event'
> portmaster <flags> x11-toolkits/qt5-gui
....snip...
IIRC I worked around this issue yesterday on 12.0 with OPTIONS evdev by
not including /usr/local/include/linux/input.h in
/usr/local/include/mtdev.h
Regards jsm
More information about the kde-freebsd
mailing list