26 (edytowany przez batorencjusz 2019-12-11 09:38:49)

Odp: Domoticz i wersja openwrt kilka pytań.

co zrobiłem:

cd~
mkdir 1907
cd 1907
git clone https://github.com/openwrt/openwrt.git
cd openwrt
git fetch --tags
git checkout v19.07.0-rc2
make package/symlinks
wget http://dl.eko.one.pl/luci/openwrt-19.07/ath79/generic/config.buildinfo.usb
mv config.buildinfo.usb .config
make menuconfig -----> tutaj odznaczyłem sobie w kernel modules->wireless drivers -> kmod ath10k-> Enable thermal sensors and throttling support  bo kompilacja sie wysypywała
zapisałęm config
make 

Jak już się skompilował sam system zabrałem się za paczkę domoticza czyli w katalogu feeds/packages/utils/domoticz/makefile
zmieniłem

PKG_VERSION_PATCH:=PKG_VERSION_PATCH:=10717

i

PKG_HASH:=c053a2161942529f56b748945ec297dcd67f449e68029fc886893a528891ad86

następnie usunąłem wszystko co się dało z patches (pierwotnie był tam jeden patch -010-boost-170-fix)

i kompilacja stoji na błędzie:

fatal: not a git repository: './.git'
-- Failed to get ProjectRevision from git
-- Read ProjectRevision from appversion.default
-- ###########################
-- Compiling Revision #10717
-- ###########################
-- Found mosquittopp.h at: /1907/openwrt/staging_dir/target-mips_24kc_musl/usr/include
-- Found libmosquittopp at: /1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libmosquittopp.so
-- Python3 includes found at: /1907/openwrt/staging_dir/target-mips_24kc_musl/usr/include/python3.7
-- Building with I2C support
-- Building with SPI support
-- OPENSSL_LIBRARIES: /1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libssl.so;/1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcrypto.so
CMake Warning at /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:579 (find_package)


CMake Warning at /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:579 (find_package)


CMake Warning at /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:579 (find_package)


CMake Warning at /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:579 (find_package)


CMake Warning at /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:579 (find_package)


CMake Error at /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Boost (missing: thread system) (found version "1.71.0")
Call Stack (most recent call first):
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /1907/openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:2142 (find_package_handle_standard_args)
  CMakeLists.txt:579 (find_package)


