Skip to content

Conan dependencies not built with correct MACOSX_DEPLOYMENT_TARGET #5573

@macumber

Description

@macumber

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

Metadata

Metadata

Assignees

Labels

TriageIssue needs to be assessed and labeled, further information on reported might be needed

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions