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

Python CFLAGS are causing collisions when building native Python modules #68352

Closed
4 tasks done
mitchhentges opened this issue Jan 5, 2021 · 24 comments
Closed
4 tasks done
Labels
outdated PR was locked due to age

Comments

@mitchhentges
Copy link
Contributor

mitchhentges commented Jan 5, 2021

Bug report

  • ran brew update and can still reproduce the problem?
  • ran brew doctor, fixed all issues and can still reproduce the problem?
  • ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)

I want to install an older version of the Python zstandard package on a machine that doesn't have a zstandard wheel available, and that may have the zstd brew package already installed.

What happened (include command output)

The compile fails, because it'll use some files from brew's zstd package (located in /usr/local/include) and some files from the pip package. See the (prettified) clang invocation:

clang \
 # --- CFLAGS ---
 -I/usr/local/include \
 # <snip>
 # --- cc_args (built from Extension(include_dirs, macros)) ---
 -Izstd/common \
 -Ic-ext \
 -Izstd \
 -Izstd/compress \
 -Izstd/dictBuilder \
 -Izstd/decompress \
 # <snip>
 # --- extra_postargs (built from Extension(extra_compile_args)) ---
 # <snip>

Note that moving the -l/usr/local/include line to after the cc_args section allowed the build to complete successfully.

