Skip to content

macOS build fails: glog with_unwind set unconditionally in conanfile.py #951

Description

@raunak2007

On macOS, make debug fails during dependency resolution:

ERROR: option 'with_unwind' doesn't exist
Possible options are ['shared', 'fPIC', 'with_gflags', 'with_threads']

glog's recipe removes with_unwind in config_options outside Linux/FreeBSD (libunwind is Linux-only), but conanfile.py sets it unconditionally at lines 339 and 352. Guarding both with the self.settings.os in ["Linux", "FreeBSD"] check already used at line 296 resolves it. Since the value set is False and macOS glog behaves as unwind-off, omitting the option is equivalent.

Environment: macOS arm64, apple-clang 17, conan 2.22.2. Happy to open a PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions