[MacPorts] #52700: port rev-upgrade stumbles over -weak_framework library dependencies

MacPorts noreply at macports.org
Mon Oct 24 21:22:30 CEST 2016


#52700: port rev-upgrade stumbles over -weak_framework library dependencies
--------------------+--------------------------------
 Reporter:  RJVB    |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  base    |    Version:
 Keywords:          |       Port:
--------------------+--------------------------------
 While trying to get QtWebEngine (QWE) 5.7.0 to build on OS X 10.9 I ran
 into an issue with port rev-upgrade:

 the QtWebEngineCore.framework links to the Bluetooth framework, called
 IOBluetooth on OS X 10.9, which contains the CoreBluetooth framework. QWE
 5.7 now requires to 10.10 SDK to build, and that SDK provides the
 CoreBluetooth framework directly in /System/Library/Frameworks.

 As a result, the QtWebEngineCore framework has a dependency on
 /System/Library/Frameworks/CoreBluetooth/.../CoreBluetooth, which
 evidently doesn't exist on 10.9 . The build system handles that by linking
 the framework with `-weak_framework`, and the resulting QtWebEngineCore
 framework loads just fine.

 However, `port rev-upgrade` apparently only sees the dependency and not
 its weak nature, so an error is raised that shouldn't occur.

--
Ticket URL: <https://trac.macports.org/ticket/52700>
MacPorts <https://www.macports.org/>
Ports system for OS X



More information about the macports-tickets mailing list