Skip to content

Conversation

@Fuzzbawls
Copy link
Collaborator

Modified backport of bitcoin#22199.

Github Action's latest macOS 11 runner image has introduced a Qt plugin dylib issue that results in build failures for non-depends based builds (ref: https://github.com/PIVX-Project/PIVX/actions/runs/4610757401/jobs/8206287998). The particular dylib (libwebp.dylib) is one that PIVX doesn't use, but the macdeploy script was originally written in a way that newer plugins that weren't explicitly excluded were linked, even if not necessarily needed.

This PR changes the logic/process to instead only link explicitly defined needed plugins that PIVX Core directly uses. Depends based builds are unaffected by this change, as depends builds Qt as static libraries, which don't use Qt plugins.

@Fuzzbawls Fuzzbawls added Build System macOS Issues/problems specifically related to macOS Upstream labels Apr 8, 2023
@Fuzzbawls Fuzzbawls added this to the 6.0.0 milestone Apr 8, 2023
@Fuzzbawls Fuzzbawls self-assigned this Apr 8, 2023
Copy link
Member

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK fea9b7f
Build passed in my repo, and is an issue I'm facing with my current pr's so lets gooo

Copy link

@panleone panleone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK looks ok
fea9b7f

@Fuzzbawls Fuzzbawls merged commit aadf4bb into PIVX-Project:master Apr 8, 2023
@Fuzzbawls Fuzzbawls modified the milestones: 6.0.0, 5.6.0 Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build System macOS Issues/problems specifically related to macOS Upstream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants