Closed ghost closed 4 years ago
I'm also having a compile error. Were you ever able to figure this out?
make sure there is a build/bin directory with 777 permissions.
I was able to install after downloading your latest release - so I didn't need to build from source. Unfortunately it doesn't seem to be working... I start the service, and get:
user.info /usr/bin/hass-trackerd.sh: Starting up
but after that nothing happens... and if i try to restart or stop, it syas:
can't kill pid 3838: No such process
but I don't see any errors anywhere (or I just don't know where to look... checked logread and nothing is there). So it seems like it fails to start, at this point I'm throwing darts blindly...
But since my issue is not part of this issue, I'll stop there... if I can ever find an error message I will post it to a new issue to be investigated.
Thanks! DeadEnd
The latest release sadly has a bug, I still need to fix the bug. Sadly the build is not automated yet and takes a bit of effort.
On Sat, 19 Oct 2019, 04:25 DeadEnd, notifications@github.com wrote:
I was able to install after downloading your latest release - so I didn't need to build from source. Unfortunately it doesn't seem to be working... I start the service, and get:
user.info /usr/bin/hass-trackerd.sh: Starting up
but after that nothing happens... and if i try to restart or stop, it syas:
can't kill pid 3838: No such process
but I don't see any errors anywhere (or I just don't know where to look... checked logread and nothing is there). So it seems like it fails to start, at this point I'm throwing darts blindly...
But since my issue is not part of this issue, I'll stop there... if I can ever find an error message I will post it to a new issue to be investigated.
Thanks! DeadEnd
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mueslo/openwrt_hass_devicetracker/issues/24?email_source=notifications&email_token=AAGO7B4CMZU6M32O2FV37TLQPJVZBA5CNFSM4GPXQQFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBW2NJI#issuecomment-544056997, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGO7B4RMVQX7JICID5AGS3QPJVZBANCNFSM4GPXQQFA .
should work properly as of v0.1.4
dear, trying to compile give me the following error:
` docker-compose run pkgbuild Creating network "openwrt_hass_devicetracker_default" with the default driver Building pkgbuild Step 1/7 : FROM yhnw/openwrt-sdk:17.01-ar71xx 17.01-ar71xx: Pulling from yhnw/openwrt-sdk 6b98dfc16071: Pull complete 4001a1209541: Pull complete 6319fc68c576: Pull complete b24603670dc3: Pull complete 97f170c87c6f: Pull complete d008e1f20873: Pull complete 1e6d5e30efa7: Pull complete Digest: sha256:1ab1cec1c6056c0c22052514ff096f2a5fc3de1e6eb8c0b7ec7310bf4b6cb3b1 Status: Downloaded newer image for yhnw/openwrt-sdk:17.01-ar71xx ---> 6df9e49e6c7f Step 2/7 : USER openwrt ---> Running in ce7bedac2e3b Removing intermediate container ce7bedac2e3b ---> f9f6fcec5a89 Step 3/7 : WORKDIR /home/openwrt/sdk ---> Running in 2052980ff3d2 Removing intermediate container 2052980ff3d2 ---> 18aec086fe44 Step 4/7 : COPY build/.config /home/openwrt/sdk/.config ---> 1ec48693dd13 Step 5/7 : COPY packages/net/hass /home/openwrt/sdk/feeds/packages/net/hass ---> 8a4f67cb7e77 Step 6/7 : RUN ./scripts/feeds update -i && ./scripts/feeds install hass && make package/hass/compile -j3 ---> Running in 1a9b7d55bb6c Create index file './feeds/base.index' Create index file './feeds/packages.index'
Collecting package info: done
Create index file './feeds/luci.index' Create index file './feeds/routing.index'
Create index file './feeds/telephony.index'
Installing package 'hass' from packages
Installing package 'hostapd' from base
Installing package 'libnl-tiny' from base
Installing package 'ubus' from base
Installing package 'libubox' from base
Installing package 'libjson-c' from base
Installing package 'openssl' from base
Installing package 'zlib' from base
Installing package 'curl' from base
Installing package 'cyassl' from base
Installing package 'gettext' from base
Installing package 'libiconv' from base
Installing package 'gnutls' from packages
Installing package 'nettle' from base
Installing package 'gmp' from base
Installing package 'libtasn1' from packages
Installing package 'p11-kit' from packages
Installing package 'cryptodev-linux' from packages
Installing package 'mbedtls' from base
Installing package 'openldap' from packages
Installing package 'cyrus-sasl' from packages
Installing package 'libidn' from packages
Installing package 'libssh2' from packages
tmp/.config-package.in:7:warning: ignoring type redefinition of 'PACKAGE_busybox' from 'boolean' to 'tristate' tmp/.config-package.in:27:warning: ignoring type redefinition of 'PACKAGE_jsonfilter' from 'boolean' to 'tristate'
tmp/.config-package.in:71:warning: ignoring type redefinition of 'PACKAGE_libc' from 'boolean' to 'tristate'
tmp/.config-package.in:99:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'boolean' to 'tristate'
tmp/.config-package.in:156:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'boolean' to 'tristate'
tmp/.config-package.in:331:warning: ignoring type redefinition of 'PACKAGE_ubus' from 'boolean' to 'tristate'
tmp/.config-package.in:346:warning: ignoring type redefinition of 'PACKAGE_ubusd' from 'boolean' to 'tristate'
tmp/.config-package.in:449:warning: ignoring type redefinition of 'PACKAGE_lua' from 'boolean' to 'tristate'
tmp/.config-package.in:654:warning: ignoring type redefinition of 'PACKAGE_libblobmsg-json' from 'boolean' to 'tristate'
tmp/.config-package.in:777:warning: ignoring type redefinition of 'PACKAGE_libjson-c' from 'boolean' to 'tristate'
tmp/.config-package.in:790:warning: ignoring type redefinition of 'PACKAGE_liblua' from 'boolean' to 'tristate'
tmp/.config-package.in:838:warning: ignoring type redefinition of 'PACKAGE_libnl-tiny' from 'boolean' to 'tristate'
tmp/.config-package.in:925:warning: ignoring type redefinition of 'PACKAGE_libubox' from 'boolean' to 'tristate'
tmp/.config-package.in:951:warning: ignoring type redefinition of 'PACKAGE_libubus' from 'boolean' to 'tristate'
tmp/.config-package.in:964:warning: ignoring type redefinition of 'PACKAGE_libubus-lua' from 'boolean' to 'tristate'
tmp/.config-package.in:1117:warning: ignoring type redefinition of 'PACKAGE_hostapd-common' from 'boolean' to 'tristate'
tmp/.config-package.in:1305:warning: ignoring type redefinition of 'PACKAGE_wpad-mini' from 'boolean' to 'tristate'
tmp/.config-package.in:2067:warning: ignoring type redefinition of 'PACKAGE_jshn' from 'boolean' to 'tristate'
tmp/.config-package.in:2138:warning: ignoring type redefinition of 'PACKAGE_libjson-script' from 'boolean' to 'tristate'
#
configuration written to .config
# make[1] package/hass/compile make[2] -C package/toolchain compile make[2] -C feeds/base/package/libs/mbedtls compile make[2] -C feeds/base/package/libs/libjson-c compile make[2] -C feeds/base/package/utils/lua compile make[2] -C feeds/base/package/libs/libnl-tiny compile make[2] -C feeds/base/package/libs/libubox compile
make[2] -C feeds/base/package/network/utils/curl compile
make[2] -C feeds/base/package/system/ubus compile
make[2] -C feeds/base/package/network/services/hostapd compile
make[2] -C feeds/packages/net/hass compile Removing intermediate container 1a9b7d55bb6c
---> ba699bd9a9ae
Step 7/7 : CMD make package/hass/compile -j3
---> Running in d95a0d07e96a
Removing intermediate container d95a0d07e96a
---> dc33030353b4
Successfully built dc33030353b4
Successfully tagged openwrt_hass_devicetracker_pkgbuild:latest
WARNING: Image for service pkgbuild was built because it did not already exist. To rebuild this image you must use
docker-compose build
ordocker-compose up --build
.tmp/.config-package.in:7:warning: ignoring type redefinition of 'PACKAGE_busybox' from 'boolean' to 'tristate'
tmp/.config-package.in:27:warning: ignoring type redefinition of 'PACKAGE_jsonfilter' from 'boolean' to 'tristate' tmp/.config-package.in:71:warning: ignoring type redefinition of 'PACKAGE_libc' from 'boolean' to 'tristate' tmp/.config-package.in:99:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'boolean' to 'tristate' tmp/.config-package.in:156:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'boolean' to 'tristate' tmp/.config-package.in:331:warning: ignoring type redefinition of 'PACKAGE_ubus' from 'boolean' to 'tristate' tmp/.config-package.in:346:warning: ignoring type redefinition of 'PACKAGE_ubusd' from 'boolean' to 'tristate' tmp/.config-package.in:449:warning: ignoring type redefinition of 'PACKAGE_lua' from 'boolean' to 'tristate' tmp/.config-package.in:654:warning: ignoring type redefinition of 'PACKAGE_libblobmsg-json' from 'boolean' to 'tristate' tmp/.config-package.in:777:warning: ignoring type redefinition of 'PACKAGE_libjson-c' from 'boolean' to 'tristate' tmp/.config-package.in:790:warning: ignoring type redefinition of 'PACKAGE_liblua' from 'boolean' to 'tristate' tmp/.config-package.in:838:warning: ignoring type redefinition of 'PACKAGE_libnl-tiny' from 'boolean' to 'tristate' tmp/.config-package.in:925:warning: ignoring type redefinition of 'PACKAGE_libubox' from 'boolean' to 'tristate' tmp/.config-package.in:951:warning: ignoring type redefinition of 'PACKAGE_libubus' from 'boolean' to 'tristate' tmp/.config-package.in:964:warning: ignoring type redefinition of 'PACKAGE_libubus-lua' from 'boolean' to 'tristate' tmp/.config-package.in:1117:warning: ignoring type redefinition of 'PACKAGE_hostapd-common' from 'boolean' to 'tristate' tmp/.config-package.in:1305:warning: ignoring type redefinition of 'PACKAGE_wpad-mini' from 'boolean' to 'tristate' tmp/.config-package.in:2067:warning: ignoring type redefinition of 'PACKAGE_jshn' from 'boolean' to 'tristate' tmp/.config-package.in:2138:warning: ignoring type redefinition of 'PACKAGE_libjson-script' from 'boolean' to 'tristate' #
configuration written to .config
# make[1] package/hass/compile make[2] -C package/toolchain compile make -r package/hass/compile: build failed. Please re-run make with -j1 V=s to see what's going on /home/openwrt/sdk/include/toplevel.mk:191: recipe for target 'package/hass/compile' failed make: *** [package/hass/compile] Error 1 idallaserra@ariel:~/Hass/openwrt_hass_devicetracker$ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker$ ls build docker-compose.yml LICENSE packages README.md idallaserra@ariel:~/Hass/openwrt_hass_devicetracker$ cd packages/ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages$ ls net idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages$ cd net/ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages/net$ ls hass idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages/net$ cd hass/ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages/net/hass$ ls files Makefile idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages/net/hass$ cd files/ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages/net/hass/files$ ls functions.sh hass.conf hassd.sh hass.init push_event.sh idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages/net/hass/files$ cd .. idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages/net/hass$ cd .. idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages/net$ cd .. idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages$ vim /home/openwrt/sdk/include/toplevel.mk idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages$ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages$ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages$ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker/packages$ cd .. idallaserra@ariel:~/Hass/openwrt_hass_devicetracker$ ls build docker-compose.yml LICENSE packages README.md idallaserra@ariel:~/Hass/openwrt_hass_devicetracker$ cd .. idallaserra@ariel:~/Hass$ ls openwrt_hass_devicetracker idallaserra@ariel:~/Hass$ cd openwrt_hass_devicetracker/ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker$ ls build docker-compose.yml LICENSE packages README.md idallaserra@ariel:~/Hass/openwrt_hass_devicetracker$ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker$ idallaserra@ariel:~/Hass/openwrt_hass_devicetracker$ docker-compose run pkgbuild tmp/.config-package.in:7:warning: ignoring type redefinition of 'PACKAGE_busybox' from 'boolean' to 'tristate' tmp/.config-package.in:27:warning: ignoring type redefinition of 'PACKAGE_jsonfilter' from 'boolean' to 'tristate' tmp/.config-package.in:71:warning: ignoring type redefinition of 'PACKAGE_libc' from 'boolean' to 'tristate' tmp/.config-package.in:99:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'boolean' to 'tristate' tmp/.config-package.in:156:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'boolean' to 'tristate' tmp/.config-package.in:331:warning: ignoring type redefinition of 'PACKAGE_ubus' from 'boolean' to 'tristate' tmp/.config-package.in:346:warning: ignoring type redefinition of 'PACKAGE_ubusd' from 'boolean' to 'tristate' tmp/.config-package.in:449:warning: ignoring type redefinition of 'PACKAGE_lua' from 'boolean' to 'tristate' tmp/.config-package.in:654:warning: ignoring type redefinition of 'PACKAGE_libblobmsg-json' from 'boolean' to 'tristate' tmp/.config-package.in:777:warning: ignoring type redefinition of 'PACKAGE_libjson-c' from 'boolean' to 'tristate' tmp/.config-package.in:790:warning: ignoring type redefinition of 'PACKAGE_liblua' from 'boolean' to 'tristate' tmp/.config-package.in:838:warning: ignoring type redefinition of 'PACKAGE_libnl-tiny' from 'boolean' to 'tristate' tmp/.config-package.in:925:warning: ignoring type redefinition of 'PACKAGE_libubox' from 'boolean' to 'tristate' tmp/.config-package.in:951:warning: ignoring type redefinition of 'PACKAGE_libubus' from 'boolean' to 'tristate' tmp/.config-package.in:964:warning: ignoring type redefinition of 'PACKAGE_libubus-lua' from 'boolean' to 'tristate' tmp/.config-package.in:1117:warning: ignoring type redefinition of 'PACKAGE_hostapd-common' from 'boolean' to 'tristate' tmp/.config-package.in:1305:warning: ignoring type redefinition of 'PACKAGE_wpad-mini' from 'boolean' to 'tristate' tmp/.config-package.in:2067:warning: ignoring type redefinition of 'PACKAGE_jshn' from 'boolean' to 'tristate' tmp/.config-package.in:2138:warning: ignoring type redefinition of 'PACKAGE_libjson-script' from 'boolean' to 'tristate' #
configuration written to .config
# make[1] package/hass/compile make[2] -C package/toolchain compile make -r package/hass/compile: build failed. Please re-run make with -j1 V=s to see what's going on /home/openwrt/sdk/include/toplevel.mk:191: recipe for target 'package/hass/compile' failed make: *** [package/hass/compile] Error 1 `
How to solve? I am tring to compiling since the release ipk does not include the "Added support for long term tokens". Thanks,