[MacPorts] #63351: py-grpcio fails to build

MacPorts noreply at macports.org
Tue Aug 10 00:44:50 UTC 2021


#63351: py-grpcio fails to build
-------------------------+--------------------------
  Reporter:  mouse07410  |      Owner:  emcrisostomo
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  py-grpcio   |
-------------------------+--------------------------

Comment (by mouse07410):

 > is this related to any of the other ​reports?

 I don't know, but I don't think so. Here are my flags:
 {{{
 $ env | grep FLAG
 CXXFLAGS=-std=gnu++17 -O3 -march=native -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
 OPENSSL_CFLAGS= -I/opt/local/include
 CFLAGS=-O3 -std=gnu18 -march=native -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
 }}}

 Here are some of the error messages:
 {{{
 .  .  .  .  .
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_
 ports_devel_grpc/py39-grpcio/work/compwrap/cc/usr/bin/clang -Wno-unused-
 result -Wsign-compare -Wunreachable-co
 de -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/S
 DKs/MacOSX11.sdk -arch x86_64
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/De
 veloper/SDKs/MacOSX11.3.sdk -D_WIN32_WINNT=1536
 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX="Python" -DGRPC_XDS_USER_AGE
 NT_VERSION_SUFFIX="1.39.0" -DOPENSSL_NO_ASM=1
 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_EN
 ABLE_FORK_SUPPORT=1 -DPyMODINIT_FUNC=extern "C" __attribute__((visibility
 ("default"))) PyObject* -DGRPC_POSIX
 _FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I.
 -Ithird_party/abseil-cpp -Ithird_party/address_
 sorting/include -I/opt/local/include -I/opt/local/include/re2
 -I/opt/local/include/openssl -Ithird_party/upb -
 Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated
 -Ithird_party/xxhash -I/opt/local/include -I/opt/
 local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9
 -c src/core/ext/upb-generated/envoy/c
 onfig/route/v3/scoped_route.upb.c -o
 python_build/temp.macosx-11.0-x86_64-3.9/src/core/ext/upb-generated/envoy
 /config/route/v3/scoped_route.upb.o -stdlib=libc++ -fvisibility=hidden
 -fno-wrapv -fno-exceptions -DHAVE_UNIST
 D_H -pthread
 :info:build In file included from
 src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_targe
 t.cc:24:
 :info:build In file included from
 /opt/local/include/absl/strings/str_cat.h:62:
 :info:build In file included from
 /opt/local/include/absl/strings/numbers.h:37:
 :info:build In file included from
 /opt/local/include/absl/numeric/int128.h:698:
 :info:build third_party/abseil-
 cpp/absl/numeric/int128_have_intrinsic.inc:37:8: error: unknown type name
 'int128'; did you mean 'uint128'?
 :info:build inline int128& int128::operator=(__int128 v) {
 :info:build        ^~~~~~
 :info:build        uint128
 :info:build /opt/local/include/absl/numeric/int128.h:91:9: note: 'uint128'
 declared here
 :info:build         uint128 {
 :info:build         ^
 :info:build In file included from
 src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc:28:
 :info:build In file included from
 /opt/local/include/absl/strings/str_cat.h:62:
 :info:build In file included from
 /opt/local/include/absl/strings/numbers.h:37:
 :info:build In file included from
 /opt/local/include/absl/numeric/int128.h:698:
 :info:build third_party/abseil-
 cpp/absl/numeric/int128_have_intrinsic.inc:37:8: error: unknown type name
 'int128'; did you mean 'uint128'?
 .  .  .  .  .
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63351#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list