Command output
```
Collecting zstandard==0.14.0
  Using cached zstandard-0.14.0.tar.gz (676 kB)
Requirement already satisfied: cffi>=1.11 in /Users/mhentges/Library/Python/3.9/lib/python/site-packages (from zstandard==0.14.0) (1.14.4)
Requirement already satisfied: pycparser in /Users/mhentges/Library/Python/3.9/lib/python/site-packages (from cffi>=1.11->zstandard==0.14.0) (2.20)
Building wheels for collected packages: zstandard
  Building wheel for zstandard (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/setup.py'"'"'; __file__='"'"'/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-wheel-gqidls7o
       cwd: /private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/
  Complete output (101 lines):
  generating build/_zstd_cffi.c
  (already up-to-date)
  not modified: 'build/_zstd_cffi.c'
  running bdist_wheel
  running build
  running build_py
  creating build/lib.macosx-11-x86_64-3.9
  creating build/lib.macosx-11-x86_64-3.9/zstandard
  copying zstandard/cffi.py -> build/lib.macosx-11-x86_64-3.9/zstandard
  copying zstandard/__init__.py -> build/lib.macosx-11-x86_64-3.9/zstandard
  running build_ext
  building 'zstd' extension
  creating build/temp.macosx-11-x86_64-3.9
  creating build/temp.macosx-11-x86_64-3.9/c-ext
  creating build/temp.macosx-11-x86_64-3.9/zstd
  creating build/temp.macosx-11-x86_64-3.9/zstd/common
  creating build/temp.macosx-11-x86_64-3.9/zstd/compress
  creating build/temp.macosx-11-x86_64-3.9/zstd/decompress
  creating build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/bufferutil.c -o build/temp.macosx-11-x86_64-3.9/c-ext/bufferutil.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressionchunker.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressionchunker.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressiondict.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressiondict.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressionparams.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressionparams.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressionreader.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressionreader.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressionwriter.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressionwriter.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressobj.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressobj.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressor.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressor.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressoriterator.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressoriterator.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/constants.c -o build/temp.macosx-11-x86_64-3.9/c-ext/constants.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressionreader.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressionreader.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressionwriter.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressionwriter.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressobj.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressobj.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressor.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressor.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressoriterator.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressoriterator.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/frameparams.c -o build/temp.macosx-11-x86_64-3.9/c-ext/frameparams.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd.c -o build/temp.macosx-11-x86_64-3.9/zstd.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  zstd.c:218:2: warning: code will never be executed [-Wunreachable-code]
          bufferutil_module_init(m);
          ^~~~~~~~~~~~~~~~~~~~~~
  zstd.c:213:29: note: silence by adding parentheses to mark code as explicitly dead
          if (ZSTD_VERSION_NUMBER != 10405 || ZSTD_versionNumber() != 10405) {
                                     ^
                                     /* DISABLES CODE */ ( )
  1 warning generated.
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/debug.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/debug.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/entropy_common.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/entropy_common.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/error_private.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/error_private.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/fse_decompress.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/fse_decompress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/pool.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/pool.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/threading.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/threading.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/xxhash.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/xxhash.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/zstd_common.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/zstd_common.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/fse_compress.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/fse_compress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/hist.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/hist.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/huf_compress.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/huf_compress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_compress.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_compress_literals.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_literals.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_compress_sequences.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_sequences.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_compress_superblock.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_superblock.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_double_fast.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_double_fast.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_fast.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_fast.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_lazy.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_lazy.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_ldm.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_ldm.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_opt.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_opt.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstdmt_compress.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstdmt_compress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/decompress/huf_decompress.c -o build/temp.macosx-11-x86_64-3.9/zstd/decompress/huf_decompress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/decompress/zstd_ddict.c -o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_ddict.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/decompress/zstd_decompress.c -o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_decompress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/decompress/zstd_decompress_block.c -o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_decompress_block.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/dictBuilder/cover.c -o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/cover.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/dictBuilder/divsufsort.c -o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/divsufsort.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/dictBuilder/fastcover.c -o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/fastcover.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Izstd/compress -Izstd -Izstd/decompress -Ic-ext -Izstd/dictBuilder -Izstd/common -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/dictBuilder/zdict.c -o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/zdict.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
  clang -bundle -undefined dynamic_lookup -L/usr/local/lib -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk build/temp.macosx-11-x86_64-3.9/c-ext/bufferutil.o build/temp.macosx-11-x86_64-3.9/c-ext/compressionchunker.o build/temp.macosx-11-x86_64-3.9/c-ext/compressiondict.o build/temp.macosx-11-x86_64-3.9/c-ext/compressionparams.o build/temp.macosx-11-x86_64-3.9/c-ext/compressionreader.o build/temp.macosx-11-x86_64-3.9/c-ext/compressionwriter.o build/temp.macosx-11-x86_64-3.9/c-ext/compressobj.o build/temp.macosx-11-x86_64-3.9/c-ext/compressor.o build/temp.macosx-11-x86_64-3.9/c-ext/compressoriterator.o build/temp.macosx-11-x86_64-3.9/c-ext/constants.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressionreader.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressionwriter.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressobj.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressor.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressoriterator.o build/temp.macosx-11-x86_64-3.9/c-ext/frameparams.o build/temp.macosx-11-x86_64-3.9/zstd.o build/temp.macosx-11-x86_64-3.9/zstd/common/debug.o build/temp.macosx-11-x86_64-3.9/zstd/common/entropy_common.o build/temp.macosx-11-x86_64-3.9/zstd/common/error_private.o build/temp.macosx-11-x86_64-3.9/zstd/common/fse_decompress.o build/temp.macosx-11-x86_64-3.9/zstd/common/pool.o build/temp.macosx-11-x86_64-3.9/zstd/common/threading.o build/temp.macosx-11-x86_64-3.9/zstd/common/xxhash.o build/temp.macosx-11-x86_64-3.9/zstd/common/zstd_common.o build/temp.macosx-11-x86_64-3.9/zstd/compress/fse_compress.o build/temp.macosx-11-x86_64-3.9/zstd/compress/hist.o build/temp.macosx-11-x86_64-3.9/zstd/compress/huf_compress.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_literals.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_sequences.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_superblock.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_double_fast.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_fast.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_lazy.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_ldm.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_opt.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstdmt_compress.o build/temp.macosx-11-x86_64-3.9/zstd/decompress/huf_decompress.o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_ddict.o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_decompress.o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_decompress_block.o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/cover.o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/divsufsort.o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/fastcover.o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/zdict.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -o build/lib.macosx-11-x86_64-3.9/zstd.cpython-39-darwin.so
  building '_zstd_cffi' extension
  creating build/temp.macosx-11-x86_64-3.9/build
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd/common -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd/compress -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd/decompress -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd/dictBuilder -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c build/_zstd_cffi.c -o build/temp.macosx-11-x86_64-3.9/build/_zstd_cffi.o -DZSTD_MULTITHREAD
  build/_zstd_cffi.c:1237:14: error: no member named 'matchPos' in 'ZSTD_Sequence'
    (void)((p->matchPos) | 0);  /* check that 'ZSTD_Sequence.matchPos' is an integer */
            ~  ^
  build/_zstd_cffi.c:8812:10: error: implicit declaration of function 'ZSTD_getSequences' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    return ZSTD_getSequences(x0, x1, x2, x3, x4);
           ^
  build/_zstd_cffi.c:8812:10: note: did you mean 'ZSTD_generateSequences'?
  /usr/local/include/zstd.h:1326:20: note: 'ZSTD_generateSequences' declared here
  ZSTDLIB_API size_t ZSTD_generateSequences(ZSTD_CCtx* zc, ZSTD_Sequence* outSeqs,
                     ^
  build/_zstd_cffi.c:8873:14: error: implicit declaration of function 'ZSTD_getSequences' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    { result = ZSTD_getSequences(x0, x1, x2, x3, x4); }
               ^
  build/_zstd_cffi.c:11220:17: error: no member named 'matchPos' in ''
    { "matchPos", offsetof(ZSTD_Sequence, matchPos),
                  ^                       ~~~~~~~~
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof'
  #define offsetof(t, d) __builtin_offsetof(t, d)
                         ^                     ~
  build/_zstd_cffi.c:11221:46: error: no member named 'matchPos' in 'ZSTD_Sequence'
                  sizeof(((ZSTD_Sequence *)0)->matchPos),
                         ~~~~~~~~~~~~~~~~~~~~  ^
  5 errors generated.
  error: command '/usr/bin/clang' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for zstandard
  Running setup.py clean for zstandard
Failed to build zstandard
Installing collected packages: zstandard
    Running setup.py install for zstandard ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/setup.py'"'"'; __file__='"'"'/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-record-_0e218im/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/mhentges/Library/Python/3.9/include/python3.9/zstandard
         cwd: /private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/
    Complete output (101 lines):
    generating build/_zstd_cffi.c
    (already up-to-date)
    not modified: 'build/_zstd_cffi.c'
    running install
    running build
    running build_py
    creating build/lib.macosx-11-x86_64-3.9
    creating build/lib.macosx-11-x86_64-3.9/zstandard
    copying zstandard/cffi.py -> build/lib.macosx-11-x86_64-3.9/zstandard
    copying zstandard/__init__.py -> build/lib.macosx-11-x86_64-3.9/zstandard
    running build_ext
    building 'zstd' extension
    creating build/temp.macosx-11-x86_64-3.9
    creating build/temp.macosx-11-x86_64-3.9/c-ext
    creating build/temp.macosx-11-x86_64-3.9/zstd
    creating build/temp.macosx-11-x86_64-3.9/zstd/common
    creating build/temp.macosx-11-x86_64-3.9/zstd/compress
    creating build/temp.macosx-11-x86_64-3.9/zstd/decompress
    creating build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/bufferutil.c -o build/temp.macosx-11-x86_64-3.9/c-ext/bufferutil.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressionchunker.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressionchunker.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressiondict.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressiondict.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressionparams.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressionparams.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressionreader.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressionreader.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressionwriter.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressionwriter.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressobj.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressobj.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressor.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressor.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/compressoriterator.c -o build/temp.macosx-11-x86_64-3.9/c-ext/compressoriterator.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/constants.c -o build/temp.macosx-11-x86_64-3.9/c-ext/constants.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressionreader.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressionreader.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressionwriter.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressionwriter.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressobj.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressobj.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressor.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressor.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/decompressoriterator.c -o build/temp.macosx-11-x86_64-3.9/c-ext/decompressoriterator.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c c-ext/frameparams.c -o build/temp.macosx-11-x86_64-3.9/c-ext/frameparams.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd.c -o build/temp.macosx-11-x86_64-3.9/zstd.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    zstd.c:218:2: warning: code will never be executed [-Wunreachable-code]
            bufferutil_module_init(m);
            ^~~~~~~~~~~~~~~~~~~~~~
    zstd.c:213:29: note: silence by adding parentheses to mark code as explicitly dead
            if (ZSTD_VERSION_NUMBER != 10405 || ZSTD_versionNumber() != 10405) {
                                       ^
                                       /* DISABLES CODE */ ( )
    1 warning generated.
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/debug.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/debug.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/entropy_common.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/entropy_common.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/error_private.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/error_private.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/fse_decompress.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/fse_decompress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/pool.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/pool.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/threading.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/threading.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/xxhash.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/xxhash.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/common/zstd_common.c -o build/temp.macosx-11-x86_64-3.9/zstd/common/zstd_common.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/fse_compress.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/fse_compress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/hist.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/hist.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/huf_compress.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/huf_compress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_compress.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_compress_literals.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_literals.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_compress_sequences.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_sequences.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_compress_superblock.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_superblock.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_double_fast.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_double_fast.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_fast.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_fast.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_lazy.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_lazy.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_ldm.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_ldm.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstd_opt.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_opt.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/compress/zstdmt_compress.c -o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstdmt_compress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/decompress/huf_decompress.c -o build/temp.macosx-11-x86_64-3.9/zstd/decompress/huf_decompress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/decompress/zstd_ddict.c -o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_ddict.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/decompress/zstd_decompress.c -o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_decompress.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/decompress/zstd_decompress_block.c -o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_decompress_block.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/dictBuilder/cover.c -o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/cover.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/dictBuilder/divsufsort.c -o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/divsufsort.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/dictBuilder/fastcover.c -o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/fastcover.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Ic-ext -Izstd/compress -Izstd/dictBuilder -Izstd -Izstd/common -Izstd/decompress -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zstd/dictBuilder/zdict.c -o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/zdict.o -DZSTD_MULTITHREAD -DZSTDLIB_VISIBILITY= -DZDICTLIB_VISIBILITY= -DZSTDERRORLIB_VISIBILITY= -fvisibility=hidden
    clang -bundle -undefined dynamic_lookup -L/usr/local/lib -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk build/temp.macosx-11-x86_64-3.9/c-ext/bufferutil.o build/temp.macosx-11-x86_64-3.9/c-ext/compressionchunker.o build/temp.macosx-11-x86_64-3.9/c-ext/compressiondict.o build/temp.macosx-11-x86_64-3.9/c-ext/compressionparams.o build/temp.macosx-11-x86_64-3.9/c-ext/compressionreader.o build/temp.macosx-11-x86_64-3.9/c-ext/compressionwriter.o build/temp.macosx-11-x86_64-3.9/c-ext/compressobj.o build/temp.macosx-11-x86_64-3.9/c-ext/compressor.o build/temp.macosx-11-x86_64-3.9/c-ext/compressoriterator.o build/temp.macosx-11-x86_64-3.9/c-ext/constants.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressionreader.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressionwriter.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressobj.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressor.o build/temp.macosx-11-x86_64-3.9/c-ext/decompressoriterator.o build/temp.macosx-11-x86_64-3.9/c-ext/frameparams.o build/temp.macosx-11-x86_64-3.9/zstd.o build/temp.macosx-11-x86_64-3.9/zstd/common/debug.o build/temp.macosx-11-x86_64-3.9/zstd/common/entropy_common.o build/temp.macosx-11-x86_64-3.9/zstd/common/error_private.o build/temp.macosx-11-x86_64-3.9/zstd/common/fse_decompress.o build/temp.macosx-11-x86_64-3.9/zstd/common/pool.o build/temp.macosx-11-x86_64-3.9/zstd/common/threading.o build/temp.macosx-11-x86_64-3.9/zstd/common/xxhash.o build/temp.macosx-11-x86_64-3.9/zstd/common/zstd_common.o build/temp.macosx-11-x86_64-3.9/zstd/compress/fse_compress.o build/temp.macosx-11-x86_64-3.9/zstd/compress/hist.o build/temp.macosx-11-x86_64-3.9/zstd/compress/huf_compress.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_literals.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_sequences.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_compress_superblock.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_double_fast.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_fast.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_lazy.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_ldm.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstd_opt.o build/temp.macosx-11-x86_64-3.9/zstd/compress/zstdmt_compress.o build/temp.macosx-11-x86_64-3.9/zstd/decompress/huf_decompress.o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_ddict.o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_decompress.o build/temp.macosx-11-x86_64-3.9/zstd/decompress/zstd_decompress_block.o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/cover.o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/divsufsort.o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/fastcover.o build/temp.macosx-11-x86_64-3.9/zstd/dictBuilder/zdict.o -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib -o build/lib.macosx-11-x86_64-3.9/zstd.cpython-39-darwin.so
    building '_zstd_cffi' extension
    creating build/temp.macosx-11-x86_64-3.9/build
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd/common -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd/compress -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd/decompress -I/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/zstd/dictBuilder -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c build/_zstd_cffi.c -o build/temp.macosx-11-x86_64-3.9/build/_zstd_cffi.o -DZSTD_MULTITHREAD
    build/_zstd_cffi.c:1237:14: error: no member named 'matchPos' in 'ZSTD_Sequence'
      (void)((p->matchPos) | 0);  /* check that 'ZSTD_Sequence.matchPos' is an integer */
              ~  ^
    build/_zstd_cffi.c:8812:10: error: implicit declaration of function 'ZSTD_getSequences' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      return ZSTD_getSequences(x0, x1, x2, x3, x4);
             ^
    build/_zstd_cffi.c:8812:10: note: did you mean 'ZSTD_generateSequences'?
    /usr/local/include/zstd.h:1326:20: note: 'ZSTD_generateSequences' declared here
    ZSTDLIB_API size_t ZSTD_generateSequences(ZSTD_CCtx* zc, ZSTD_Sequence* outSeqs,
                       ^
    build/_zstd_cffi.c:8873:14: error: implicit declaration of function 'ZSTD_getSequences' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      { result = ZSTD_getSequences(x0, x1, x2, x3, x4); }
                 ^
    build/_zstd_cffi.c:11220:17: error: no member named 'matchPos' in ''
      { "matchPos", offsetof(ZSTD_Sequence, matchPos),
                    ^                       ~~~~~~~~
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof'
    #define offsetof(t, d) __builtin_offsetof(t, d)
                           ^                     ~
    build/_zstd_cffi.c:11221:46: error: no member named 'matchPos' in 'ZSTD_Sequence'
                    sizeof(((ZSTD_Sequence *)0)->matchPos),
                           ~~~~~~~~~~~~~~~~~~~~  ^
    5 errors generated.
    error: command '/usr/bin/clang' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/setup.py'"'"'; __file__='"'"'/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-tqzhobq_/zstandard_b17f990ea1fd4b59ac8ab91055204218/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-record-_0e218im/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/mhentges/Library/Python/3.9/include/python3.9/zstandard Check the logs for full command output.
```
  

