Can't update qt5-gui on 11.2-RELEASE-p13

George Mitchell george+freebsd at m5p.com
Wed Oct 9 14:12:56 UTC 2019


Apparently the definitions of various structures found in
/usr/local/include/mtdev.h from libmtdev-1.1.5_2 conflict with
the definitions /usr/include/dev/evdev/input.h from base.
This is in the middle of a portmaster qt5 upgrade, trying to
reinstall qt5-gui-5.12.2_1.  I didn't see anything in UPDATING
that seemed relevant.  My ports tree is at 514153.    -- George

================================================================
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:41: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:50: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:57: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:68: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'
struct ff_replay {
       ^
/usr/include/dev/evdev/input.h:158:8: note: previous definition is here
struct 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:164: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:170: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:177: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:182: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:188: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:215: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:226: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:247:8: note: previous definition is here
struct ff_effect {
       ^
13 errors generated.
*** [.obj/qevdevtouchhandler.o] Error code 1

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

make[3]: stopped in
/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.13.0/src/platformsupport/input
*** [sub-input-support-pro-all-ordered] Error code 2

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

make[2]: stopped in
/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.13.0/src/platformsupport/input
*** [sub-input-all] Error code 2

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

make[1]: stopped in
/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.13.0/src/platformsupport
*** Error code 2

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

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

===>>> Update for qt5-gui-5.12.2_1 failed
===>>> Aborting update

===========================================================

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20191009/c5e04830/attachment.sig>


More information about the freebsd-ports mailing list