[OpenWrt-Devel] Build fails installing Python 2.7.13

John Clark jeclark2006 at aim.com
Fri Jan 20 17:43:13 EST 2017


I performed a git on the openwrt ‘trunk’ in November. I just did an ‘update’, and now Python failed to build, at a point where a host version is being installed.

The symbol DESTDIR is not properly set with the tangled included files which should eventually yield the symbol being set.

Make log lines are given below.

I put in a ‘warning’ line into

package/feeds/packages/python/files/python-host.mk

And one can see that the symbol STAGING_DIR_HOSTPKG is not being set.

files/python-host.mk:14: STAGING_DIR_HOSTPKG is 


At this point I don’t know where STAGING_DIR_HOSTPKG is being set in the various include files spread through out the OpenWRT build system.

Any help would be appreciated.

John Clark.

——— Last few lines of build process, indicating failure to install. Fortunately it is due to the fact that I was not ‘root’, that it failed.


make[3]: Entering directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115/feeds/packages/lang/python'
files/python-host.mk:14: STAGING_DIR_HOSTPKG is 
make -C /home/projects/OS/OpenWRT_P1020/trunk-20161115/build_dir/target-powerpc_8540_musl-1.1.15/host/Python-2.7.13 install
make[4]: Entering directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115/build_dir/target-powerpc_8540_musl-1.1.15/host/Python-2.7.13'
/usr/bin/install -c python /bin/python2.7
/usr/bin/install: cannot create regular file '/bin/python2.7': Permission denied
Makefile:1002: recipe for target 'altbininstall' failed
make[4]: *** [altbininstall] Error 1
make[4]: Leaving directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115/build_dir/target-powerpc_8540_musl-1.1.15/host/Python-2.7.13'
Makefile:251: recipe for target '/home/projects/OS/OpenWRT_P1020/trunk-20161115/staging_dir/target-powerpc_8540_musl-1.1.15/host/stamp/.python_installed' failed
make[3]: *** [/home/projects/OS/OpenWRT_P1020/trunk-20161115/staging_dir/target-powerpc_8540_musl-1.1.15/host/stamp/.python_installed] Error 2
make[3]: Leaving directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115/feeds/packages/lang/python'
package/Makefile:196: recipe for target 'package/feeds/packages/python/host/compile' failed
make[2]: *** [package/feeds/packages/python/host/compile] Error 2
make[2]: Leaving directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115'
package/Makefile:193: recipe for target '/home/projects/OS/OpenWRT_P1020/trunk-20161115/staging_dir/target-powerpc_8540_musl-1.1.15/stamp/.package_compile' failed
make[1]: *** [/home/projects/OS/OpenWRT_P1020/trunk-20161115/staging_dir/target-powerpc_8540_musl-1.1.15/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115'
/home/projects/OS/OpenWRT_P1020/trunk-20161115/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 2


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20170120/7f4924a9/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list