cold-breakfast-93567
06/08/2021, 6:24 PMhappy-kitchen-89482
06/08/2021, 8:53 PMcold-breakfast-93567
06/08/2021, 9:27 PMcold-breakfast-93567
06/08/2021, 9:28 PMcold-breakfast-93567
06/08/2021, 9:28 PMhappy-kitchen-89482
06/08/2021, 9:58 PMcold-breakfast-93567
06/09/2021, 10:21 PMcold-breakfast-93567
06/09/2021, 10:22 PMcold-breakfast-93567
06/09/2021, 10:24 PMpsutil
and python-sasl
here and there to ensure that it Big Sur compatible (even the C POSIX API diverged in the meantime on mac).cold-breakfast-93567
06/09/2021, 10:24 PMcold-breakfast-93567
06/09/2021, 10:30 PMpants
into picking up my locally build pants, but unfortunately in the case of C hacked packages it tries to rebuild it from source (which is not patched) so it fails.cold-breakfast-93567
06/09/2021, 10:30 PMcold-breakfast-93567
06/09/2021, 10:31 PMcold-breakfast-93567
06/09/2021, 10:35 PMpsutil
which I don't have among my pre-built wheels (yet). Ah, let me build one. If this surgery ever be successful I will be surprised 🙂cold-breakfast-93567
06/09/2021, 10:54 PM[WheelPackage(u'file:///Users/rormandi/src/data-processing/wheelhouse/psutil-4.4.2-cp27-cp27m-macosx_11_2_x86_64.whl'), SourcePackage(u'<https://artifactory.url.com/artifactory/api/pypi/pypi/packages/packages/6c/49/0f784a247868e167389f6ac76b8699b2f3d6f4e8e85685dfec43e58d1ed1/psutil-4.4.2.tar.gz#sha256=1c37e6428f7fe3aeea607f9249986d9bb933bb98133c7919837fd9aac4996b07'),...>]
cold-breakfast-93567
06/09/2021, 10:56 PM**** Failed to install psutil-4.4.2 (caused by: NonZeroExit("received exit code 1 during execution of `[u'/Users/rormandi/.pyenv/versions/2.7.16/envs/data-processing-env/bin/python', '-', 'bdist_wheel', '--dist-dir=/var/folders/f6/msrc3w_903vb9clkzfzhnrnh0000gq/T/tmpQtpUEI']` while trying to execute `[u'/Users/rormandi/.pyenv/versions/2.7.16/envs/data-processing-env/bin/python', '-', 'bdist_wheel', '--dist-dir=/var/folders/f6/msrc3w_903vb9clkzfzhnrnh0000gq/T/tmpQtpUEI']`",)
):
stdout:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.2-x86_64-2.7
creating build/lib.macosx-11.2-x86_64-2.7/psutil
copying psutil/_pswindows.py -> build/lib.macosx-11.2-x86_64-2.7/psutil
copying psutil/_common.py -> build/lib.macosx-11.2-x86_64-2.7/psutil
copying psutil/__init__.py -> build/lib.macosx-11.2-x86_64-2.7/psutil
copying psutil/_psosx.py -> build/lib.macosx-11.2-x86_64-2.7/psutil
copying psutil/_psbsd.py -> build/lib.macosx-11.2-x86_64-2.7/psutil
copying psutil/_pslinux.py -> build/lib.macosx-11.2-x86_64-2.7/psutil
copying psutil/_compat.py -> build/lib.macosx-11.2-x86_64-2.7/psutil
copying psutil/_psposix.py -> build/lib.macosx-11.2-x86_64-2.7/psutil
copying psutil/_pssunos.py -> build/lib.macosx-11.2-x86_64-2.7/psutil
creating build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/runner.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/__init__.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_process.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_system.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_memory_leaks.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.macosx-11.2-x86_64-2.7/psutil/tests
running build_ext
building 'psutil._psutil_osx' extension
creating build/temp.macosx-11.2-x86_64-2.7
creating build/temp.macosx-11.2-x86_64-2.7/psutil
creating build/temp.macosx-11.2-x86_64-2.7/psutil/arch
creating build/temp.macosx-11.2-x86_64-2.7/psutil/arch/osx
clang -fno-strict-aliasing -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/libffi/include -I/usr/local/opt/openssl/include -I/usr/local/opt/mysql@5.7/include/ -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=442 -DPSUTIL_OSX=1 -I/Users/rormandi/.pyenv/versions/2.7.16/envs/data-processing-env/include/python2.7 -c psutil/_psutil_osx.c -o build/temp.macosx-11.2-x86_64-2.7/psutil/_psutil_osx.o
stderr:
psutil/_psutil_osx.c:304:20: error: implicit declaration of function 'getpagesize' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
int pagesize = getpagesize();
^
psutil/_psutil_osx.c:719:20: error: implicit declaration of function 'getpagesize' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
int pagesize = getpagesize();
^
psutil/_psutil_osx.c:759:20: error: implicit declaration of function 'getpagesize' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
int pagesize = getpagesize();
^
3 errors generated.
error: command 'clang' failed with exit status 1
cold-breakfast-93567
06/09/2021, 10:57 PMpants
to use the pre-built wheel package as opposed to the source package?cold-breakfast-93567
06/09/2021, 11:04 PMcold-breakfast-93567
06/09/2021, 11:05 PMcold-breakfast-93567
06/09/2021, 11:05 PMenough-analyst-54434
06/10/2021, 2:17 PM