What you expected to happen

I wanted zstandard to be compiled, then have it packaged and installed with the wrapping Python code.

Step-by-step reproduction instructions (by running brew install commands)

  1. brew install python, restart shell
  2. brew install zstd
  3. Use pip to install cffi so zstandard reproduces the specific failure I'm reporting: pip install --user cffi
  4. Use pip to install and build a version of zstandard that is incompatible with zstd in brew, e.g.: pip3 install 'zstandard==0.14.0' --no-binary :all: --user
@fxcoudert
Copy link
Member

We can't support every possible combination of different software installed, sadly, especially old versions. And things installed in /usr/local will have an impact on Python distribution. The recommended workaround available is brew unlink zstd, it will take it out of /usr/local.

@whiteslack
Copy link

Thanks lead

@mitchhentges
Copy link
Contributor Author

mitchhentges commented Jan 6, 2021

Hmm, I think that that makes sense to avoid sinking maintenance time into esoteric use cases.
FWIW, this doesn't just affect outdated software, but rather any python package that has C library files with a name collision of those in /usr/local/include (whether unrelated software with the same name, or just a new/old version discrepancy).

If you'd accept a patch from the community [i.e.: me], then I think I've got a solution:
Move the -I/usr/local/include argument to the end of the compiler command to de-prioritize it. This will keep brew C libraries available to Python packages, but it will just make sure that conflicts are resolved by using package's files first.

