Skip to content

Instantly share code, notes, and snippets.

@gijzelaerr
Created October 23, 2020 08:25
Show Gist options
  • Save gijzelaerr/57d58be34d9f98fb3dcc1e82242b6312 to your computer and use it in GitHub Desktop.
Save gijzelaerr/57d58be34d9f98fb3dcc1e82242b6312 to your computer and use it in GitHub Desktop.
$ which python3
/usr/bin/python3
$ python3 --version
Python 3.8.2
$ python3 -m venv venv
$ venv/bin/pip install --upgrade pip wheel
Collecting pip
Using cached https://files.pythonhosted.org/packages/cb/28/91f26bd088ce8e22169032100d4260614fc3da435025ff389ef1d396a433/pip-20.2.4-py2.py3-none-any.whl
Collecting wheel
Using cached https://files.pythonhosted.org/packages/a7/00/3df031b3ecd5444d572141321537080b40c1c25e1caa3d86cdd12e5e919c/wheel-0.35.1-py2.py3-none-any.whl
Installing collected packages: pip, wheel
Found existing installation: pip 19.2.3
Uninstalling pip-19.2.3:
Successfully uninstalled pip-19.2.3
Successfully installed pip-20.2.4 wheel-0.35.1
$ venv/bin/pip cache purge
Files removed: 33
$ venv/bin/pip install pycairo
Collecting pycairo
Using cached pycairo-1.20.0.tar.gz (344 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: pycairo
Building wheel for pycairo (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Users/gijs/Work/surfnet/python-eduvpn-client/venv/bin/python3 /Users/gijs/Work/surfnet/python-eduvpn-client/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/3x/3x7fz5857gbc0ygf80vy0cs00000gq/T/tmpea63xbvn
cwd: /private/var/folders/3x/3x7fz5857gbc0ygf80vy0cs00000gq/T/pip-install-vraj7n__/pycairo
Complete output (94 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.14.6-x86_64-3.8
creating build/lib.macosx-10.14.6-x86_64-3.8/cairo
copying cairo/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/cairo
copying cairo/__init__.pyi -> build/lib.macosx-10.14.6-x86_64-3.8/cairo
copying cairo/py.typed -> build/lib.macosx-10.14.6-x86_64-3.8/cairo
running build_ext
building 'cairo._cairo' extension
creating build/temp.macosx-10.14.6-x86_64-3.8
creating build/temp.macosx-10.14.6-x86_64-3.8/cairo
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/device.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/device.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/bufferproxy.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/bufferproxy.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/error.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/error.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/cairomodule.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/cairomodule.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/context.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/context.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/font.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/font.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/matrix.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/matrix.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/path.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/path.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/pattern.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/pattern.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/region.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/region.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/surface.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/surface.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/enums.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/enums.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/misc.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/misc.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/glyph.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/glyph.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/rectangle.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/rectangle.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/textcluster.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/textcluster.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=20 -DPYCAIRO_VERSION_MICRO=0 -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/cairo/1.16.0_3/include/cairo -I/usr/local/Cellar/glib/2.66.2_1/include -I/usr/local/Cellar/glib/2.66.2_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.66.2_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/Users/gijs/Work/surfnet/python-eduvpn-client/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c cairo/textextents.c -o build/temp.macosx-10.14.6-x86_64-3.8/cairo/textextents.o
xcrun -sdk macosx clang -arch arm64 -arch x86_64 -bundle -undefined dynamic_lookup -Wl,-headerpad,0x1000 build/temp.macosx-10.14.6-x86_64-3.8/cairo/device.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/bufferproxy.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/error.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/cairomodule.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/context.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/font.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/matrix.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/path.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/pattern.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/region.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/surface.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/enums.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/misc.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/glyph.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/rectangle.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/textcluster.o build/temp.macosx-10.14.6-x86_64-3.8/cairo/textextents.o -L/usr/local/Cellar/cairo/1.16.0_3/lib -lcairo -o build/lib.macosx-10.14.6-x86_64-3.8/cairo/_cairo.cpython-38-darwin.so
ld: warning: ignoring file /usr/local/Cellar/cairo/1.16.0_3/lib/libcairo.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: dylib (/usr/local/Cellar/cairo/1.16.0_3/lib/libcairo.dylib) was built for newer macOS version (10.15) than being linked (10.14.6)
installing to build/bdist.macosx-10.14.6-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.14.6-x86_64
creating build/bdist.macosx-10.14.6-x86_64/wheel
creating build/bdist.macosx-10.14.6-x86_64/wheel/cairo
copying build/lib.macosx-10.14.6-x86_64-3.8/cairo/_cairo.cpython-38-darwin.so -> build/bdist.macosx-10.14.6-x86_64/wheel/cairo
copying build/lib.macosx-10.14.6-x86_64-3.8/cairo/__init__.pyi -> build/bdist.macosx-10.14.6-x86_64/wheel/cairo
copying build/lib.macosx-10.14.6-x86_64-3.8/cairo/__init__.py -> build/bdist.macosx-10.14.6-x86_64/wheel/cairo
copying build/lib.macosx-10.14.6-x86_64-3.8/cairo/py.typed -> build/bdist.macosx-10.14.6-x86_64/wheel/cairo
running install_pkgconfig
Skipping install_pkgconfig, not supported with bdist_wheel
running install_pycairo_header
creating build/bdist.macosx-10.14.6-x86_64/wheel/cairo/include
copying cairo/pycairo.h -> build/bdist.macosx-10.14.6-x86_64/wheel/cairo/include/py3cairo.h
running install_egg_info
running egg_info
writing pycairo.egg-info/PKG-INFO
writing dependency_links to pycairo.egg-info/dependency_links.txt
writing top-level names to pycairo.egg-info/top_level.txt
reading manifest file 'pycairo.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no files found matching 'README' under directory 'tests'
warning: no files found matching 'README' under directory 'examples'
writing manifest file 'pycairo.egg-info/SOURCES.txt'
Copying pycairo.egg-info to build/bdist.macosx-10.14.6-x86_64/wheel/pycairo-1.20.0-py3.8.egg-info
running install_scripts
[WARNING] This wheel needs a higher macOS version than the version your Python interpreter is compiled against. To silence this warning, set MACOSX_DEPLOYMENT_TARGET to at least 11_0 or recreate these files with lower MACOSX_DEPLOYMENT_TARGET:
build/bdist.macosx-10.14.6-x86_64/wheel/cairo/_cairo.cpython-38-darwin.soTraceback (most recent call last):
File "/Users/gijs/Work/surfnet/python-eduvpn-client/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/Users/gijs/Work/surfnet/python-eduvpn-client/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/gijs/Work/surfnet/python-eduvpn-client/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 204, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/private/var/folders/3x/3x7fz5857gbc0ygf80vy0cs00000gq/T/pip-build-env-fi8rtdcl/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 216, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/private/var/folders/3x/3x7fz5857gbc0ygf80vy0cs00000gq/T/pip-build-env-fi8rtdcl/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 202, in _build_with_temp_dir
self.run_setup()
File "/private/var/folders/3x/3x7fz5857gbc0ygf80vy0cs00000gq/T/pip-build-env-fi8rtdcl/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 253, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/3x/3x7fz5857gbc0ygf80vy0cs00000gq/T/pip-build-env-fi8rtdcl/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 568, in <module>
main()
File "setup.py", line 535, in main
setup(
File "/private/var/folders/3x/3x7fz5857gbc0ygf80vy0cs00000gq/T/pip-build-env-fi8rtdcl/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/3x/3x7fz5857gbc0ygf80vy0cs00000gq/T/pip-build-env-fi8rtdcl/overlay/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 328, in run
impl_tag, abi_tag, plat_tag = self.get_tag()
File "/private/var/folders/3x/3x7fz5857gbc0ygf80vy0cs00000gq/T/pip-build-env-fi8rtdcl/overlay/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 278, in get_tag
assert tag in supported_tags, "would build wheel with unsupported tag {}".format(tag)
AssertionError: would build wheel with unsupported tag ('cp38', 'cp38', 'macosx_11_0_x86_64')
----------------------------------------
ERROR: Failed building wheel for pycairo
Failed to build pycairo
ERROR: Could not build wheels for pycairo which use PEP 517 and cannot be installed directly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment