Skip to content

macOS build no longer works: symbol not found in flat namespace '_CFRelease' #24782

@ghost

Description

The current main build doesn't seem to work on my macOS setup. When I try to run envoy, I get this:

$ bazel run //:envoy
Starting local Bazel server and connecting to it...
DEBUG: /private/var/tmp/_bazel_john/59b8940ae0b402595b2dfa1425c9a34a/external/rules_python/python/pip.bzl:47:10: pip_install is deprecated. Please switch to pip_parse. pip_install will be removed in a future release.
INFO: Analyzed target //:envoy (848 packages loaded, 34812 targets configured).
INFO: Found 1 target...
INFO: From BazelWorkspaceStatusAction stable-status.txt:
error: No such remote 'origin'
Target //source/exe:envoy-static up-to-date:
  bazel-bin/source/exe/envoy-static
INFO: Elapsed time: 51.497s, Critical Path: 31.82s
INFO: 2 processes: 2 internal.
INFO: Build completed successfully, 2 total actions
INFO: Running command line: bazel-bin/source/exe/envoy-static
dyld[61319]: symbol not found in flat namespace '_CFRelease'

I'm not sure what the last good revision is; if I just switch commits without fully clearing my bazel cache, the problem persists, but if I clear it, builds can take up to 6 hours, making it virtually impossible to test one revision less bisect. I believe it worked at 2681bdd, but it's hard to know for sure. I'll try a build over there but I want to get this issue out here now since I have someone else saying they are able to reproduce it at main.

The specific machine is a MacBookPro18,2 (M1 Max MacBook Pro, 16-inch) with 32 GiB of RAM. It is running macOS Ventura 13.1 (22C65).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions