domoticz: fix build and add test.sh#29288
Conversation
b819959 to
06134bc
Compare
|
Generic tests are now forced for all packages, irrespective of |
Two failures stand-out. |
boost::asio::post() without an explicit executor fails to compile with Boost >= 1.82 due to changes in the executor model: bare lambdas no longer have an implicit system executor that satisfies the blocking.never requirement. Pass io_context_ explicitly as the first argument so the handler is dispatched on the correct io_context thread, which is the original intent of the call (making stop() safe to call from any thread). Add test.sh domoticz is a daemon requiring a database and network port; it does not implement a --version flag. Verify the binary is present and executable. Disable LTO to fix link failure on i386 with musl fortify Suggested via openwrt#29239 Also tested. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
MinOZW does not implement any --version flag, so skip the generic version check. Just verify the binary is present and executable. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
libquadmath is only packaged for x86 and powerpc targets in OpenWrt. Declaring it as an unconditional runtime dependency of boost-charconv causes apk installation failure on all other architectures (e.g. i386, arm, mips) with "libquadmath (no such package)". Guard the dependency with an ARCH filter so it is only pulled in on platforms where the package actually exists. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro> boost: add x86 to libquadmath arch conditional in boost-charconv libquadmath is available on x86 (i386) in addition to x86_64 and powerpc variants. Include it in the filter so boost-charconv gets the correct dependency on 32-bit x86 targets. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
06134bc to
1b2883c
Compare
|
Also for some reason |
|
liblzma is purging file: I guess |
1b2883c to
3f1d898
Compare
This comment was marked as resolved.
This comment was marked as resolved.
3f1d898 to
1b2883c
Compare
📦 Package Details
Maintainer: @dwmw2
Description:
boost::asio::post() without an explicit executor fails to compile with Boost >= 1.82 due to changes in the executor model: bare lambdas no longer have an implicit system executor that satisfies the blocking.never requirement.
Pass io_context_ explicitly as the first argument so the handler is dispatched on the correct io_context thread, which is the original intent of the call (making stop() safe to call from any thread).
Add test.sh
domoticz is a daemon requiring a database and network port; it does not implement a --version flag. Verify the binary is present and executable.
Disable LTO to fix link failure on i386 with musl fortify Suggested via #29239 Also tested.
🧪 Run Testing Details
✅ Formalities
If your PR contains a patch:
git am(e.g., subject line, commit description, etc.)
We must try to upstream patches to reduce maintenance burden.