Opened 5 years ago

Last modified 5 years ago

#58005 assigned defect

mythtv-core.28 @ 0.28.2-Fixes-20180201_5: Build failure on OSX 10.11 because of qt5 is replaced by qt511

Reported by: acediac (Acediac) Owned by: ctreleaven (Craig Treleaven)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: mythtv-core.28

Description

mythtv-core.28 fails to build on El Capitan (OSX 10.11) because qt5 has been replaced by qt511 as the last version supported on the platform.

The error encountered is: Error: Can't install qt5-mysql-plugin because conflicting ports are active: qt511-qtbase

The Portfile probably needs conditional selection of the appropriate qt5 -> qt511 dependencies for OSX 10.11, without changes for newer OSes

I was able to get it to build by replacing the following in the Portfile:

depends_lib-append:
qt5-mysql-plugin -> qt511-mysql-plugin
qt5-qtscript -> qt511-qtscript
qt5-qtwebkit -> qt511-qtwebkit

require_active_variants:
qt5-mysql-plugin -> qt511-mysql-plugin

Change History (2)

comment:2 Changed 5 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven removed
Owner: set to ctreleaven
Status: newassigned
Note: See TracTickets for help on using tickets.