226

(125 odpowiedzi, napisanych Oprogramowanie / Software)

Odkopię troszkę temat roll

Jako iż troszkę konfiguracji, dodania pakietów itd itp już za mną mam pytanie.

w routerze jest zrobiony extroot wraz z skopiowaniem konfiguracji

# mkdir -p /tmp/dysk
    # mount /dev/sda1 /tmp/dysk
    # tar -C /overlay -cvf - . | tar -C /tmp/dysk -xf -
    # umount /tmp/dysk

pendrive używany jako extroot sklonowałem, router wstaje z klona.

Teraz chciałbym wykonać pare aktualizacji i zmian w plikach i tu rodzi się moje pytanie.

1) Czy wszystkie zmiany dokonane przy extroot takim jak wyżej wpłyną tylko na system na tym pendrive natomiast po podmianie pendrive na pierwotny wróce do stanu sprzed zmian? Bo tak mniej więcej rozumiem przeniesienie overlay na extroot.
2) Czy którakolwiek z aktualizacji przez opkg wpłynie na część systemu nie znajdującą sie poza extroot?

227

(28 odpowiedzi, napisanych Oprogramowanie / Software)

Możesz w duzym skrócie wyjaśnić jak ogarnołeś taki kolorowy banner?

228

(18 odpowiedzi, napisanych Sprzęt / Hardware)

spróbuj zmienić szyfrowanie

229

(10 odpowiedzi, napisanych Oprogramowanie / Software)

ten modem z r6220 działa bez żadnych hubów itp itd.

ten modem masz w hilinku?
Jak wyglądają pingi do modemu?

230

(120 odpowiedzi, napisanych Sprzęt / Hardware)

Czy komus na 19.07 dziala smp?

231

(120 odpowiedzi, napisanych Sprzęt / Hardware)

Posiadam go od 2 miesiecy. Zmieniony firmware na openwrt 18.06. Obalajac mity, ten router nie posiada 2 cpu, tylko 1 z HT, czyli 2 watki (ma procesor MT7621ST a nie AT). Po optymalizacji affinity znaczny "przypyw mocy" w transferach po ethernecie czyli "kablu", testowane z iperf3 (wartosci w Mbit):

upstream 520->820 (+58%), downstream 850->920 (+12%)

Wystarczy dodac do /etc/rc.local to i zrestartowac router:
echo 1 >/proc/irq/14/smp_affinity
echo 1 >/proc/irq/15/smp_affinity
echo 2 >/proc/irq/16/smp_affinity
echo 1 >/proc/irq/17/smp_affinity
echo 1 >/proc/irq/18/smp_affinity
echo 1 >/proc/irq/20/smp_affinity
cat /proc/interrupts | logger
logger "affinity irq 14 (should be 1): "`cat /proc/irq/14/smp_affinity`
logger "affinity irq 15 (should be 1): "`cat /proc/irq/15/smp_affinity`
logger "affinity irq 16 (should be 2): "`cat /proc/irq/16/smp_affinity`
logger "affinity irq 17 (should be 1): "`cat /proc/irq/17/smp_affinity`
logger "affinity irq 18 (should be 1): "`cat /proc/irq/18/smp_affinity`
logger "affinity irq 20 (should be 1): "`cat /proc/irq/20/smp_affinity`
exit 0

na 19.07 to chyba nie ruszy

232

(7 odpowiedzi, napisanych Sprzęt / Hardware)

mjpeg-streamer dźwięku raczej nie prześle bynajmniej nie trafiłem do tej pory na taką możliwość

233

(2 odpowiedzi, napisanych Oprogramowanie / Software)

Jak komunikujesz sie z czujnikami? mqtt ?

ogółem domoticz nawet na slabych sprzętach mi działa czasem tylko potrafi przyciąć wifi.

234

(22 odpowiedzi, napisanych Oprogramowanie / Software)

Może i głupie pytanie ale sprawdzałeś jaki IP dostajesz teraz a jaki był wcześniej jak działało?

235

(47 odpowiedzi, napisanych Sprzęt / Hardware)

Ambrozy5 co to za checkpoint? On też na openwrt?

236

(22 odpowiedzi, napisanych Oprogramowanie / Software)

