<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>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.</div><div><br></div><div>The symbol DESTDIR is not properly set with the tangled included files which should eventually yield the symbol being set.</div><div><br></div><div>Make log lines are given below.</div><div><br></div><div>I put in a ‘warning’ line into</div><div><span style="font-family: Monaco;"><br></span></div><div><span style="font-family: Monaco;">package/feeds/packages/python/files/python-host.mk</span></div><div><br></div><div>And one can see that the symbol <span style="font-family: Monaco;">STAGING_DIR_HOSTPKG</span> is not being set.</div><div><br></div><div><span style="font-family: Monaco;">files/python-host.mk:14: STAGING_DIR_HOSTPKG is</span><span style="font-family: Monaco;"> </span></div><div><br></div><div><br></div><div>At this point I don’t know where <span style="font-family: Monaco;">STAGING_DIR_HOSTPKG</span> is being set in the various include files spread through out the OpenWRT build system.</div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>John Clark.</div><div><br></div><div>——— 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.</div><div><br></div><div><span style="font-family: Monaco;"><br></span></div><div><div style="margin: 0px; font-family: Monaco;">make[3]: Entering directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115/feeds/packages/lang/python'</div><div style="margin: 0px; font-family: Monaco;">files/python-host.mk:14: STAGING_DIR_HOSTPKG is </div><div style="margin: 0px; font-family: Monaco;">make -C /home/projects/OS/OpenWRT_P1020/trunk-20161115/build_dir/target-powerpc_8540_musl-1.1.15/host/Python-2.7.13 install</div><div style="margin: 0px; font-family: Monaco;">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'</div><div style="margin: 0px; font-family: Monaco;">/usr/bin/install -c python /bin/python2.7</div><div style="margin: 0px; font-family: Monaco;">/usr/bin/install: cannot create regular file '/bin/python2.7': Permission denied</div><div style="margin: 0px; font-family: Monaco;">Makefile:1002: recipe for target 'altbininstall' failed</div><div style="margin: 0px; font-family: Monaco;">make[4]: *** [altbininstall] Error 1</div><div style="margin: 0px; font-family: Monaco;">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'</div><div style="margin: 0px; font-family: Monaco;">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</div><div style="margin: 0px; font-family: Monaco;">make[3]: *** [/home/projects/OS/OpenWRT_P1020/trunk-20161115/staging_dir/target-powerpc_8540_musl-1.1.15/host/stamp/.python_installed] Error 2</div><div style="margin: 0px; font-family: Monaco;">make[3]: Leaving directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115/feeds/packages/lang/python'</div><div style="margin: 0px; font-family: Monaco;">package/Makefile:196: recipe for target 'package/feeds/packages/python/host/compile' failed</div><div style="margin: 0px; font-family: Monaco;">make[2]: *** [package/feeds/packages/python/host/compile] Error 2</div><div style="margin: 0px; font-family: Monaco;">make[2]: Leaving directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115'</div><div style="margin: 0px; font-family: Monaco;">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</div><div style="margin: 0px; font-family: Monaco;">make[1]: *** [/home/projects/OS/OpenWRT_P1020/trunk-20161115/staging_dir/target-powerpc_8540_musl-1.1.15/stamp/.package_compile] Error 2</div><div style="margin: 0px; font-family: Monaco;">make[1]: Leaving directory '/home/projects/OS/OpenWRT_P1020/trunk-20161115'</div><div style="margin: 0px; font-family: Monaco;">/home/projects/OS/OpenWRT_P1020/trunk-20161115/include/toplevel.mk:192: recipe for target 'world' failed</div><div style="margin: 0px; font-family: Monaco;">make: *** [world] Error 2</div></div><div><br></div><div><br></div></body></html>