[MacPorts] #62944: grpc: py-grpcio port build failures

MacPorts noreply at macports.org
Fri May 21 18:02:03 UTC 2021


#62944: grpc: py-grpcio port build failures
-----------------------------+--------------------------
  Reporter:  mascguy         |      Owner:  cjones051073
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  grpc py-grpcio  |
-----------------------------+--------------------------

Comment (by cjones051073):

 Looks to me like a lack of quoting around one of the flags being passed.

 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_grpc/py39-grpcio/work/compwrap/cc/usr/bin/clang
 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic
 -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -arch
 arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
 -D_WIN32_WINNT=1536 -DOPENSSL_NO_ASM=1
 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1
 -DGRPC_ENABLE_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/service/discovery/v3/ads.upb.c -o
 python_build/temp.macosx-11.3-arm64-3.9/src/core/ext/upb-
 generated/envoy/service/discovery/v3/ads.upb.o -stdlib=libc++
 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread
 }}}

 Inot sure I really see how the wrapper is causing this, as it looks like
 the issue is in what the build is passing.

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


More information about the macports-tickets mailing list