Kup sobie wemos d1 mini koszt ~8zł z ali. + sugerowany czujnik przez cezarego. Potem możesz sobie wgrać albo domoticza albo suple albo pokombinować z samym np espeasy


minusem większośći d1 mini jest słaby regulator napięcia pod 3.3v (max 150ma) chyba że kupisz np lolin wtedy wysokie prawdopodobieństwo że będziesz miał regulator 500ma

ale pod jeden czujnik to bez znaczenia.

Jak szukasz alternatyw dla wemosa to np nodemcu

237

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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..

238

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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

239

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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

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

240

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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

241

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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

242

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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?

243

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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

244

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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

245

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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 

246

(94 odpowiedzi, napisanych Oprogramowanie / Software)

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

247

(94 odpowiedzi, napisanych Oprogramowanie / Software)

obecnie pusto ale błąd dalej jak wyżej. Czy po skompilowaniu samego openwrt dla ath79 za pomoca configa z eko,one trzeba przed kompilacją domoticza skompilować jakieś inne paczki?

248

(94 odpowiedzi, napisanych Oprogramowanie / Software)

rzeczywiście pomyliłem sdk.

Przygotowałem sobie teraz v19.07.0-rc2

pobrałem z twojeg githuba:

https://github.com/kofec/Domoticz-Openwrt/tree/master/utils/domoticz

i wgrałem do katalogu

openwrt/feefs/packages/utils/domoticz

Przy próbie kompilacji kończę z błędem:

