OpenWrt 21.02.0: Domoticz not showing in menuconfig even after selecting the package "libmosquitto". Any help is appreciated. Thank you.
utils/domoticz/Makefile: +minizip @BROKEN \
Thanks a lot.
not sure i'd mark this resolved yet tho...
at least... in master... there was a github issue can't find right now discussing upstream / downstream (minizip) autoconf style resolutions vs dependant package changes...
so would be good to link / find out the outcome of this and find out if this ultimately will be backported to 21.02 packages ...
I get the following error now
FAILED: CMakeFiles/domoticz.dir/main/SQLHelper.cpp.o
/ext-HD/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/bin/x86_64-openwrt-linux-musl-g++ -DENABLE_PYTHON -DHAVE_LINUX_I2C -DHAVE_LINUX_SPI -DWITH_GPIO -DWITH_OPENZWAVE -DWITH_TELLDUSCORE -DWITH_TLS -DWWW_ENABLE_SSL -I/ext-HD/openwrt/staging_dir/target-x86_64_musl/usr/include/lua5.3 -I/ext-HD/openwrt/staging_dir/target-x86_64_musl/usr/include/python3.9 -Imain -I/ext-HD/openwrt/staging_dir/target-x86_64_musl/usr/include/minizip -I/ext-HD/openwrt/staging_dir/target-x86_64_musl/usr/include/openzwave -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/ext-HD/openwrt/build_dir/target-x86_64_musl/domoticz-2020.2=domoticz-2020.2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -DWITH_GPIO -flto -std=c++11 -Wno-psabi -rdynamic -DNDEBUG -Winvalid-pch -include /ext-HD/openwrt/build_dir/target-x86_64_musl/domoticz-2020.2/CMakeFiles/domoticz.dir/cmake_pch.hxx -MD -MT CMakeFiles/domoticz.dir/main/SQLHelper.cpp.o -MF CMakeFiles/domoticz.dir/main/SQLHelper.cpp.o.d -o CMakeFiles/domoticz.dir/main/SQLHelper.cpp.o -c main/SQLHelper.cpp
In file included from main/SQLHelper.cpp:16:
main/clx_unzip.h:43:10: fatal error: minizip/unzip.h: No such file or directory
#include <minizip/unzip.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
[28/246] Building CXX object CMakeFiles/domoticz.dir/main/SignalHandler.cpp.o
[29/246] Building CXX object CMakeFiles/domoticz.dir/main/Scheduler.cpp.o
[30/246] Building CXX object CMakeFiles/domoticz.dir/main/mainworker.cpp.o
[31/246] Building CXX object CMakeFiles/domoticz.dir/main/WebServerHelper.cpp.o
[32/246] Building CXX object CMakeFiles/domoticz.dir/main/WebServer.cpp.o
ninja: build stopped: subcommand failed.
Makefile:126: recipe for target '/ext-HD/openwrt/build_dir/target-x86_64_musl/domoticz-2020.2/.built' failed
make[3]: *** [/ext-HD/openwrt/build_dir/target-x86_64_musl/domoticz-2020.2/.built] Error 1
make[3]: Leaving directory '/ext-HD/openwrt/feeds/packages/utils/domoticz'
time: package/feeds/packages/domoticz/compile#480.11#39.39#170.45
ERROR: package/feeds/packages/domoticz failed to build.
package/Makefile:112: recipe for target 'package/feeds/packages/domoticz/compile' failed
make[2]: *** [package/feeds/packages/domoticz/compile] Error 1
make[2]: Leaving directory '/ext-HD/openwrt'
package/Makefile:108: recipe for target '/ext-HD/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/ext-HD/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/ext-HD/openwrt'
/ext-HD/openwrt/include/toplevel.mk:228: recipe for target 'world' failed
make: *** [world] Error 2
We should ask @neheb for help as He is the maintainer.
If you want you can try my fork (I'm using it for many platforms)
I just tried your fork. I got the following errors:
Applying ./patches/010-boost-173.patch using plaintext:
patching file hardware/ASyncSerial.cpp
Hunk #1 FAILED at 34.
1 out of 1 hunk FAILED -- saving rejects to file hardware/ASyncSerial.cpp.rej
patching file hardware/ASyncTCP.cpp
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file hardware/ASyncTCP.cpp.rej
patching file hardware/Comm5Serial.cpp
patching file hardware/CurrentCostMeterSerial.cpp
Hunk #1 FAILED at 10.
1 out of 1 hunk FAILED -- saving rejects to file hardware/CurrentCostMeterSerial.cpp.rej
patching file hardware/DavisLoggerSerial.cpp
Hunk #1 FAILED at 8.
1 out of 1 hunk FAILED -- saving rejects to file hardware/DavisLoggerSerial.cpp.rej
patching file hardware/DenkoviUSBDevices.cpp
patching file hardware/EnOceanESP2.cpp
Hunk #1 FAILED at 8.
Hunk #2 succeeded at 15 (offset -1 lines).
1 out of 2 hunks FAILED -- saving rejects to file hardware/EnOceanESP2.cpp.rej
patching file hardware/EnOceanESP3.cpp
Hunk #1 FAILED at 8.
Hunk #2 succeeded at 15 (offset -1 lines).
1 out of 2 hunks FAILED -- saving rejects to file hardware/EnOceanESP3.cpp.rej
patching file hardware/EvohomeRadio.cpp
patching file hardware/EvohomeSerial.cpp
.....etc
Please take https://github.com/kofec/Domoticz-Openwrt/tree/master/utils/domoticz-ng
not https://github.com/kofec/Domoticz-Openwrt/tree/master/utils/domoticz
I do it this way to have both version (Domoticz and Domoticz-ng) in my build system
As I can see you take old version - just remove from repository
Kofec kofec
April 30We should ask @neheb for help as He is the maintainer.
I am not the maintainer. That’s David Woodhouse.
I just deleted the old version (Domoticz) and replaced it with the new one (see attached picture)
I still receive the same errors.
Thanks
It is strange as I don't have "010-boost-173.patch" in repo
This is an issue reported previously in the 1st release of OpenWrt 21.02.0 (OpenWrt 21.02.0: Domoticz not showing in menuconfig - #7 by szakaria) and apparently it still persists. Thanks.