qt5-gui compile error

Maryse LEVAVASSEUR maryse.levavasseur at stormshield.eu
Thu Oct 3 09:08:33 BST 2019


Hello,

I am experiencing a blocking issue while trying to update 
x11-toolkits/qt5-gui from 5.12.2_1 to 5.13.0_1.

I am using FreeBSD 11.3 and I have some linux packages installed.

You can find below the compilation error, my "uname -a" and the list of 
linux packages I am using.

If you need more information, please let me know.

Regards,

Maryse



--- .obj/qevdevtouchhandler.o ---
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'
struct ff_replay {
        ^
/usr/include/dev/evdev/input.h:164: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: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.
*** [.obj/qevdevtouchhandler.o] Error code 1



$ uname -a
FreeBSD diablotine 11.3-RELEASE-p3 FreeBSD 11.3-RELEASE-p3 #0: Mon Aug 
19 21:08:43 UTC 2019 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


$ pkg info | grep linux
linux-c6-expat-2.0.1_5         XML 1.0 parser written in C (Linux CentOS 
6.10)
linux-c6-fontconfig-2.8.0_3    XML-based font configuration API for X 
Windows (Linux CentOS 6.10)
linux-c6-xorg-libs-7.4_10      Xorg libraries (Linux CentOS 6.10)
linux_base-c6-6.10_1           Base set of packages needed in Linux mode 
(Linux CentOS 6.10)
linuxlibertine-g-20120116_2    Linux Libertine G and Linux Biolinum G fonts




More information about the kde-freebsd mailing list