-- Configuring incomplete, errors occurred!
See also "/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.10717/CMakeFiles/CMakeOutput.log".
See also "/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.10717/CMakeFiles/CMakeError.log".
Makefile:138: recipe for target '/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.10717/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
make[2]: *** [/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.10717/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/1907/openwrt/feeds/packages/utils/domoticz'
time: package/feeds/packages/domoticz/compile#0.22#0.06#0.28
package/Makefile:111: recipe for target 'package/feeds/packages/domoticz/compile' failed
make[1]: *** [package/feeds/packages/domoticz/compile] Error 2
make[1]: Leaving directory '/1907/openwrt'
/1907/openwrt/include/toplevel.mk:225: recipe for target 'package/domoticz/compile' failed
make: *** [package/domoticz/compile] Error 2

możę coś z tym releasem 19.07.0-rc2 jest nie tak choć jako stabilny powinien być wporządku hmm
w jaki sposób skomilować snapshot?

edit.
Dzisiaj spróbowałem to zrobić na nowo, skompilowałem czyste środowisko i bez ruszania plików pakietu spróbowałem go skompilować. NA 18.06 kończę z błędami:

fatal: not a git repository: './.git'
-- Failed to get ProjectRevision from git
-- Read ProjectRevision from appversion.default
-- ###########################
-- Compiling Revision #9700
-- ###########################
-- Found mosquittopp.h at: /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include
-- Found libmosquittopp at: /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libmosquittopp.so
-- Python3 includes found at: /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include/python3.6
-- Building with I2C support
-- Building with SPI support
-- OPENSSL_LIBRARIES: /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libssl.so;/1806/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcrypto.so
CMake Warning at /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:839 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:573 (find_package)


CMake Warning at /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:839 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:573 (find_package)


CMake Warning at /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:839 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:573 (find_package)


CMake Warning at /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:839 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:573 (find_package)


CMake Warning at /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:839 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
  /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:573 (find_package)


CMake Error at /1806/openwrt/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:2044 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.68.0

  Boost include path:
  /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include


  Could not find the following Boost libraries:

          boost_thread
          boost_system

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:573 (find_package)


-- Linking against boost dynamic libraries
-- ZLIB libraries found at: /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libz.so
-- ZLIB includes found at: /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include
-- Curl libraries found at: /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcurl.so
-- Curl includes found at: /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include
-- ==== OpenZWave package found!
-- /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libopenzwave.so
-- /1806/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libopenzwave.so
-- GPIO is available
-- Not found telldus-core (telldus-core.h), not adding tellstick support
/1806/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/bin/mips-openwrt-linux-musl-g++  ;-Os;-pipe;-mno-branch-likely;-mips32r2;-mtune=24kc;-fno-caller-saves;-fno-plt;-fhonour-copts;-Wno-error=unused-but-set-variable;-Wno-error=unused-result;-msoft-float;-iremap/1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700:domoticz-4.9700;-Wformat;-Werror=format-security;-fstack-protector;-D_FORTIFY_SOURCE=1;;;-flto;-DWITH_GPIO;-flto;-std=c++11;-DNDEBUG;-I/1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include;-I/1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include;-I/1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include/python3.6;-I/1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/main;-I/1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/tinyxpath;-I/1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include;-I/1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include;-I/1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include;-I/1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/zip;-I/1806/openwrt/staging_dir/target-mips_24kc_musl/usr/include;-I/1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/hardware/openzwave;-DWITH_EXTERNAL_SQLITE;-DENABLE_PYTHON;-DHAVE_LINUX_I2C;-DHAVE_LINUX_SPI;-DIS_BIG_ENDIAN;-DWWW_ENABLE_SSL;-DWITH_OPENZWAVE;-DWITH_GPIO -x c++-header -o /1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/stdafx.h.gch/.c++ /1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/main/stdafx.h
-- Using dynamic libgcc_s/libstdc++
-- Configuring incomplete, errors occurred!
See also "/1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/CMakeFiles/CMakeOutput.log".
See also "/1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/CMakeFiles/CMakeError.log".
Makefile:136: recipe for target '/1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
make[2]: *** [/1806/openwrt/build_dir/target-mips_24kc_musl/domoticz-4.9700/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/1806/openwrt/feeds/packages/utils/domoticz'
time: package/feeds/packages/domoticz/compile#0.22#0.03#0.25
package/Makefile:111: recipe for target 'package/feeds/packages/domoticz/compile' failed
make[1]: *** [package/feeds/packages/domoticz/compile] Error 2
make[1]: Leaving directory '/1806/openwrt'
Build failed - please re-run with -j1 to see the real error message
/1806/openwrt/include/toplevel.mk:216: recipe for target 'package/domoticz/compile' failed
make: *** [package/domoticz/compile] Error 1
Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

27 (edytowany przez kofec 2019-12-11 09:43:50)

Odp: Domoticz i wersja openwrt kilka pytań.

Możliwe ze masz to issue:
https://github.com/domoticz/domoticz/issues/3351
W tym linku jest rozwiązanie.
A tu masz jak stworzyć patch:
https://oldwiki.archive.openwrt.org/doc/devel/patches
Jakbyś miał problemy to pisz. Albo spróbuj skompilować najnowsza wersje Beta. Nie wiem czemu chcesz stable, która jest kiepska wersja stable.

28

Odp: Domoticz i wersja openwrt kilka pytań.

Stworzenie patcha już mnie przerosło sad
te wersję beta które skompilowałeś mi do tej pory maja jakiś problem z zawieszającym sie dostępem do logów czyszczenie cache bądź tryb icognito nie rozwiązywały problemów. Widzę że ostatnia beta sie nie zmienia od 2 dni spróbuję ją ogarnąc.

Posiedziałem nad tym jeszcze wkońcu domyślna paczka powinna się skompilować.
Skompilowałem sobie od nowa srodowisko 19.07.0-rc2 ale tym razem przy kompilacji dorzuciłem boost z dodatkiem thread i system.
Teraz kompilacja standardowej paczki 4.970 poszła od ręki bez błędów
Takżę znowu w makefile zmieniłem wersję na obecną bete ale tu kończę z kolejnym nowym błędem ręce mnie już opadają

+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://github.com/domoticz/domoticz/archive/4.11563/domoticz-4.11563.tar.gz/domoticz-4.11563.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   167    0   167    0     0    339      0 --:--:-- --:--:-- --:--:--   338
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.openwrt.org/domoticz-4.11563.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://mirror2.openwrt.org/sources/domoticz-4.11563.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL return 
Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

29

Odp: Domoticz i wersja openwrt kilka pytań.

Niema takiego archiwum jak pobierasz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

30 (edytowany przez kofec 2019-12-11 13:44:54)

Odp: Domoticz i wersja openwrt kilka pytań.

Prawie dobrze robisz. Zmieniasz PKG_VERSION_PATCH:=10717 na cos tam ale nie ma takiego realese'u(bo nie ma - https://github.com/domoticz/domoticz/releases).
Ale masz sekcje "PKG_COMMIT:=", ktora masz zapewne obecnie pusta.
Ostatni commit domoticz to:
https://github.com/domoticz/domoticz/co … 209a29700e
i tam wklejasz ten "id" czyli otrzymujesz:
PKG_COMMIT:=d5e8a14bfdd5a60e1d3ff944dbed01209a29700e
później zgłosi Ci ze zły masz hash ale log poda Ci jaki jest poprawny dla obecnego plik wiec będzie łatwo go poprawić

31 (edytowany przez batorencjusz 2019-12-11 20:21:30)

Odp: Domoticz i wersja openwrt kilka pytań.

ok chyba już wszystko kumam.

include $(TOPDIR)/rules.mk

PKG_NAME:=domoticz
PKG_VERSION_MAJOR:=4
PKG_VERSION_PATCH:=10717
PKG_COMMIT:=d5e8a14bfdd5a60e1d3ff944dbed01209a29700e
PKG_VERSION:=$(PKG_VERSION_MAJOR).$(PKG_VERSION_PATCH)
PKG_RELEASE:=1

ifeq ($(PKG_COMMIT),)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/domoticz/domoticz/archive/$(PKG_VERSION)/$(PKG_SOURCE)
else
PKG_SOURCE:=$(PKG_NAME)-$(PKG_COMMIT).tar.gz
PKG_SOURCE_URL:=https://github.com/domoticz/domoticz/archive/$(PKG_COMMIT)/$(PKG_SOURCE)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_COMMIT)
endif
PKG_HASH:=c053a2161942529f56b748945ec297dcd67f449e68029fc886893a528891ad86

tylko niestety kończy się to błędem hmm

[ ! -d ./src/ ] || cp -fpR ./src/. /1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e
# Fix APPVERSION/APPDATE since we don't build from a git tree
sed -i 's/#define APPVERSION.*/#define APPVERSION 10717/' /1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e/appversion.default
sed: can't read /1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e/appversion.default: No such file or directory
Makefile:137: recipe for target '/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e/.prepared_d2e575b8a288bbb7ced38e8d90392955_6664517399ebbbc92a37c5bb081b5c53' failed
make[2]: *** [/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e/.prepared_d2e575b8a288bbb7ced38e8d90392955_6664517399ebbbc92a37c5bb081b5c53] Error 2
make[2]: Leaving directory '/1907/openwrt/feeds/packages/utils/domoticz'
time: package/feeds/packages/domoticz/compile#0.70#0.17#0.71
package/Makefile:111: recipe for target 'package/feeds/packages/domoticz/compile' failed
make[1]: *** [package/feeds/packages/domoticz/compile] Error 2
make[1]: Leaving directory '/1907/openwrt'
/1907/openwrt/include/toplevel.mk:225: recipe for target 'package/domoticz/compile' failed
make: *** [package/domoticz/compile] Error 2

jak usunę commit to kompilacja dobiega do końca ale yikes za cholerę nie mogę znaleźć paczki a błędów brak sad

Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

32

Odp: Domoticz i wersja openwrt kilka pytań.

albo porównaj sobie z moim Makefile albo zrób sobie kopie swojego i podmień na mój. Wydaje mi się ze rozwiązałem ten problem

33 (edytowany przez batorencjusz 2019-12-11 23:30:22)

Odp: Domoticz i wersja openwrt kilka pytań.

skopiowałem całą zawartość makefile od ciebie i zmieniłem :
PKG_VERSION_PATCH:=11563
PKG_COMMIT:=d5e8a14bfdd5a60e1d3ff944dbed01209a29700e

ale nie poszło czepiało sie boost i date_time

dokompilowałem do środowiska i poszło nie pytając o hash?

teraz nie mogę tylko znaleźć paczki hmm  powinna być w bin ale nie ma hmm

dla pełnej analizy wrzucam cały log z budowania paczki
http://www.mediafire.com/file/2fp1i0ebz … z_log/file

brakuje mi już pomysłow i chyba pozostane na 4.9700 dopóki nie zostanie w repo podniesiony hmm

Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

34

Odp: Domoticz i wersja openwrt kilka pytań.

Nie wiem może spróbuj domoticza co ja używam.
http://www.mediafire.com/file/bzagwap5u … ng.7z/file
Tylko zmieniłem nazwę pakietu na domoticz-ng by nie było konfliktu z pakietem który jest w feedsach.
Ja bez problemu to kompiluje.

35

Odp: Domoticz i wersja openwrt kilka pytań.

to jest najnowsza beta 11563?
spróbuję jutro to zaktualizować na najnowszym snpashocie od cezarego dam znąć.

Sam już nie wiem co jest nie tak a widzę że sporo sie pozmieniało hmm

Powiedz mi jeśli korzystasz z najnowszej bety po aktualizacjach logi w czujnikach działają ci bez problemu?
Czy w najnowszej kompilacji dodali możliwość zmiany ikon dla czujników użytkowych?
czy aktualizujesz paczkę na istniejącym systemie czy za każdym razem podnosisz wersje systemu?

Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

36

Odp: Domoticz i wersja openwrt kilka pytań.

Jest to jeden z nowszych commitów. Nie wiem o które czujniki tobie chodzi, ale logi z przełączników oraz wykresy temperatur działają. Ja mam WRT32X więc domoticza kompiluje od razu w obraz i cały czas używam wersji rozwojowej openwrt. Można zmienić ikony w czujnikach użytkowych. Wybór z listy niestety.

37 (edytowany przez batorencjusz 2019-12-12 01:46:34)

Odp: Domoticz i wersja openwrt kilka pytań.

Dzięki steel_rat za pliki spróbowałem to skompilować i

[ 99%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_stream.cpp.o
[ 99%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_stack.cpp.o
[100%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_static.cpp.o
[100%] Building CXX object CMakeFiles/domoticz.dir/tinyxpath/xpath_syntax.cpp.o
[100%] Linking CXX executable domoticz
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans4.ltrans.o: in function `COpenZWaveControlPanel::web_get_values(int, TiXmlElement*)':
<artificial>:(.text+0x1b72c): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x1b908): undefined reference to `OpenZWave::Manager::GetValueHelp[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans4.ltrans.o: in function `COpenZWaveControlPanel::DoSceneCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
<artificial>:(.text+0x1d0ec): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o: in function `COpenZWave::GetValueByCommandClass(unsigned char, unsigned char, unsigned char, OpenZWave::ValueID&)':
<artificial>:(.text+0x1528): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o: in function `COpenZWave::UpdateNodeEvent(OpenZWave::ValueID const&, int)':
<artificial>:(.text+0x6b0c): undefined reference to `OpenZWave::Manager::IsValueValid(OpenZWave::ValueID const&)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x6b74): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o: in function `COpenZWave::SwitchLight(ZWaveBase::_tZWaveDevice*, int, int)':
<artificial>:(.text+0x7cf8): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o: in function `COpenZWave::EnableDisableDebug()':
<artificial>:(.text+0x8244): undefined reference to `OpenZWave::Options::Get()'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x8274): undefined reference to `OpenZWave::Options::Get()'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x82a4): undefined reference to `OpenZWave::Options::Get()'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x82d4): undefined reference to `OpenZWave::Options::Get()'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x8304): undefined reference to `OpenZWave::Options::Get()'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o:<artificial>:(.text+0x8334): more undefined references to `OpenZWave::Options::Get()' follow
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o: in function `COpenZWave::AddValue(COpenZWave::NodeInfo*, OpenZWave::ValueID const&)':
<artificial>:(.text+0xfcb4): undefined reference to `OpenZWave::Manager::IsValueValid(OpenZWave::ValueID const&)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0xfd1c): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o: in function `COpenZWave::UpdateValue(COpenZWave::NodeInfo*, OpenZWave::ValueID const&)':
<artificial>:(.text+0x1184c): undefined reference to `OpenZWave::Manager::IsValueValid(OpenZWave::ValueID const&)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x11894): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o: in function `COpenZWave::GetNodeValuesJson(unsigned int, unsigned char, Json::Value&, int)':
<artificial>:(.text+0x15548): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x15588): undefined reference to `OpenZWave::Manager::GetValueHelp[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x157c0): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x158f8): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: <artificial>:(.text+0x1591c): undefined reference to `OpenZWave::Manager::GetValueHelp[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o: in function `COpenZWave::EnableNodePoll(unsigned int, unsigned char, int)':
<artificial>:(.text+0x168f0): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /1907/openwrt/tmp/ccuU8JyB.ltrans10.ltrans.o: in function `COpenZWave::ApplyNodeConfig(unsigned int, unsigned char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
<artificial>:(.text+0x192a0): undefined reference to `OpenZWave::Manager::GetValueLabel[abi:cxx11](OpenZWave::ValueID const&, int)'
collect2: error: ld returned 1 exit status
CMakeFiles/domoticz.dir/build.make:3688: recipe for target 'domoticz' failed
make[5]: *** [domoticz] Error 1
make[5]: Leaving directory '/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e'
CMakeFiles/Makefile2:90: recipe for target 'CMakeFiles/domoticz.dir/all' failed
make[4]: *** [CMakeFiles/domoticz.dir/all] Error 2
make[4]: Leaving directory '/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e'
Makefile:151: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e'
Makefile:139: recipe for target '/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e/.built' failed
make[2]: *** [/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-d5e8a14bfdd5a60e1d3ff944dbed01209a29700e/.built] Error 2
make[2]: Leaving directory '/1907/openwrt/feeds/packages/utils/domoticz'
time: package/feeds/packages/domoticz/compile#1018.88#76.00#1133.01
package/Makefile:111: recipe for target 'package/feeds/packages/domoticz/compile' failed
make[1]: *** [package/feeds/packages/domoticz/compile] Error 2
make[1]: Leaving directory '/1907/openwrt'
/1907/openwrt/include/toplevel.mk:225: recipe for target 'package/domoticz/compile' failed
make: *** [package/domoticz/compile] Error 2

nie wiem co jest nie tak z tą kompilacją hmm Próbuje to zbudować na defacto 3 różnych systemach aby nie truć co chwile ale nie same błędy hmm

Kofec Jeśli mółgbym cię prosić o stworzenie paczki  Version  V4.11563 Commit d5e8a14bf Date 20191209 to po raz ostatni spróbuję to wgrać na czysto z nadzieją że logi z czujników będą działały bez problemu. Możesz skompilować samą paczkę spróbuję to wgrać na bulid cezarego OpenWrt 19.07-SNAPSHOT r10731-e68d589e7b . Bo nawet jak skompilowałem 19.07.0-rc2 to przy tworzeniu exroota już się czepał o zależności do pakietów hmm

Takżę Panowie dziękuję bardzo za pomoc i zarazem przepraszam za zajmowanie czasu hmm Jeśli kiedyś będziecie w Łodzi i czas pozwoli na piwo to ZAPRASZAM

Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

38

Odp: Domoticz i wersja openwrt kilka pytań.

Byłeś już bardzo blisko. Nie masz zaznaczonego tylko domoticz jako "m" w config (make menuconfig). Dlatego kompiluje ale nie tworzy ostatecznego pakietu.

39

Odp: Domoticz i wersja openwrt kilka pytań.

Przywróciłem makefile od ciebie, poprawiłęm kompiluje sie bez problemu ale za chiny ludowe nie moge znaleźć domoticza w menuconfig.

Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

40

Odp: Domoticz i wersja openwrt kilka pytań.

Ja domoticza szukałem z 4 dni zanim go znalazłem. Wybierz najpierw pakiet "libmosquitto" to pojawi się domoticz.

41

Odp: Domoticz i wersja openwrt kilka pytań.

yikes yikes yikes yikes
Na to to ja bym chyba przez rok nie wpadł yikes

Podziękował paczka zrobiona pod wieczór przetestuje smile

Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

42

Odp: Domoticz i wersja openwrt kilka pytań.

zaktualizowałem potestowałem i tak:

1) z poziomu planu pomieszczeń po kliknięciu w czujniki motherboard_sensor nie wczytuje niczego, po zbadaniu elementu okazuję się że trzyma w pamięci ostatni użyty czujnik z pozostałych dostępnych i przez to wywołanie sie rozjeżdza. pozostałe czujniki działają ok.
Sprawdziłem na ff/chrome/ie zarówno czyscząc cache jak i używając trybu incognito.
Co dziwne z poziom ff w telefonie wszystko działa jak należy

