antIggl / xrpl-unl-manager

Set of scripts to encode/decode and manage Unique Node Lists for XRPL networks.
ISC License
7 stars 5 forks source link

Building wheels for collected packages: cffi, daemon, cryptography fails #14

Open shortthefomo opened 1 year ago

shortthefomo commented 1 year ago

probably due to either my lack of experience in py or that im on a arm chip.

Building wheels for collected packages: cffi, daemon, cryptography
  Building wheel for cffi (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [65 lines of output]
      /opt/homebrew/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
      !!

              ********************************************************************************
              The license_file parameter is deprecated, use license_files instead.

              By 2023-Oct-30, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************

      !!
        parsed = self.parsers.get(option_name, lambda x: x)(value)
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-14-arm64-cpython-311
      creating build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/backend_ctypes.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/error.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/setuptools_ext.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/__init__.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/cffi_opcode.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/vengine_gen.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/pkgconfig.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/model.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/ffiplatform.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/api.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/vengine_cpy.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/commontypes.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/lock.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/recompiler.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/cparser.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/verifier.py -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/_cffi_include.h -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/parse_c_type.h -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/_embedding.h -> build/lib.macosx-14-arm64-cpython-311/cffi
      copying cffi/_cffi_errors.h -> build/lib.macosx-14-arm64-cpython-311/cffi
      running build_ext
      building '_cffi_backend' extension
      creating build/temp.macosx-14-arm64-cpython-311
      creating build/temp.macosx-14-arm64-cpython-311/c
      clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/ffi -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c c/_cffi_backend.c -o build/temp.macosx-14-arm64-cpython-311/c/_cffi_backend.o
      c/_cffi_backend.c:407:23: error: expression is not assignable
              Py_REFCNT(ct) = 43;
              ~~~~~~~~~~~~~ ^
      c/_cffi_backend.c:410:23: error: expression is not assignable
              Py_REFCNT(ct) = 0;
              ~~~~~~~~~~~~~ ^
      c/_cffi_backend.c:6185:5: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
          PyEval_InitThreads();
          ^
      /opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:132:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here
      Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      ^
      /opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      c/_cffi_backend.c:6245:9: error: call to undeclared function 'ffi_prep_closure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          if (ffi_prep_closure(closure, &cif_descr->cif,
              ^
      1 warning and 3 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cffi
  Running setup.py clean for cffi
  Building wheel for daemon (setup.py) ... done
  Created wheel for daemon: filename=daemon-1.2-py3-none-any.whl size=2736 sha256=1477a7c0e5fe78ff7437f19d7669fd672d9f2082db7d6cb1951730ab7dc7ea37
  Stored in directory: /Users/lathanbritz/Library/Caches/pip/wheels/ed/34/a4/2fabfaaba54893f44ac5481643459be8f1fc225e812367efe8
  Building wheel for cryptography (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cryptography (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [152 lines of output]