Opened 4 years ago
Last modified 4 years ago
#52700 new defect
port rev-upgrade stumbles over -weak_framework library dependencies
Reported by: | RJVB (René Bertin) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | |
Keywords: | Cc: | neverpanic (Clemens Lang), mkae (Marko Käning) | |
Port: |
Description
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.
Change History (3)
comment:1 Changed 4 years ago by larryv (Lawrence Velázquez)
Cc: | neverpanic added |
---|
comment:2 Changed 4 years ago by RJVB (René Bertin)
The usual error about a missing library, in this case /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
comment:3 Changed 4 years ago by mkae (Marko Käning)
Cc: | mkae added |
---|
And what error is that?