Skip to content

Update build requirement for macos26 simplify tools scripts#1419

Merged
Trouffman merged 2 commits into
masterfrom
fix-build-macos26
Mar 2, 2026
Merged

Update build requirement for macos26 simplify tools scripts#1419
Trouffman merged 2 commits into
masterfrom
fix-build-macos26

Conversation

@Trouffman

Copy link
Copy Markdown
Collaborator

This address build failing on MacOS 26.

Issue 1:

Local build fail on Local MacOS Tahoe 26+ because :

  • plugin needs OBS-Deps to build
  • obs-deps contains QT6 (pre 6.9.2)
  • QT6 < 6.9.2 integrate Apple's SDK AGL Framework
  • AGL Framework is obsolete for some time AND Has been removed from MacOS 26+ SDK. Source

This is solved in CMakeLists.txt by selectively removing the AGL framework requirement.

Issue 2:

Local build will fail on macos 26+ because of some local variable conflicting

Impact : Build will fail with multiple errors simialr to

clang++: error: conflicting deployment targets, both '26.1' and '26.1' are present in environment
clang++: error: conflicting deployment targets, both '26.1' and '26.1' are present in environment
clang++: error: conflicting deployment targets, both '26.1' and '26.1' are present in environment
clang++: error: conflicting deployment targets, both '26.1' and '25.1' are present in environment

Solution : actively unset some environment variable.

This is solved in cmake/macos/xcode.cmake

These 2 issues should be only happening locally. the fixes have no expected mpact on the github-actions (this PR will confirm if ctually is fine)

Issue 3:
Re-organise the /tools/ folder.

  • Rename / simplify scripts names for easier "in terminal" use
  • Enable more verbose output for script testing

@Trouffman Trouffman self-assigned this Feb 27, 2026
@Trouffman Trouffman added ci Build relate to building issues (all platform) labels Feb 27, 2026
@Trouffman
Trouffman marked this pull request as ready for review February 27, 2026 19:27
@Trouffman
Trouffman merged commit 9469653 into master Mar 2, 2026
9 checks passed
@Trouffman
Trouffman deleted the fix-build-macos26 branch March 2, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build relate to building issues (all platform) ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant