Hello,
I yesterday updated OpenWRT feeds and installed them (./scripts/feeds update -a, ./scripts/feeds install -a ).
After that, when i tried to build package Python setuptools i get this:
copying: '/usr/lib/python2.7/doctest.py'
copying: '/usr/lib/python2.7/pydoc.py'
copying: '/usr/lib/python2.7/pydoc_data'
SHELL= flock /home/bane/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/root-brcm2708/tmp-python-pydoc/. /home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/root-brcm2708/'
rm -rf /home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/root-brcm2708/tmp-python-pydoc
touch /home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/root-brcm2708/stamp/.python-pydoc_installed
if [ -f /home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/pkginfo/python.default.install.clean ]; then rm -f /home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/pkginfo/python.default.install /home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/pkginfo/python.default.install.clean; fi; echo "python-pydoc" >> /home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/pkginfo/python.default.install
mkdir -p /home/bane/openwrt/bin/brcm2708/packages /home/bane/openwrt/build_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/Python-2.7.13/ipkg-brcm2708/python-setuptools/CONTROL /home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/pkginfo
find /home/bane/openwrt/build_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/Python-2.7.13/ipkg-install -name ".pyc" -o -name ".pyo" -o -name "*.exe" | xargs rm -f
install -d -m0755 /home/bane/openwrt/build_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/Python-2.7.13/ipkg-brcm2708/python-setuptools/usr/bin /home/bane/openwrt/build_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/Python-2.7.13/ipkg-brcm2708/python-setuptools/usr/lib/python2.7/site-packages
Adjust shebang to proper python location on target
sed "1s/./#!/usr/bin/python2.7/" -i /home/bane/openwrt/build_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/Python-2.7.13/install-setuptools/bin/
sed: can't read /home/bane/openwrt/build_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/Python-2.7.13/install-setuptools/bin/*: No such file or directory
make[3]: *** [/home/bane/openwrt/bin/brcm2708/packages/packages/python-setuptools_2.7.13-4_brcm2708.ipk] Error 2
make[3]: Leaving directory /home/bane/openwrt/feeds/packages/lang/python' make[2]: *** [package/feeds/packages/python/compile] Error 2 make[2]: Leaving directory/home/bane/openwrt'
make[1]: *** [/home/bane/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.15_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/bane/openwrt'
make: *** [world] Error 2
I tried to clean,dirclean and distclean and try to build again, but i get this again.
How i can install setuptools?
That is bug on OpenWRT?
Thank you ver much !

(Last edited by bane on 2 Feb 2017, 18:30)