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

hacs integration in home assistant. Is it possible? #4189

Closed
avol-io opened this issue Sep 24, 2020 · 4 comments · Fixed by #5478
Closed

hacs integration in home assistant. Is it possible? #4189

avol-io opened this issue Sep 24, 2020 · 4 comments · Fixed by #5478
Assignees
Labels
enhancement request to enhance existing package

Comments

@avol-io
Copy link

avol-io commented Sep 24, 2020

I tried to install https://github.com/hacs/integration in my home assitent but i get this errors:

2020-09-24 13:30:22 ERROR (SyncWorker_12) [homeassistant.util.package] Unable to install package aiogithubapi>=2.0.0<3.0.0: ERROR: Command errored out with exit status 1:
   command: /volume1/@appstore/homeassistant/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s91nlnaw/yarl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s91nlnaw/yarl/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 /tmp/pip-wheel-sl2tp_l1
       cwd: /tmp/pip-install-s91nlnaw/yarl/
  Complete output (37 lines):
  **********************
  * Accellerated build *
  **********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-3.7
  creating build/lib.linux-armv7l-3.7/yarl
  copying yarl/quoting.py -> build/lib.linux-armv7l-3.7/yarl
  copying yarl/__init__.py -> build/lib.linux-armv7l-3.7/yarl
  running egg_info
  writing yarl.egg-info/PKG-INFO
  writing dependency_links to yarl.egg-info/dependency_links.txt
  writing requirements to yarl.egg-info/requires.txt
  writing top-level names to yarl.egg-info/top_level.txt
  reading manifest file 'yarl.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.cache' found anywhere in distribution
  warning: no previously-included files found matching 'yarl/_quoting.html'
  warning: no previously-included files found matching 'yarl/_quoting.*.so'
  warning: no previously-included files found matching 'yarl/_quoting.pyd'
  warning: no previously-included files found matching 'yarl/_quoting.*.pyd'
  no previously-included directories found matching 'docs/_build'
  writing manifest file 'yarl.egg-info/SOURCES.txt'
  copying yarl/__init__.pyi -> build/lib.linux-armv7l-3.7/yarl
  copying yarl/_quoting.c -> build/lib.linux-armv7l-3.7/yarl
  copying yarl/_quoting.pyx -> build/lib.linux-armv7l-3.7/yarl
  copying yarl/py.typed -> build/lib.linux-armv7l-3.7/yarl
  running build_ext
  building 'yarl._quoting' extension
  creating build/temp.linux-armv7l-3.7
  creating build/temp.linux-armv7l-3.7/yarl
  /spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/include -I/spksrc/spk/python3/work-armv7-6.1/install//var/packages/python3/target/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L /spksrc/spk/python3/work-armv7-6.1/install/var/packages/python3/target/lib -I /spksrc/spk/python3/work-armv7-6.1/install/var/packages/python3/target/include -I/spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/include -I/spksrc/spk/python3/work-armv7-6.1/install//var/packages/python3/target/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L /spksrc/spk/python3/work-armv7-6.1/install/var/packages/python3/target/lib -I /spksrc/spk/python3/work-armv7-6.1/install/var/packages/python3/target/include -fPIC -I/volume1/@appstore/homeassistant/env/include -I/var/packages/python3/target/include/python3.7m -c yarl/_quoting.c -o build/temp.linux-armv7l-3.7/yarl/_quoting.o
  unable to execute '/spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc': No such file or directory
  error: command '/spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for yarl
    ERROR: Command errored out with exit status 1:
     command: /volume1/@appstore/homeassistant/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s91nlnaw/yarl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s91nlnaw/yarl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ra6tc_fp/install-record.txt --single-version-externally-managed --compile --install-headers /volume1/@appstore/homeassistant/env/include/site/python3.7/yarl
         cwd: /tmp/pip-install-s91nlnaw/yarl/
    Complete output (37 lines):
    **********************
    * Accellerated build *
    **********************
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-3.7
    creating build/lib.linux-armv7l-3.7/yarl
    copying yarl/quoting.py -> build/lib.linux-armv7l-3.7/yarl
    copying yarl/__init__.py -> build/lib.linux-armv7l-3.7/yarl
    running egg_info
    writing yarl.egg-info/PKG-INFO
    writing dependency_links to yarl.egg-info/dependency_links.txt
    writing requirements to yarl.egg-info/requires.txt
    writing top-level names to yarl.egg-info/top_level.txt
    reading manifest file 'yarl.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.cache' found anywhere in distribution
    warning: no previously-included files found matching 'yarl/_quoting.html'
    warning: no previously-included files found matching 'yarl/_quoting.*.so'
    warning: no previously-included files found matching 'yarl/_quoting.pyd'
    warning: no previously-included files found matching 'yarl/_quoting.*.pyd'
    no previously-included directories found matching 'docs/_build'
    writing manifest file 'yarl.egg-info/SOURCES.txt'
    copying yarl/__init__.pyi -> build/lib.linux-armv7l-3.7/yarl
    copying yarl/_quoting.c -> build/lib.linux-armv7l-3.7/yarl
    copying yarl/_quoting.pyx -> build/lib.linux-armv7l-3.7/yarl
    copying yarl/py.typed -> build/lib.linux-armv7l-3.7/yarl
    running build_ext
    building 'yarl._quoting' extension
    creating build/temp.linux-armv7l-3.7
    creating build/temp.linux-armv7l-3.7/yarl
    /spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/include -I/spksrc/spk/python3/work-armv7-6.1/install//var/packages/python3/target/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L /spksrc/spk/python3/work-armv7-6.1/install/var/packages/python3/target/lib -I /spksrc/spk/python3/work-armv7-6.1/install/var/packages/python3/target/include -I/spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/include -I/spksrc/spk/python3/work-armv7-6.1/install//var/packages/python3/target/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L /spksrc/spk/python3/work-armv7-6.1/install/var/packages/python3/target/lib -I /spksrc/spk/python3/work-armv7-6.1/install/var/packages/python3/target/include -fPIC -I/volume1/@appstore/homeassistant/env/include -I/var/packages/python3/target/include/python3.7m -c yarl/_quoting.c -o build/temp.linux-armv7l-3.7/yarl/_quoting.o
    unable to execute '/spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc': No such file or directory
    error: command '/spksrc/toolchains/syno-armv7-6.1/work/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /volume1/@appstore/homeassistant/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s91nlnaw/yarl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s91nlnaw/yarl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ra6tc_fp/install-record.txt --single-version-externally-managed --compile --install-headers /volume1/@appstore/homeassistant/env/include/site/python3.7/yarl Check the logs for full command output.