Done step by step:

  1. We find out where we add -I/usr/${HOMEBREW_PREFIX}/include => right here.
  2. We add ${HOMEBREW_PREFIX} to Python's config_vars.
  3. We patch _osx_support.compiler_fixup() to look for -I/usr/${HOMEBREW_PREFIX}/include. If found, it moves it to the end of the list of arguments. A comment is written referencing the definition of the include from step 1.
  4. 🤝 Mission accomplished!

This adds an additional brew-y patch to Python's behaviour, but hey, there's already a couple of those.

@whiteslack
Copy link

@mitchhentges bruh, how cool you are.

@mkoeppe
Copy link

mkoeppe commented Jan 7, 2021

We have come across the same critical defect in homebrew's python configuration in SageMath - https://trac.sagemath.org/ticket/31132

@carlocab
Copy link
Member

carlocab commented Jan 7, 2021

@mitchhentges hard to comment on a suggestion without seeing the code... Why don't you open a PR implementing your suggestion?

@mkoeppe
Copy link

mkoeppe commented Jan 7, 2021

A simple solution would be to change the python3 homebrew recipe to set CPATH while building Python instead of putting -I directives into CFLAGS.

@mitchhentges
Copy link
Contributor Author

Looks like setting CPATH might be the right move here, good thinking @mkoeppe :)
A few notes:

  • CPATH doesn't seem to be exposed in Python's config_vars, so adjustments here only affect the Python build.
  • Native Python packages will still be able to find includes due to the existing adjustments to distutils.cfg.

