Skip to content

fix(deps): revert zlib 1.3.1 + Assimp system zlib (RC deps fix)#484

Merged
BenJule merged 1 commit into
masterfrom
fix/rc-deps-zlib-assimp
Jun 6, 2026
Merged

fix(deps): revert zlib 1.3.1 + Assimp system zlib (RC deps fix)#484
BenJule merged 1 commit into
masterfrom
fix/rc-deps-zlib-assimp

Conversation

@BenJule

@BenJule BenJule commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Closes #483

RC deps build failed on 5 platforms. Reverts the zlib 1.3.1 change from #480 (broke the BUILD_SHARED_LIBS patch on Windows/Linux-ARM) and fixes the actual macOS failure: Assimp's bundled zlib. ASSIMP_BUILD_ZLIB=OFF on macOS/Linux → system zlib (matches fix/10767).

The RC deps build failed on 5 platforms — two issues from the zlib change in #480:

- zlib 1.2.13 -> 1.3.1 broke 0001-Respect-BUILD_SHARED_LIBS.patch
  ('patch does not apply: CMakeLists.txt:147') on Windows + Linux-ARM.
  Revert to 1.2.13 — the patch fits, and standalone zlib was never the
  macOS problem.
- The real macOS failure is Assimp's BUNDLED zlib (contrib/zlib): its
  K&R declarations clash with the macOS 26 SDK. Set ASSIMP_BUILD_ZLIB=OFF
  on macOS/Linux so Assimp links the system zlib (kept ON for Windows).
  Matches the existing fix/10767-assimp-macos-zlib-build.
@github-actions github-actions Bot added platform: linux Linux-specific issue platform: macos macOS-specific issue platform: windows Windows-specific issue labels Jun 6, 2026
@github-actions github-actions Bot added this to the v02.07.00-dev milestone Jun 6, 2026
@github-actions github-actions Bot added area: build Build system, CMake, scripts dependencies Dependency updates labels Jun 6, 2026
@BenJule BenJule merged commit b790794 into master Jun 6, 2026
7 of 8 checks passed
@BenJule BenJule deleted the fix/rc-deps-zlib-assimp branch June 6, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build system, CMake, scripts dependencies Dependency updates platform: linux Linux-specific issue platform: macos macOS-specific issue platform: windows Windows-specific issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RC deps build fails: zlib 1.3.1 patch + Assimp bundled zlib on macOS

1 participant