Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on Mac #136

Open
unclechu opened this issue Jul 14, 2022 · 0 comments · May be fixed by #138
Open

Fails to build on Mac #136

unclechu opened this issue Jul 14, 2022 · 0 comments · May be fixed by #138

Comments

@unclechu
Copy link

unclechu commented Jul 14, 2022

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";
}
@unclechu unclechu changed the title Doesn’t builds on Mac Fails to build on Mac Jul 14, 2022
@unclechu unclechu linked a pull request Jul 29, 2022 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant