The second and all subsequent compile attempts fail because the program tries to copy files from a directory ./libs/http/dist, which does not exist.
Interestingly OpenWRT compiled fine the first time round, but the LUCI gui did not work (otherwise it worked fine).
With my laymen view I would think there is an issue in the Makefile ?
Please advise on any solution available
Here the relevant compile log:
rm -rf /root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/ipkg-brcm-2.4/luci-http
mkdir -p /root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/ipkg-brcm-2.4/luci-http/CONTROL
echo "Package: luci-http" > /root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/ipkg-brcm-2.4/luci-http/CONTROL/control
echo "Version: 0.9+svn5319-1" >> /root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/ipkg-brcm-2.4/luci-http/CONTROL/control
( DEPENDS=''; for depend in luci-core; do DEPENDS=${DEPENDS:+$DEPENDS, }${depend##+}; done; echo "Depends: $DEPENDS"; echo "Provides: "; echo "Source: feeds/luci/luci"; echo "Section: luci"; echo "Priority: optional"; echo "Maintainer: Steven Barth <steven-at-midlink-dot-org>"; echo "Architecture: brcm-2.4"; echo "Installed-Size: 1"; echo -n "Description: "; getvar V_Package_luci_http_description | sed -e 's,^[[:space:]]*, ,g'; ) >> /root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/ipkg-brcm-2.4/luci-http/CONTROL/control
chmod 644 /root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/ipkg-brcm-2.4/luci-http/CONTROL/control
(cd /root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/ipkg-brcm-2.4/luci-http/CONTROL; var2file "V_Package_luci_http_conffiles" conffiles; var2file "V_Package_luci_http_preinst" preinst; var2file "V_Package_luci_http_postinst" postinst; var2file "V_Package_luci_http_prerm" prerm; var2file "V_Package_luci_http_postrm" postrm; )
cp -fpR -a /root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/libs/http/dist/* /root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/ipkg-brcm-2.4/luci-http/ -R
cp: cannot stat `/root/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/luci-0.9+svn5319/libs/http/dist/*': No such file or directory
make[3]: *** [/root/trunk/bin/packages/brcm-2.4_uClibc-0.9.30.1/luci-http_0.9+svn5319-1_brcm-2.4.ipk] Error 1
make[3]: Leaving directory `/root/trunk/feeds/luci/luci'
make[2]: *** [package/feeds/luci/luci/compile] Error 2
make[2]: Leaving directory `/root/trunk'
make[1]: *** [/root/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/root/trunk'
make: *** [world] Error 2