Home Assistant Installation on Asustor NAS

Hi All,

I’m hoping I could get some help here, I was following the guide stated in another topic in this same forum here, Make Home Assistant autostart on ASUSTOR

However, I’m getting the following when trying to upgrade home assistant. I have followed step by step, and I have no issues with the other steps except for this.

Collecting cryptography==2.7 (from homeassistant)
  Using cached  ://files.pythonhosted.org/packages/c2/95/f43d02315f4ec074219c6e3124a87eba1d2d12196c2767fadfdc07a83884/cryptography-2.7.tar.gz
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /volume1/homeassistant/python3 /volume1/.@plugins/AppCentral/python3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /volume1y --no-warn-script-location --no-binary :none: --only-binary :none: -i  ://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; python_implementation
       cwd: None
  Complete output (67 lines):
  Collecting setuptools>=40.6.0
    Using cached  ://files.pythonhosted.org/packages/b2/86/095d2f7829badc207c893dd4ac767e871f6cd547145df797ea26baea4e2e/setuptools-41.2.0-py2.py3-none-any.whl
  Collecting wheel
    Using cached files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
  Collecting cffi!=1.11.3,>=1.8
    Using cached  ://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz
  Collecting pycparser (from cffi!=1.11.3,>=1.8)
    Using cached  ://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
  Installing collected packages: setuptools, wheel, pycparser, cffi
    Running setup.py install for pycparser: started
      Running setup.py install for pycparser: finished with status 'done'
    Running setup.py install for cffi: started
      Running setup.py install for cffi: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: /volume1/homeassistant/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/volume1/.@plugins/AppCentral/entware-ng/opt/tmp/pip-installral/entware-ng/opt/tmp/pip-install-rpnwj_jo/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');ord /volume1/.@plugins/AppCentral/entware-ng/opt/tmp/pip-record-_qn6cj22/install-record.txt --single-version-externally-managed --prefix /volume1/.@plugins/AppCentral/
           cwd: /volume1/.@plugins/AppCentral/entware-ng/opt/tmp/pip-install-rpnwj_jo/cffi/
      Complete output (48 lines):
      unable to execute 'arm-marvell-linux-gnueabi-gcc': No such file or directory
      unable to execute 'arm-marvell-linux-gnueabi-gcc': No such file or directory

          No working compiler found, or bogus compiler options passed to
          the compiler from Python's standard "distutils" module.  See
          the error messages above.  Likely, the problem is not related
          to CFFI but generic to the setup.py of any Python package that
          tries to compile C code.  (Hints: on OS/X 10.8, for errors about
          -mno-fused-madd see stackoverflow.com/questions/22313407/
          Otherwise, see wiki.python.org/moin/CompLangPython or
          the IRC channel #python on irc.freenode.net.)

          Trying to continue anyway.  If you are trying to install CFFI from
          a build done in a different context, you can ignore this warning.

      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-3.7
      creating build/lib.linux-armv7l-3.7/cffi
      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
      running build_ext
      building '_cffi_backend' extension
      creating build/temp.linux-armv7l-3.7
      creating build/temp.linux-armv7l-3.7/c
      arm-marvell-linux-gnueabi-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/AS10XX/arm/staging/usr/include -I/AS10XX/arm/staging/usr/builtinusr/include/ffi -I/usr/include/libffi -I/volume1/.@plugins/AppCentral/python3/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
      unable to execute 'arm-marvell-linux-gnueabi-gcc': No such file or directory
      error: command 'arm-marvell-linux-gnueabi-gcc' failed with exit status 1
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /volume1/homeassistant/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/volume1/.@plugins/AppCentr_='"'"'/volume1/.@plugins/AppCentral/entware-ng/opt/tmp/pip-install-rpnwj_jo/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().repla, '"'"'exec'"'"'))' install --record /volume1/.@plugins/AppCentral/entware-ng/opt/tmp/pip-record-_qn6cj22/install-record.txt --single-version-externally-managed --prefblz9/overlay --compile Check the logs for full command output.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /volume1/homeassistant/python3 /volume1/.@plugins/AppCentral/python3/lib/python3.7/site-packages/pip install --ignore-int/tmp/pip-build-env-1zbtblz9/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i  ://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=for full command output.

Anyone can point me to the right direction?

Thank you.

Very similar error here, but with a different Processor architecture. have you figured out anything so far?

I gave up. I installed via Docker instead. Works well now.