WARNING: You are using pip version 20.0.2; however, version 20.2.3 is available.
You should consider upgrading via the '/volume1/@appstore/homeassistant/env/bin/python -m pip install --upgrade pip' command.

Setup

Package Name: Home assistant
Package Version: 0.114.2-7

NAS Model: dj218j
NAS Architecture: Armada38x

I don't know if i need to upload (and from where) some other logs.

@avol-io avol-io changed the title hacs integration in home assistent. Is it possible? hacs integration in home assistant. Is it possible? Sep 24, 2020
@ymartin59 ymartin59 self-assigned this Oct 31, 2020
@hgy59
Copy link
Contributor

hgy59 commented Nov 24, 2020

@avol-io I don't know hacs, but this will work only for components that are pure python (i.e. no cross-compiling needed).
Is this the case for all custom elements that can be installed with HACS (home assistant community store)?

@hgy59 hgy59 added the enhancement request to enhance existing package label Dec 27, 2020
@Koky05
Copy link

Koky05 commented Aug 24, 2021

I successfully integrated custom components for LG Smart Thinqs in this HA Core 2021.1.5 but when I try to integrate HACS it wrote to me "You need at least version 2021.2.0 of Home Assistant to setup HACS.". So I am waiting for upgrade of HA Core for Synology with DSM 6.2 without docker and with CPU 88f628x.

@hgy59
Copy link
Contributor

hgy59 commented Aug 28, 2021

@Koky05 you can try the packages built with github build action of #4580.

@Forge36
Copy link

Forge36 commented Mar 21, 2022

I was able to install hacs today with version 1.19.3 following the instructions for "core" at https://hacs.xyz/docs/setup/download

I'm blocked from installinga package as there's a dependency home assistant 2021.12.0 . Depending on the package you're looking at this may be working today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement request to enhance existing package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants