Open gweiss76 opened 3 years ago
building keepalived with CONFIG_KEEPALIVED_VRRP_AUTH=y the build finishes, but has missing dependencies later...
install -d -m0755 /build/build_dir/target-mipsel_24kc_musl/keepalived-2.2.1/ipkg-mipsel_24kc/keepalived/etc/init.d
install -m0755 ./files/keepalived.init /build/build_dir/target-mipsel_24kc_musl/keepalived-2.2.1/ipkg-mipsel_24kc/keepalived/etc/init.d/keepalived
install -d -m0755 /build/build_dir/target-mipsel_24kc_musl/keepalived-2.2.1/ipkg-mipsel_24kc/keepalived/etc/config
install -m0600 ./files/keepalived.config /build/build_dir/target-mipsel_24kc_musl/keepalived-2.2.1/ipkg-mipsel_24kc/keepalived/etc/config/keepalived
install -d -m0755 /build/build_dir/target-mipsel_24kc_musl/keepalived-2.2.1/ipkg-mipsel_24kc/keepalived/etc
install -m0600 ./files/keepalived.user /build/build_dir/target-mipsel_24kc_musl/keepalived-2.2.1/ipkg-mipsel_24kc/keepalived/etc/keepalived.user
install -d -m0755 /build/build_dir/target-mipsel_24kc_musl/keepalived-2.2.1/ipkg-mipsel_24kc/keepalived/etc/hotplug.d/keepalived
install -m0644 ./files/hotplug-user /build/build_dir/target-mipsel_24kc_musl/keepalived-2.2.1/ipkg-mipsel_24kc/keepalived/etc/hotplug.d/keepalived/01-user
find /build/build_dir/target-mipsel_24kc_musl/keepalived-2.2.1/ipkg-mipsel_24kc/keepalived -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package keepalived is missing dependencies for the following libraries:
libcrypto.so.1.1
libssl.so.1.1
make[3]: *** [Makefile:296: /build/bin/packages/mipsel_24kc/packages/keepalived_2.2.1-1_mipsel_24kc.ipk] Error 1
make[3]: Leaving directory '/build/feeds/packages/net/keepalived'
time: package/feeds/packages/keepalived/compile#13.45#2.86#15.05
ERROR: package/feeds/packages/keepalived failed to build.
make[2]: *** [package/Makefile:114: package/feeds/packages/keepalived/compile] Error 1
make[2]: Leaving directory '/build'
make[1]: *** [package/Makefile:108: /build/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/build'
make: *** [/build/include/toplevel.mk:230: world] Error 2
compiling keepalived with a plain .config with just adding JSON support did work. so its my config. I will check do some more tests and report back.
We have to update the DEPENDS https://github.com/openwrt/packages/blob/master/net/keepalived/Makefile#L61 with ssl
and crypto
if we build with CONFIG_KEEPALIVED_VRRP_AUTH
Hi Florian. This is not a full analysis, but i'm almost sure that the issue lies somewhere here:
I require freeradius with SSL support (only openssl). This takes me down the road of a openssl/wolfssl issue. Trouble starts for me when i add luci-ssl-openssl which has a conflict with libustream-wolfssl20201210. I have removed libustream-wolfssl20201210 and libwolfssl (moving all packages to openssl). I cannot pinpoint the config setting right now. I will go on and rebuild/compile until i have it.
Hi Florian. During debugging of this issue I recreated my openwrt configuration from scratch and the issue went away. I do not have a clue what went wrong here. Please feel free to close this issue (not sure if you want to fix the DEPENDS as stated above) and sorry for the noise.
@gweiss76 Thanks for your feedback and for testing the keepalived with json. Once you have narrowed down the problem, can you please create a pull request? So we could fix the runtime dependency for CONFIG_KEEPALIVED_VRRP_AUTH?
Maintainer: @feckert Environment: OpenWrt openwrt-21.02 branch 55d9c020a1d7bcf1f7dceebfc9417de1eb448d41
Description: When building keepalive with the below config it fails. Building without JSON support is fine.
build log arround failure:
openwrt config: