Skip to content

Fails to build on Mac #136

@unclechu

Description

@unclechu

Latest master doesn’t build on Mac: 1127770

This error pops up in the logs:

Undefined symbols for architecture x86_64:
  "bool absl::lts_20210324::str_format_internal::FormatArgImpl::Dispatch<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(absl::lts_20210324::str_format_internal::FormatArgImpl::Data, absl::lts_20210324::str_format_internal::FormatConversionSpecImpl, void*)", referenced from:
      grpc_core::JoinHostPort(std::__1::basic_string_view<char, std::__1::char_traits<char> >, int) in host_port.cc.o
  "absl::lts_20210324::Status::Status(absl::lts_20210324::StatusCode, std::__1::basic_string_view<char, std::__1::char_traits<char> >)", referenced from:
      grpc_core::GetFileModificationTime(char const*, long*) in stat_posix.cc.o
ld: symbol(s) not found for architecture x86_64
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

I also see that the CI didn’t succeed for Macs for the latest commits:

2022-07-14 12-18-08

It times out after around 6 hours (5h 59m 14s).

Used gRPC-haskell as an overlay (took overlay attribute). nixpkgs pin:

fetchTarball {
  # nixos-22.05 at 2022-06-10
  url = "https://github.com/NixOS/nixpkgs/archive/e5556c75ac012ee6e03f39a56c1c51b0f7d658c2.tar.gz";
  sha256 = "00lrw73g0q7xl6mklr138zrjq4cpdk0cqk2py9nbz334v69acy3d";
}

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