DAP-2610 Own build error

Hi,

I've been building my own DAP-2610 firmware for the last weeks.
Yesterday I did as usual, and I get that error while building:

Collected errors:
 * check_data_file_clashes: Package libustream-wolfssl20200215 wants to install file /media/klingon/Secundari/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/lib/libustream-ssl.so
	But that file is already provided by package  * libustream-mbedtls20200215
 * opkg_install_cmd: Cannot install package libustream-wolfssl20200215.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/klingon/Secundari/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/lib/libustream-ssl.so
	But that file is already provided by package  * libustream-mbedtls20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * check_data_file_clashes: Package px5g-wolfssl wants to install file /media/klingon/Secundari/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/usr/sbin/px5g
	But that file is already provided by package  * px5g-mbedtls
 * opkg_install_cmd: Cannot install package px5g-wolfssl.
make[2]: *** [package/Makefile:68: package/install] Error 255
make[2]: Leaving directory '/media/klingon/Secundari/openwrt'
make[1]: *** [package/Makefile:108: /media/klingon/Secundari/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_install] Error 2
make[1]: Leaving directory '/media/klingon/Secundari/openwrt'
make: *** [/media/klingon/Secundari/openwrt/include/toplevel.mk:235: world] Error 2

Any idea/clue what's going on? Any solution?

Thanks for your help!!

https://openwrt.org/docs/guide-developer/releases/goals/20.xx?s=wolfssl

  • Make a clean build.
  • Wait until it is fixed.
  • Exclude libustream-mbedtls.
  • Modify the makefile for libustream-mbedtls to avoid conflict with libustream-wolfssl.
  • Revert to a previous codebase revision.
1 Like

Thanks @vgaetera for your help!!!

1 Like

A similar thread with a workaround:
Libustream-wolfssl clashing with libustream-openssl

1 Like

Thanks @vgaetera, I did a clean build.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.