This seems to be working well with the zstd example from above. Looking at the clang call, we can see that /usr/local/include is no longer before the extension includes, yet is still available if needed:

clang \
 # --- CFLAGS ---
 '-Wno-unused-result' \
 '-Wsign-compare' \
 '-Wunreachable-code' \
 '-fno-common' \
 '-dynamic' \
 '-DNDEBUG' \
 '-g' \
 '-fwrapv' \
 '-O3' \
 '-Wall' \
 '-isysroot' \
 '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' \
 # --- Extension include_dirs, macros
 '-Izstd' \
 '-Ic-ext' \
 '-Izstd/common' \
 '-Izstd/compress' \
 '-Izstd/decompress' \
 '-Izstd/dictBuilder' \
 # --- distutils.cfg include_dirs
 '-I/usr/local/include' \
 '-I/usr/local/opt/openssl@1.1/include' \
 '-I/usr/local/opt/sqlite/include' \
 # --- Added by https://github.com/python/cpython/blob/v3.9.1/Lib/distutils/command/build_ext.py#L164
 '-I/usr/local/Cellar/python@3.9/3.9.1_4/Frameworks/Python.framework/Versions/3.9/include/python3.9' \
 # --- Compile input and output files from Extension
 '-c' \
 'c-ext/bufferutil.c' \
 '-o' \
 'build/temp.macosx-11-x86_64-3.9/c-ext/bufferutil.o' \
 # --- Extension extra_compile_args
 '-DZSTD_MULTITHREAD' \
 '-DZSTDLIB_VISIBILITY=' \
 '-DZDICTLIB_VISIBILITY=' \
 '-DZSTDERRORLIB_VISIBILITY=' \
 '-fvisibility=hidden'

