Unable to build strongswan on 19.07.2

Hi,
I am trying to build image for a MT7621 based target. I want to enable strongswan in the build. However, I notice that strongswan shown in 19.07.2 release does not show details/ all modules as shown in 18.06 package. I have verified that kernel mod-ipsec is enabled. However, build fails with error-

**install: cannot stat '/home/aashish/openwrt-19.07.2/build_dir/target-mipsel_24kc_musl/strongswan-5.8.2/ipkg-install/etc/ipsec.conf': No such file or directory**
Makefile:590: recipe for target '/home/aashish/openwrt-19.07.2/build_dir/target-mipsel_24kc_musl/strongswan-5.8.2/.pkgdir/strongswan.installed' failed
make[3]: *** [/home/aashish/openwrt-19.07.2/build_dir/target-mipsel_24kc_musl/strongswan-5.8.2/.pkgdir/strongswan.installed] Error 1
make[3]: Leaving directory '/home/aashish/openwrt-19.07.2/feeds/packages/net/strongswan'
time: package/feeds/packages/strongswan/compile#73.44#10.58#126.80
package/Makefile:111: recipe for target 'package/feeds/packages/strongswan/compile' failed
make[2]: *** [package/feeds/packages/strongswan/compile] Error 2
make[2]: Leaving directory '/home/aashish/openwrt-19.07.2'
package/Makefile:107: recipe for target '/home/aashish/openwrt-19.07.2/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/aashish/openwrt-19.07.2/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/aashish/openwrt-19.07.2'
/home/aashish/openwrt-19.07.2/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2

Can someone help me in getting this fixed?

2 Likes

Hello, I'm facing exactly the same issue. Custom 19.07. build, strongswan enabled in menuconfig.

1 Like

I also am facing this same issue. Anybody found a solution ?