FreeBSD Port: qt5-gui-5.13.0_1 error build

Alex V. Petrov alexvpetrov at gmail.com
Tue Oct 1 09:44:50 BST 2019


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'


struct input_event {


       ^


/usr/include/dev/evdev/input.h:44:8: note: previous definition is here

struct input_event {


       ^


In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:53:8: error: redefinition of 'input_id'


struct input_id {


       ^
/usr/include/dev/evdev/input.h:53:8: note: previous definition is here

struct input_id {


       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:84:8: error: redefinition of
'input_absinfo'


struct input_absinfo {


       ^
/usr/include/dev/evdev/input.h:60:8: note: previous definition is here

struct input_absinfo {


       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:108:8: error: redefinition of
'input_keymap_entry'

struct input_keymap_entry {
       ^
/usr/include/dev/evdev/input.h:71:8: note: previous definition is here

struct input_keymap_entry {
       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:300:8: error: redefinition of 'ff_replay'

In file included from evdevtouch/qevdevtouchhandler.cpp:62:


In file included from /usr/local/include/mtdev.h:36:


/usr/local/include/linux/input.h:310:8: error: redefinition of
'ff_trigger'

struct ff_trigger {
       ^
/usr/include/dev/evdev/input.h:170:8: note: previous definition is here


struct ff_trigger {
       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:327:8: error: redefinition of
'ff_envelope'

struct ff_envelope {
       ^
/usr/include/dev/evdev/input.h:176:8: note: previous definition is here


struct ff_envelope {
       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:339:8: error: redefinition of
'ff_constant_effect'

struct ff_constant_effect {
       ^
/usr/include/dev/evdev/input.h:183:8: note: previous definition is here


struct ff_constant_effect {
       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:350:8: error: redefinition of
'ff_ramp_effect'

struct ff_ramp_effect {
       ^
/usr/include/dev/evdev/input.h:188:8: note: previous definition is here


struct ff_ramp_effect {
       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:366:8: error: redefinition of
'ff_condition_effect'

struct ff_condition_effect {
       ^
/usr/include/dev/evdev/input.h:194:8: note: previous definition is here


struct ff_condition_effect {
       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:395:8: error: redefinition of
'ff_periodic_effect'

struct ff_periodic_effect {

/usr/include/dev/evdev/input.h:221:8: note: previous definition is here


struct ff_periodic_effect {
       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:416:8: error: redefinition of
'ff_rumble_effect'

struct ff_rumble_effect {
       ^
/usr/include/dev/evdev/input.h:232:8: note: previous definition is here


struct ff_rumble_effect {
       ^
In file included from evdevtouch/qevdevtouchhandler.cpp:62:

In file included from /usr/local/include/mtdev.h:36:

/usr/local/include/linux/input.h:444:8: error: redefinition of
'ff_effect'

struct ff_effect {
       ^
/usr/include/dev/evdev/input.h:253:8: note: previous definition is here


struct ff_effect {
       ^
13 errors generated.
*** Error code 1

Stop.
make[3]: stopped in
/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.13.0/src/platformsupport/input


*** Error code 1

Stop.
make[2]: stopped in
/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.13.0/src/platformsupport/input


*** Error code 1

Stop.
make[1]: stopped in
/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.13.0/src/platformsupport


*** Error code 1

Stop.
make: stopped in /usr/ports/x11-toolkits/qt5-gui


===>>> make build failed for x11-toolkits/qt5-gui

===>>> Aborting update


===>>> You can restart from the point of failure with this command line:


       portmaster <flags> x11-toolkits/qt5-gui

-- 
-----
Alex.


More information about the kde-freebsd mailing list