I'm going to test with Python 3.7 and 3.8 as well, then I'll submit a patch.

@fxcoudert
Copy link
Member

It is on purpose that we use CFLAGS and LDFLAGS in order to allow not only the Python build, but also the future python package installs to find our libraries. This is a very risky area to change, with more than 500 formulas to retest if we were to change anything in that.

There is workaround available with brew unlink, too. So I'm not sure the benefit/risk analysis is in favour of what you suggest.

@mkoeppe
Copy link

mkoeppe commented Jan 7, 2021

Sorry, but this makes homebrew's python fundamentally broken. No user package can reliably build with it because these -I at the front of the include path take precedence over everything that comes after that.

@mkoeppe
Copy link

mkoeppe commented Jan 7, 2021

Moreover, there is no mechanism for a user package to override it in any way.

@mkoeppe
Copy link

mkoeppe commented Jan 7, 2021

If you want it in CFLAGS, at least use -isystem, not -I. https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#Invocation

@fxcoudert
Copy link
Member

fxcoudert commented Jan 7, 2021

this makes homebrew's python fundamentally broken

There are 853,459 installs of this formula per month, and only two people apparently affected. So it certainly affects a very limited use case.

One thing I would like to understand, however, is this: isn't /usr/local/include added to the header dir list anyway, in https://github.com/python/cpython/blob/master/setup.py#L733 ? Because this is actually part of the reason we added this, that software was being previously found in /usr/local (due to the above, I think) that wasn't found automatically anymore on Apple Silicon, where we install in /opt/homebrew.