2) Dalej nie można zmieniać ikon w czujnikach użytkowych.

Póki co zostanę na tym wydaniu, za parę dni powinien do mnie dojechać czujnik wilgotności gleby z wemosem d1, podobno te czujniki miały jakiś problem na 9700 zobaczę jak to działa na tym wydaniu i porównam z 9700.

Także dziękuję póki co wszystkim za pomoc i objaśnienie całej procedury generowania paczek smile

Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

43

Odp: Domoticz i wersja openwrt kilka pytań.

Pierwszy wemos d1 mini spięty z domoticzem ale bez wilgotności gleby więc jeszcze sie nie wypowiem dalej czekam na czujnik:/

Wiecie możę jak usunąc zbędne logi z domoticza z logu systemowego openwrt?

np:

Mon Dec 16 15:45:42 2019 daemon.info domoticz: MQTT: Topic: domoticz/in, Message: {"idx":12..
Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

44

Odp: Domoticz i wersja openwrt kilka pytań.

To już pewnie bardziej na forum Domoticza

45 (edytowany przez batorencjusz 2020-03-25 22:20:01)

Odp: Domoticz i wersja openwrt kilka pytań.

udało się komuś skompilować którąkolwiek nowszą wersję niż 4.11784?

ja kończe non stop z błędem:

fatal: not a git repository: './.git'
-- Failed to get ProjectRevision from git
-- Read ProjectRevision from History.txt
-- ###########################
-- Compiling Revision #1
-- ###########################
-- Use builtin lua library
-- MQTT library found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libmosquitto.so
-- MQTT includes found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/include
-- Using builtin JSonCPP
-- Python3 includes found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/include/python3.7
-- Building with I2C support
-- Building with SPI support
-- OPENSSL library found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libssl.so;/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcrypto.so
-- Linking against boost dynamic libraries
CMake Warning at /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:528 (find_package)


CMake Warning at /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:528 (find_package)


CMake Warning at /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:528 (find_package)


CMake Warning at /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:528 (find_package)


CMake Warning at /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1125 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1247 (_Boost_COMPONENT_DEPENDENCIES)
  /openwrt/staging_dir/host/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:528 (find_package)


-- BOOST libraries found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/lib
-- Boost includes found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/include
-- ZLIB library found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libz.so
-- ZLIB includes found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/include
-- Curl library found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcurl.so
-- Curl includes found at: /openwrt/staging_dir/target-mips_24kc_musl/usr/include
-- ==== OpenZWave not found, support disabled!
-- GPIO is available
-- Not found telldus-core (telldus-core.h), not adding tellstick support
-- Using precompiled headers
CMake Error at CMakeLists.txt:684 (target_precompile_headers):
  Unknown CMake command "target_precompile_headers".

w Pliku CMakeError.log:

Determining if the include file execinfo.h exists failed with the following output:
Change Dir: /openwrt/build_dir/target-mips_24kc_musl/domoticz-d93f467a7b149514783f83c8e9119130ba612d42/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_40680/fast && make[4]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/domoticz-d93f467a7b149514783f83c8e9119130ba612d42/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_40680.dir/build.make CMakeFiles/cmTC_40680.dir/build
make[5]: Entering directory '/openwrt/build_dir/target-mips_24kc_musl/domoticz-d93f467a7b149514783f83c8e9119130ba612d42/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_40680.dir/CheckIncludeFile.c.o
/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin/mips-openwrt-linux-musl-gcc   -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap/openwrt/build_dir/target-mips_24kc_musl/domoticz-d93f467a7b149514783f83c8e9119130ba612d42:domoticz-d93f467a7b149514783f83c8e9119130ba612d42 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto    -o CMakeFiles/cmTC_40680.dir/CheckIncludeFile.c.o   -c /openwrt/build_dir/target-mips_24kc_musl/domoticz-d93f467a7b149514783f83c8e9119130ba612d42/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/openwrt/build_dir/target-mips_24kc_musl/domoticz-d93f467a7b149514783f83c8e9119130ba612d42/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: execinfo.h: No such file or directory
 #include <execinfo.h>
          ^~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_40680.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_40680.dir/CheckIncludeFile.c.o' failed
make[5]: *** [CMakeFiles/cmTC_40680.dir/CheckIncludeFile.c.o] Error 1
make[5]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/domoticz-d93f467a7b149514783f83c8e9119130ba612d42/CMakeFiles/CMakeTmp'
Makefile:121: recipe for target 'cmTC_40680/fast' failed
make[4]: *** [cmTC_40680/fast] Error 2
make[4]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/domoticz-d93f467a7b149514783f83c8e9119130ba612d42/CMakeFiles/CMakeTmp'
Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

46

Odp: Domoticz i wersja openwrt kilka pytań.

execinfo.h pochodzi z glibc, a jak zapewne wiesz openwrt kompilowane jest z musl. Musisz albo połatać sobie domoticza i pozbyć się tego albo zrobić własną wersję execinfo.h tak żeby całość działała. Lub zgłoś deweloperom że jest problem dla openwrt.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

47 (edytowany przez kofec 2020-03-28 14:57:59)

Odp: Domoticz i wersja openwrt kilka pytań.

Na wersji  snapshot mi się kompiluje prawie ostatnia wersja domoticza:
https://github.com/kofec/Domoticz-Openw … s/domoticz
Był tez commit na trunku:
https://github.com/openwrt/packages/com … 0de2f75601
chyba to kwestia cmake bo byl podbity do wersji 3.16

48 (edytowany przez batorencjusz 2021-10-26 22:59:03)

Odp: Domoticz i wersja openwrt kilka pytań.

Witam ponownie, walcze 3 dzień i pomysły mi sie kończą. ma ktoś pomysł jak skompilowac aktualny commit?

przerobiłem makefile z openwrt-21.02 tak żeby pobierał aktualnego commita:

#
# Copyright (C) 2016 - 2020  Stijn Tintel <stijn@linux-ipv6.be>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=domoticz
PKG_VERSION:=2021.1
PKG_RELEASE:=$(AUTORELEASE)

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/domoticz/domoticz/archive/4834dc673390344493b7ce1061899b83a811b861/$(PKG_SOURCE)
PKG_HASH:=a785420dd784e55b24287fd84907801ec06facc88613290859b8c1a952cd0be8

PKG_MAINTAINER:=David Woodhouse <dwmw2@infradead.org>
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=License.txt

PKG_BUILD_DEPENDS:=python3 minizip cereal
PKG_USE_MIPS16:=0

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk

define Package/domoticz
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=Open Source Home Automation System
  URL:=http://domoticz.com/
  USERID:=domoticz=6144:domoticz=6144
  DEPENDS:= \
    +boost \
    +boost-date_time \
    +boost-system \
    +boost-thread \
    +jsoncpp \
    +libcurl \
    +python3 \
    +minizip \
    +lua5.3 \
    +libfmt \
    +libmosquitto \
    +libopenssl \
    +libopenzwave \
    +libsqlite3 \
    +libstdcpp \
    +telldus-core \
    +zlib
endef

define Package/domoticz/description
  Domoticz is a Home Automation System that lets you monitor and configure various devices like: Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more. Notifications/Alerts can be sent to any mobile device.
endef

CMAKE_OPTIONS += \
    -DBUILD_SHARED_LIBS=yes \
    -DBoost_NO_BOOST_CMAKE=yes \
    -DGIT_SUBMODULE=no \
    -DCMAKE_BUILD_TYPE=Release \
    -DUSE_BUILTIN_MQTT=no \
    -DUSE_BUILTIN_SQLITE=no \
    -DUSE_BUILTIN_JSONCPP=no \
    -DUSE_BUILTIN_MINIZIP=no \
    -DUSE_BUILTIN_LIBFMT=no \
    -DUSE_LUA_STATIC=no \
    -DUSE_STATIC_BOOST=no \
    -DUSE_STATIC_LIBSTDCXX=no \
    -DUSE_STATIC_OPENZWAVE=no \
    -DUSE_OPENSSL_STATIC=no \
    -DUSE_PYTHON=yes \
    -DWITH_LIBUSB=no

TARGET_CFLAGS += -flto
TARGET_CXXFLAGS += -DWITH_GPIO -flto
TARGET_LDFLAGS += -lpython3.9

define Build/Prepare
    $(call Build/Prepare/Default)
    # Remove unwanted scripts
    cd $(PKG_BUILD_DIR)/scripts && rm -rf \
        buienradar_rain_example.pl \
        _domoticz_main* \
        download_update.sh \
        dzVents/{.gitignore,documentation,examples,generated_scripts,data} \
        dzVents/runtime/{integration-tests,misc/smoothing.xlsx,tests} \
        logrotate/ \
        lua_parsers/example* \
        lua/*demo.lua \
        python/ \
        readme.txt \
        restart_domoticz \
        templates/All.Python \
        update_domoticz \
        domoticz.conf
    # Remove *.md
    cd $(PKG_BUILD_DIR) && $(FIND) -name '*.md' -delete
endef

define Package/domoticz/install
    $(INSTALL_DIR) $(1)/etc/config $(1)/etc/hotplug.d/tty $(1)/etc/init.d $(1)/etc/domoticz/plugins
    $(INSTALL_BIN) ./files/domoticz.hotplug $(1)/etc/hotplug.d/tty/domoticz
    $(INSTALL_BIN) ./files/domoticz.init $(1)/etc/init.d/domoticz
    $(INSTALL_CONF) ./files/domoticz.config $(1)/etc/config/domoticz
    $(INSTALL_DIR) $(1)/usr/share/domoticz $(1)/usr/bin
    $(CP) $(PKG_INSTALL_DIR)/usr/dzVents $(1)/usr/share/domoticz/dzVents
    $(CP) $(PKG_INSTALL_DIR)/usr/Config $(1)/usr/share/domoticz/Config
    $(CP) $(PKG_INSTALL_DIR)/usr/scripts $(1)/etc/domoticz/scripts
    ln -sf /var/lib/domoticz/dzVents/generated_scripts $(1)/etc/domoticz/scripts/dzVents
    ln -sf /var/lib/domoticz/dzVents/data $(1)/etc/domoticz/scripts/dzVents
    $(CP) $(PKG_INSTALL_DIR)/usr/www $(1)/usr/share/domoticz/
    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/domoticz $(1)/usr/bin/domoticz
    # compress static web content
    find $(1)/usr/share/domoticz/www -name "*.css" -exec gzip -9 {} \;
    find $(1)/usr/share/domoticz/www -name "*.js" -exec gzip -9 {} \;
    gzip -9 $(1)/usr/share/domoticz/www/*.html
    gzip -9 $(1)/usr/share/domoticz/www/secpanel/*.html
    find $(1)/usr/share/domoticz/www/views -name "*.html" -exec sh -c 'grep -q "<\!--#embed" {} || gzip -9 {}' \;
endef

define Package/domoticz/conffiles
/etc/config/domoticz
/var/lib/domoticz/
/etc/domoticz/
endef

$(eval $(call BuildPackage,domoticz))

ale kończe z błędem:

bash: line 0: cd:  /home/xx/openwrt/build_dir/target-mips_24kc_musl/domoticz-2021.1/scripts: No such file or directory

i rzeczywiście katalog domoticz-2021.1 jest totalnie pusty.

w katalogu:

openwrt/build_dir/target-mips_24kc_musl

tworzy sie natomiast katalog

domoticz-4834dc673390344493b7ce1061899b83a811b861

który to już zawiera wszystkie pliki

Zyxel T56 /|\ TL Wdr3600 /|\ TL wdr4300 /|\ MiR 3g /|\ ubi Rocket, nb, pb, ns, loco /|\ Netgear R6220 /|\ xiaomi AC2350 /|\ TL c6 v3 /|\ TL 1043 v1 v2 v4 /|\ dn2800mt , N100 /|\  TL DS-P-7001-04/08 /|\ TL SX3016F i kupa innego sprzętu

49 (edytowany przez mar_w 2021-10-27 00:27:26)

Odp: Domoticz i wersja openwrt kilka pytań.

A nie trzeba było normalnie pobrać ze strony "wymarzony" plik *tar.gz, wrzucić do katalogu ./dl następnie rozpakować (on jest spakowany wewnętrznie z tą długą nazwą) zmienić nazwę katalogu na "domoticz-2021.1", spakować z powrotem z krótszą nazwą i dopasować Makefile tak, żeby znajdował ten plik w ./dl i już nie pobierał tego z długą nazwą?

A potem bym się zastanawiał (po udanym skompilowaniu) jak to ogarnąć lepiej.
Szkoda tych 3 dni....

Edit: A ciekawe jak byś po prostu zmienił długą nazwę tego katalogu z build_dir (domoticz-4834dc673390344493b7ce1061899b83a811b861) do krótszej przyjaznej wersji domoticz-2021.1 skoro tam są wszystkie pliki....

Xiaomi AX3000T @ Netgear R6220
* DVBT2 - T230C *

50

Odp: Domoticz i wersja openwrt kilka pytań.

Ale to kombinacja na około. W źródłach scripts normalnie istnieje, w makefile masz usuwanie zbędnych plików ze scripts, więc... po prostu popraw makefile i zostaw to co potrzebujesz? lub wywal linię $(CP) $(PKG_INSTALL_DIR)/usr/scripts $(1)/etc/domoticz/scripts

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.