Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with wpad-basic-mbedtls #20

Open
jfly opened this issue Mar 13, 2024 · 1 comment · May be fixed by #22
Open

Conflict with wpad-basic-mbedtls #20

jfly opened this issue Mar 13, 2024 · 1 comment · May be fixed by #22

Comments

@jfly
Copy link

jfly commented Mar 13, 2024

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
Copy link
Author

jfly commented Mar 13, 2024

I see the default changed from wpad-basic-wolfssl to wpad-basic-mbedtls in openwrt/openwrt@2630e50, which first was released in v23.05.0 of openwrt.

I'll send in a PR updating the README.

jfly added a commit to jfly/wifi-presence that referenced this issue Mar 13, 2024
This fixes awilliams#20

`wpad-*-wolfssl` still exists, but it's not installed by default
anymore. In
openwrt/openwrt@2630e50,
the default changed to `wpad-basic-mbedtls`. It sounds like that might
be a better choice, so I opted to tell people to `wpad-mbedtls` as well.
@jfly jfly linked a pull request Mar 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant