Error on 21.02 Image Builder libustream-wolfssl

Hi all, getting a confusing error from the Image Builder on rc3:

 * check_data_file_clashes: Package libustream-wolfssl20201210 wants to install file /home/seb/openwrt-imagebuilder-21.02.0-rc3-x86-64.Linux-x86_64/build_dir/target-x86_64_musl/root-x86/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-openssl20201210
 * opkg_install_cmd: Cannot install package libustream-wolfssl.
make[2]: *** [Makefile:167: package_install] Error 255
make[1]: *** [Makefile:122: _call_image] Error 2
make: *** [Makefile:240: image] Error 2

Can openssl and wolfssl not be installed together?

Thanks.

libopenssl and libwolfssl can be coinstalled, but there can only be one provider of libustream-[…]ssl

1 Like

Thanks. As far as I can tell, my only other consumer of OpenSSL was OpenVPN. If I want to switch to WolfSSL entirely, what do I replace openvpn-openssl with? openvpn-wolfssl is not a valid package.

It is quite valid on master, but not yet in 21.02.

If you need openvpn, your best bet is maybe to switch totally to openssl and drop wolfssl.

(haven't done that with imagebuilder, but should be quite possible)

You can run openvpn-openssl no matter wolfssl for the other functions