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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

George Mitchell
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

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


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

freebsd-ports mailing list
Quoting George Mitchell <[hidden email]> (from Wed, 9 Oct 2019  
10:12:39 -0400):

> 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

I've run into the same error just yesterday. As a workaround,  
deinstall the devel/evdev-proto port (it's not the libmtdev port which  
is the problem) and it will use the base-system evdev includes.

Bye,
Alexander.

--
http://www.Leidinger.net [hidden email]: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    [hidden email]  : PGP 0x8F31830F9F2772BF

attachment0 (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

George Mitchell
On 2019-10-09 10:25, Alexander Leidinger via freebsd-ports wrote:

> Quoting George Mitchell <[hidden email]> (from Wed, 9 Oct 2019
> 10:12:39 -0400):
>
>> 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
>
> I've run into the same error just yesterday. As a workaround, deinstall
> the devel/evdev-proto port (it's not the libmtdev port which is the
> problem) and it will use the base-system evdev includes.
>
> Bye,
> Alexander.
>
Problem solved!  Thanks for your help.                  -- George


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Adriaan de Groot-2
In reply to this post by George Mitchell
On Thursday, 10 October 2019 14:05:56 CEST [hidden email]
wrote:
> > I've run into the same error just yesterday. As a workaround, deinstall
> > the devel/evdev-proto port (it's not the libmtdev port which is the
> > problem) and it will use the base-system evdev includes.
> >
> > Bye,
> > Alexander.
>
> Problem solved!  Thanks for your help.                  -- George

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240964

Basically, Qt is using internal headers that it shouldn't .. but that means we
need to make Qt depend on evdev-proto. There is a fix in the works.

[ade]

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Robert Huff

Adriaan de Groot writes:

>  Basically, Qt is using internal headers that it shouldn't .. but
>  that means we need to make Qt depend on evdev-proto. There is a fix
>  in the works.

        _Please_ announce this in UPDATING.


                        Respectfully,


                                Robert Huff

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"