mkdir -p /1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9
(cd /1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9; CFLAGS="-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/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9:domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto " CXXFLAGS="-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/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9:domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -DWITH_GPIO -flto " LDFLAGS="-L/1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib -L/1907/openwrt/staging_dir/target-mips_24kc_musl/lib -L/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro " cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=mips -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_C_COMPILER="/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin/mips-openwrt-linux-musl-gcc" -DCMAKE_C_COMPILER_ARG1="" -DCMAKE_CXX_COMPILER="/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin/mips-openwrt-linux-musl-g++" -DCMAKE_CXX_COMPILER_ARG1="" -DCMAKE_ASM_COMPILER="/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin/mips-openwrt-linux-musl-gcc" -DCMAKE_ASM_COMPILER_ARG1="" -DCMAKE_EXE_LINKER_FLAGS:STRING="-L/1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib -L/1907/openwrt/staging_dir/target-mips_24kc_musl/lib -L/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro" -DCMAKE_MODULE_LINKER_FLAGS:STRING="-L/1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib -L/1907/openwrt/staging_dir/target-mips_24kc_musl/lib -L/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,-Bsymbolic-functions" -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib -L/1907/openwrt/staging_dir/target-mips_24kc_musl/lib -L/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,-Bsymbolic-functions" -DCMAKE_AR="/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin/mips-openwrt-linux-musl-gcc-ar" -DCMAKE_NM="/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin/mips-openwrt-linux-musl-gcc-nm" -DCMAKE_RANLIB="/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/bin/mips-openwrt-linux-musl-gcc-ranlib" -DCMAKE_FIND_ROOT_PATH="/1907/openwrt/staging_dir/target-mips_24kc_musl/usr;/1907/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/usr -DDL_LIBRARY=/1907/openwrt/staging_dir/target-mips_24kc_musl -DCMAKE_PREFIX_PATH=/1907/openwrt/staging_dir/target-mips_24kc_musl -DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=yes -DBoost_NO_BOOST_CMAKE=yes -DCMAKE_BUILD_TYPE=Release -DUSE_BUILTIN_MQTT=no -DUSE_BUILTIN_SQLITE=no -DUSE_STATIC_BOOST=no -DUSE_STATIC_LIBSTDCXX=no -DUSE_OPENSSL_STATIC=no -DUSE_PYTHON=yes -DWITH_LIBUSB=no /1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9 )
fatal: not a git repository: './.git'
-- Failed to get ProjectRevision from git
-- Read ProjectRevision from History.txt
-- ###########################
-- Compiling Revision #xxxxx
-- ###########################
-- Use builtin lua library
-- MQTT library found at: /1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libmosquitto.so
-- MQTT includes found at: /1907/openwrt/staging_dir/target-mips_24kc_musl/usr/include
-- 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 library found at: /1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libssl.so;/1907/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcrypto.so
-- Linking against boost dynamic libraries
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:598 (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:598 (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:598 (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:598 (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:598 (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:598 (find_package)


-- Configuring incomplete, errors occurred!
See also "/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9/CMakeFiles/CMakeOutput.log".
See also "/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9/CMakeFiles/CMakeError.log".
Makefile:137: recipe for target '/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
make[2]: *** [/1907/openwrt/build_dir/target-mips_24kc_musl/domoticz-b152682f37a34585b59ea51fbaa32b6aa16938c9/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/1907/openwrt/feeds/packages/utils/domoticz'
time: package/feeds/packages/domoticz/compile#0.23#0.04#0.27
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

czyli zgaduję że coś źle skopiowałem albo w złe miejsce.

Spróbowałem 2 opcji
w orginalnym makefile zmieniłem PKG_VERSION_PATCH:= na 10717, dograłem do patches patcha którego znalazłem u ciebie i tym razem podczas kompilacji paczki kończę z następującym błędem:

Hash of the downloaded file does not match (file: c053a2161942529f56b748945ec297dcd67f449e68029fc886893a528891ad86, requested: c31f185a1ffac01b86a77bf33e059a4403d814e826c9d6639c63c2e9afa55a46) - deleting download.

Faktycznie w orginale przecież miało pobrać paczkę 9700 więc i hash inny więc w makefile zmieniłem hash na ten który zgłosił skrypt i skończyło się błędem:

Applying ./patches/010-boost-170-fix.patch using plaintext: 
patching file hardware/Pinger.cpp
Hunk #1 succeeded at 24 with fuzz 2 (offset 6 lines).
Hunk #2 FAILED at 82.
Hunk #3 FAILED at 124.
2 out of 3 hunks FAILED -- saving rejects to file hardware/Pinger.cpp.rej
patching file hardware/TCPProxy/tcpproxy_server.cpp
Hunk #1 succeeded at 21 with fuzz 2 (offset 6 lines).
Hunk #2 FAILED at 44.
1 out of 2 hunks FAILED -- saving rejects to file hardware/TCPProxy/tcpproxy_server.cpp.rej
Patch failed!  Please fix ./patches/010-boost-170-fix.patch!

I tu znowu coś mnie tknęło przecież w nowszym wydaniu to powinno być dawno załatane więc usunąłem tego patcha i zostawiłem tylko tego twojego.

noi skonczyłem z błędem dotyczącym boost:

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)


-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
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#1.74#0.62#2.05
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

249

(94 odpowiedzi, napisanych Oprogramowanie / Software)

za nic nie wychodzi wysypuje sie przy kompilacji na

 CMake 3.14.0 or higher is required.  You are running version 3.11.4

spórbowałęm podnieśc wersję cmake za pomocą :

[url]https://www.claudiokuenzler.com/blog/611/installing-cmake-3.4.1-ubuntu-14.04-trusty-using-alternatives[/url]

obecnie mam wersje

 cmake --version
cmake version 3.16.0

CMake suite maintained and supported by Kitware (kitware.com/cmake)

ale błąð dalej ten sam.

BTW paczka stabilna którą dałes wypluwa:

Package domoticz version 4.10717-2 has no valid architecture, ignoring.

250

(94 odpowiedzi, napisanych Oprogramowanie / Software)

witam

w tej wersji jest jakiś błąd z niektórymi czujnikami. Np po kliknieciu w ikone odpowiedzialną za cpu na planie pomieszczeń wypluwa pusta stronę, natomiast po wyklikaniu przez użytkowe->CPU->logi otwiera już normalnie. ALE po chwili i ta 2 opcja juz zmiera nie generując żadnej akcji.

Jako iż wypuściili kilka wersji do przodu i z tego co widzę w obecnej powinno być już cacy to czy miałbyś chwilę aby skompilować na nowo paczkę?

Miałbym też prośbę czy byłbyś wstanie umieścić u siebie na githubie skompilowaną ostatnia stabilną paczkę czyli 4.10717? Sprawdziłem na 2 sprzęcie że w zasadzie podmiana paczki jest możliwa bez wymiany całego systemu.

Opcjonalnie jakbyś mógł mi opisać na szybo procedurę tworzenia samej paczki? co z twojego githuba i gdzie musiałbym wrzuć żeby kompilowało samą paczkę ? smile
Pozdrawiam