#20082: src-link (non git) custom feed not working anymore
-----------------------+------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Keywords: |
-----------------------+------------------------
For the past year, I have a local custom feed:
{{{
$ cat feeds.conf.default
src-git packages https://github.com/openwrt/packages.git
src-git luci https://github.com/openwrt/luci.git
src-git routing https://github.com/openwrt-routing/packages.git
src-git telephony https://github.com/openwrt/telephony.git
src-git management https://github.com/openwrt-management/packages.git
src-git targets https://github.com/openwrt/targets.git
src-link custom /home/development/src/openwrt-stuff/custom-feed
}}}
It has been a couple of weeks since I last compiled it succesfully, but
today I get an error (with OpenWrt trunk):
{{{
rm -f /home/development/src/openwrt-trunk/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/mytest-2.4.2/.configured_*
touch /home/development/src/openwrt-trunk/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/mytest-2.4.2/.configured_yyyyyyyyyy
touch /home/development/src/openwrt-trunk/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/mytest-2.4.2/.built
mkdir -p /home/development/src/openwrt-trunk/openwrt/bin/ar71xx-
uClibc/packages /home/development/src/openwrt-trunk/openwrt/build_dir
/target-mips_34kc_uClibc-0.9.33.2/mytest-2.4.2/ipkg-all/mytest/CONTROL
/home/development/src/openwrt-trunk/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/pkginfo
cp -fpR ./files/* /home/development/src/openwrt-trunk/openwrt/build_dir
/target-mips_34kc_uClibc-0.9.33.2/mytest-2.4.2/ipkg-all/mytest
find /home/development/src/openwrt-trunk/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/mytest-2.4.2/ipkg-all/mytest -name 'CVS' -o
-name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="mips-openwrt-linux-uclibc-" NO_RENAME=1 ; NM="mips-openwrt-
linux-uclibc-nm" STRIP="/home/development/src/openwrt-
trunk/openwrt/staging_dir/host/bin/sstrip"
STRIP_KMOD="/home/development/src/openwrt-trunk/openwrt/scripts/strip-
kmod.sh" PATCHELF="/home/development/src/openwrt-
trunk/openwrt/staging_dir/host/bin/patchelf" /home/development/src
/openwrt-trunk/openwrt/scripts/rstrip.sh /home/development/src/openwrt-
trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/mytest-2.4.2
/ipkg-all/mytest
(cd /home/development/src/openwrt-trunk/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/mytest-2.4.2/ipkg-all/mytest/CONTROL; ( echo
"$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e
's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh";
echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo ".
\${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) >
postinst; ( echo "#!/bin/sh"; echo ". \${IPKG_INSTROOT}/lib/functions.sh";
echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; echo
"$V_Package_mytest_conffiles" > conffiles; )
install -d -m0755 /home/development/src/openwrt-trunk/openwrt/bin/ar71xx-
uClibc/packages/custom
/home/development/src/openwrt-trunk/openwrt/scripts/ipkg-build -c -o 0 -g
0 /home/development/src/openwrt-trunk/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/mytest-2.4.2/ipkg-all/mytest
/home/development/src/openwrt-trunk/openwrt/bin/ar71xx-
uClibc/packages/custom
fatal: Not a git repository (or any of the parent directories): .git
make[3]: *** [/home/development/src/openwrt-trunk/openwrt/bin/ar71xx-
uClibc/packages/custom/mytest_2.4.2-1_all.ipk] Error 128
make[3]: Leaving directory `/home/development/src/openwrt-stuff/custom-
feed/mytest'
make[2]: *** [package/feeds/custom/mytest/compile] Error 2
make[2]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
make[1]: *** [/home/development/src/openwrt-trunk/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
make: *** [world] Error 2
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/20082>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets