Open ColinTimBarndt opened 1 year ago
Same issue here ipkg-install/etc/ipsec.conf': No such file or directory
@ColinTimBarndt Is this still going on?
And if you add this:
define Build/Install
$(INSTALL_DIR) $(PKG_INSTALL_DIR)/etc
$(call Build/Install/Default,install)
endef
does the problem go away?
@ColinTimBarndt Is this still going on?
I am going to rerun the build script today to check
And if you add this:
define Build/Install $(INSTALL_DIR) $(PKG_INSTALL_DIR)/etc $(call Build/Install/Default,install) endef
does the problem go away?
Where exactly should this be added?
I have attempted to build OpenWRT with strongswan but am currently getting an error not related to strongswan (probably earlier).
Last commit: [72780e3eac] ipq40xx: convert AP-365 to DSA
make -j1 V=s
And if you add this:
define Build/Install $(INSTALL_DIR) $(PKG_INSTALL_DIR)/etc $(call Build/Install/Default,install) endef
does the problem go away?
Where exactly should this be added?
After all of the other define’s should be fine.
Maintainer: @pprindeville Environment: ARMv7 Processor rev 5 (v7l), GL.iNet GL-B1300 (ipq40xx), OpenWRT master branch 1cefb14230
Description: Build fails
install: cannot stat '/home/colin/Documents/code/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/strongswan-5.9.7/ipkg-install/etc/ipsec.conf': No such file or directory
Build Errors:
``` ... make[3]: Entering directory '/home/colin/Documents/code/openwrt/feeds/packages/net/strongswan' mkdir -p /home/colin/Documents/code/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/stamp SHELL= flock /home/colin/Documents/code/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/colin/Documents/code/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/strongswan-5.9.7/.pkgdir/strongswan/. /home/colin/Documents/code/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/' touch /home/colin/Documents/code/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/stamp/.strongswan_installed mkdir -p /home/colin/Documents/code/openwrt/bin/targets/ipq40xx/generic/packages /home/colin/Documents/code/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/strongswan-5.9.7/ipkg-arm_cortex-a7_neon-vfpv4/strongswan-ipsec/CONTROL /home/colin/Documents/code/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo install -d -m0755 /home/colin/Documents/code/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/strongswan-5.9.7/ipkg-arm_cortex-a7_neon-vfpv4/strongswan-ipsec/etc/ /home/colin/Documents/code/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/strongswan-5.9.7/ipkg-arm_cortex-a7_neon-vfpv4/strongswan-ipsec/usr/sbin install -m0600 /home/colin/Documents/code/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/strongswan-5.9.7/ipkg-install/etc/ipsec.conf /home/colin/Documents/code/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/strongswan-5.9.7/ipkg-arm_cortex-a7_neon-vfpv4/strongswan-ipsec/etc/ install: cannot stat '/home/colin/Documents/code/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/strongswan-5.9.7/ipkg-install/etc/ipsec.conf': No such file or directory make[3]: *** [Makefile:669: /home/colin/Documents/code/openwrt/bin/packages/arm_cortex-a7_neon-vfpv4/packages/strongswan-ipsec_5.9.7-8.1_arm_cortex-a7_neon-vfpv4.ipk] Error 1 make[3]: Leaving directory '/home/colin/Documents/code/openwrt/feeds/packages/net/strongswan' time: package/feeds/packages/strongswan/compile#0.40#0.22#0.54 ERROR: package/feeds/packages/strongswan failed to build. make[2]: *** [package/Makefile:116: package/feeds/packages/strongswan/compile] Error 1 make[2]: Leaving directory '/home/colin/Documents/code/openwrt' make[1]: *** [package/Makefile:110: /home/colin/Documents/code/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/colin/Documents/code/openwrt' make: *** [/home/colin/Documents/code/openwrt/include/toplevel.mk:231: world] Error 2 ```make -j1 V=s
``` CONFIG_PACKAGE_strongswan=y CONFIG_PACKAGE_strongswan-charon=y CONFIG_PACKAGE_strongswan-charon-cmd=y CONFIG_PACKAGE_strongswan-ipsec=y CONFIG_PACKAGE_strongswan-libtls=y CONFIG_PACKAGE_strongswan-mod-aes=y CONFIG_PACKAGE_strongswan-mod-curve25519=y CONFIG_PACKAGE_strongswan-mod-des=y CONFIG_PACKAGE_strongswan-mod-eap-identity=y CONFIG_PACKAGE_strongswan-mod-eap-md5=y CONFIG_PACKAGE_strongswan-mod-eap-mschapv2=y CONFIG_PACKAGE_strongswan-mod-eap-tls=y CONFIG_PACKAGE_strongswan-mod-kernel-libipsec=y CONFIG_PACKAGE_strongswan-mod-led=y CONFIG_PACKAGE_strongswan-mod-md4=y CONFIG_PACKAGE_strongswan-mod-pem=y CONFIG_PACKAGE_strongswan-mod-pkcs1=y CONFIG_PACKAGE_strongswan-mod-pkcs11=y CONFIG_PACKAGE_strongswan-mod-pkcs12=y CONFIG_PACKAGE_strongswan-mod-pkcs7=y CONFIG_PACKAGE_strongswan-mod-pkcs8=y CONFIG_PACKAGE_strongswan-mod-pubkey=y CONFIG_PACKAGE_strongswan-mod-sha1=y CONFIG_PACKAGE_strongswan-mod-sha2=y CONFIG_PACKAGE_strongswan-mod-uci=y CONFIG_PACKAGE_strongswan-mod-unity=y CONFIG_PACKAGE_strongswan-mod-vici=y CONFIG_PACKAGE_strongswan-swanctl=y ```cat .config | grep ^CONFIG_PACKAGE_strongswan
Relating the error with the Makefile:
Related issues:
10879