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:=10717i
PKG_HASH:=c053a2161942529f56b748945ec297dcd67f449e68029fc886893a528891ad86nastę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 2możę coś z tym releasem 19.07.0-rc2 jest nie tak choć jako stabilny powinien być wporządku ![]()
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