Opened 3 years ago

Last modified 2 years ago

#62211 assigned defect

py38-grpcio: error: cannot delete expression of type 'std::unique_ptr<PrefilterTree>'

Reported by: mf2k (Frank Schima) Owned by: emcrisostomo (Enrico Maria Crisostomo)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc: cooljeanius (Eric Gallager)
Port: py-grpcio

Description

Error appears to be:

:info:build /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.0.sdk -arch x86_64 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.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 -Ithird_party/re2 -I/opt/local/include/openssl -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/core/lib/channel/channel_trace.cc -o python_build/temp.macosx-11.0-x86_64-3.8/src/core/lib/channel/channel_trace.o -std=c++11 -stdlib=libc++ -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread
:info:build third_party/re2/re2/filtered_re2.cc:30:3: error: cannot delete expression of type 'std::unique_ptr<PrefilterTree>'
:info:build   delete prefilter_tree_;
:info:build   ^      ~~~~~~~~~~~~~~~
:info:build 1 error generated.

Attachments (1)

main.log (1.0 MB) - added by mf2k (Frank Schima) 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 3 years ago by mf2k (Frank Schima)

Strangely it says this:

:info:build Compiling with an SDK that doesn't seem to exist: /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk

Yet it also correctly finds and uses my 11.1 SDK elsewhere:

:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk'
:info:build /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.0.sdk -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.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 -Ithird_party/re2 -I/opt/local/include/openssl -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c third_party/abseil-cpp/absl/synchronization/barrier.cc -o python_build/temp.macosx-11.0-x86_64-3.8/third_party/abseil-cpp/absl/synchronization/barrier.o -std=c++11 -stdlib=libc++ -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread
Last edited 3 years ago by mf2k (Frank Schima) (previous) (diff)

comment:2 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.