awilliams / wifi-presence

Presence detection on OpenWrt routers using connect/disconnect events of WiFi clients. Events are published to MQTT with Home Assistant integration.
MIT License
64 stars 8 forks source link

Conflict with wpad-basic-mbedtls #20

Open jfly opened 6 months ago

jfly commented 6 months ago

I'm seeing the following error when I try to build an image with this package installed:

   >  * check_data_file_clashes: Package wpad-basic-mbedtls wants to install file /build/openwrt-imagebuilder-23.05.2-mediatek-mt7622.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/usr/sbin/wpad
   >  But that file is already provided by package  * wpad-wolfssl
   >  * check_data_file_clashes: Package wpad-basic-mbedtls wants to install file /build/openwrt-imagebuilder-23.05.2-mediatek-mt7622.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/usr/share/hostap/hostapd.uc
   >         But that file is already provided by package  * wpad-wolfssl
   >  * check_data_file_clashes: Package wpad-basic-mbedtls wants to install file /build/openwrt-imagebuilder-23.05.2-mediatek-mt7622.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/usr/share/hostap/wpa_supplicant.uc
   >  But that file is already provided by package  * wpad-wolfssl
   >  * opkg_install_cmd: Cannot install package wpad-basic-mbedtls.

I've followed the instructions in the README to remove wpad-basic-wolfssl. I can't find an authoritative reference, but it sounds like perhaps openwrt has replaced wpad-basic-wolfssl with wpad-basic-mbedtls (refs: https://www.reddit.com/r/openwrt/comments/12fqixx/out_of_curiosity_whats_the_difference_between_the/)?

jfly commented 6 months ago

I see the default changed from wpad-basic-wolfssl to wpad-basic-mbedtls in https://github.com/openwrt/openwrt/commit/2630e5063df0240eb0d05cd6e953b2bd412e3215, which first was released in v23.05.0 of openwrt.

I'll send in a PR updating the README.