@mkoeppe
Copy link

mkoeppe commented Jan 7, 2021

isn't /usr/local/include added to the header dir list anyway, in https://github.com/python/cpython/blob/master/setup.py#L733 ?

Yes, this is automatically added when building Python itself, but this does not leak onto the sysconfig, which is the bug that the homebrew recipe introduces.

mkoeppe referenced this issue Jan 8, 2021
Closes #67892.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
@mkoeppe
Copy link

mkoeppe commented Jan 8, 2021

this makes homebrew's python fundamentally broken

There are 853,459 installs of this formula per month, and only two people apparently affected. So it certainly affects a very limited use case.

Looks like for Python 3.8 you only introduced the bug in #67892, a few days ago.

@mitchhentges
Copy link
Contributor Author

It is on purpose that we use CFLAGS and LDFLAGS in order to allow not only the Python build, but also the future python package installs to find our libraries.

Good point: fortunately, for the case of ensuring that future python package installs find our libraries - that's why you have distutils.cfg set up, I believe.

One thing I would like to understand, however, is this: isn't /usr/local/include added to the header dir list anyway, in https://github.com/python/cpython/blob/master/setup.py#L733 ?

My interpretation of that code is that /usr/local/include is being added to compiler.include_dirs of that compiler instance - the instance that is used when Python's native modules are built. That configuration doesn't apply to all compilers when they are created.

Also note: this problem could not be reproduced with Python 3.7 (which makes sense) and it looks like #67892 would've regressed and allowed it to be reproduced with Python 3.8, as mentioned by mkoeppe.


Thanks for continuing the investigation here. I'll submit a patch shortly :)

@BrewTestBot
Copy link
Member

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@BrewTestBot BrewTestBot added the stale No recent activity label Jan 30, 2021
@mkoeppe
Copy link

mkoeppe commented Jan 30, 2021

What's the status here?

@BrewTestBot BrewTestBot removed the stale No recent activity label Jan 30, 2021
@mitchhentges
Copy link
Contributor Author

I need this formula-patch landed so that I can unblock py3.7 support.

@carlocab
Copy link
Member

You don't need it merged to use it in the formula. Here's the URL you can use:

https://raw.githubusercontent.com/Homebrew/formula-patches/a66482dab37c0ce1ab6f90c594d75ce3bd469420/python/3.7.9.patch

@mitchhentges
Copy link
Contributor Author

mitchhentges commented Jan 30, 2021

Right, but once it's merged, we'd need to change the URL again, right?
I'm 🤷‍♂️ either way, I'll update the PR to use the patch Monday.

@carlocab
Copy link
Member

once it's merged, we'd need to change the URL again, right?

No, that URL is stable.

@mitchhentges
Copy link
Contributor Author

mitchhentges commented Jan 30, 2021

True, but the PR hasn't been reviewed/landed yet, so it might still change, in which case the patch link would be obsolete, right?

@carlocab
Copy link
Member

Yes. However, it's also hard to say anything about the patch without running it through CI too.

@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Mar 6, 2021
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Mar 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants
@BrewTestBot @fxcoudert @mitchhentges @mkoeppe @carlocab @whiteslack and others