NatLabRockies / NatLabRockies/OpenStudio

Conan dependencies not built with correct MACOSX_DEPLOYMENT_TARGET

Open
#5,573 0 comments 0 reactions 1 assignee View on GitHub

@anchapin is already working on this.

Since Jan 5, 2026.

Triage
Dominant language
C++
Stars
646
Forks
237
Avg merge
3d 11h
Merged PRs (30d)
10

Description

Description

The conan dependencies pushed to conan.openstudio.net are not built using the minimum MACOSX_DEPLOYMENT_TARGET. The results in warnings like this during the build:

ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_filesystem.a[3](exception.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_filesystem.a[4](directory.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_filesystem.a[5](operations.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_filesystem.a[6](path.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_filesystem.a[10](utf8_codecvt_facet.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_program_options.a[2](cmdline.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_program_options.a[4](options_description.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_program_options.a[6](variables_map.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_program_options.a[7](value_semantic.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_program_options.a[8](positional_options.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_program_options.a[9](utf8_codecvt_facet.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/boost64b5f387b91fb/p/lib/libboost_program_options.a[10](convert.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
ld: warning: object file (/Users/runner/.conan2/p/fmt84122d6f83bd6/p/lib/libfmt.a[2](format.cc.o)) was built for newer 'macOS' version (15.0) than being linked (12.1)
Current Behavior

The binary packages from conan.openstudio.net are built against newer OS deployment targets and may not work on all target version.

Expected Behavior

The packages pushed to conan.openstudio.net are built with the minimum MACOSX_DEPLOYMENT_TARGET

Steps to reproduce
  1. See Build with Ninja step in MacOS build on CI, e.g. https://github.com/NREL/OpenStudio/actions/runs/20630598304/job/59247894579
Possible Solution

No response

Operating System affected

macOS x86_64, macOS arm64

Environment

N/A

Version of OpenStudio

3.11.0-rc2

Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.