Hi, On Fri, Jan 18, 2019 at 09:05:28AM +0000, Denis OSTERLAND wrote: > I have tested it here with a minimal configuration and I fails to build... > > --------------------------------- > target: host-python-scons.compile > --------------------------------- > > ptxdist: executing: cd > /home/osterlad/BSPs/OSELAS.BSP-Pengutronix-Generic/platform-sabrelite/build-host/python-scons-3.0.1 > && PATH=\/home/osterlad/BSPs/OSELAS.BSP-Pengutronix-Generic/platform- > sabrelite/sysroot-host/lib/wrapper:/home/osterlad/BSPs/OSELAS.BSP-Pengutronix-Generic/platform-sabrelite/sysroot-host/bin:/home/osterlad/BSPs/OSELAS.BSP-Pengutronix-Generic/platform-sabrelite/sysroot- > host/sbin:/home/osterlad/BSPs/OSELAS.BSP-Pengutronix-Generic/selected_toolchain:/usr/lib/x86_64-linux-gnu/ptxdist- > 2018.12.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > PKGCONFIG_WHITELIST_HOST='' PKGCONFIG_WHITELIST_TARGET='' > PKGCONFIG_WHITELIST_SRC='host-python-scons' > SYSROOT='/home/osterlad/BSPs/OSELAS.BSP-Pengutronix-Generic/platform-sabrelite/sysroot-host' > V=1 VERBOSE=1 KBUILD_BUILD_TIMESTAMP=2018-12-01T00:00:00+00:00 > KBUILD_BUILD_USER=ptxdist KBUILD_BUILD_HOST=ptxdist > enable_option_checking=fatal enable_maintainer_mode=no enable_static=no > CC="gcc" CXX="g++" PYTHONPATH="/home/osterlad/BSPs/OSELAS.BSP-Pengutronix- > Generic/platform-sabrelite/sysroot-host/lib/python2.7/site-packages" > /home/osterlad/BSPs/OSELAS.BSP-Pengutronix-Generic/platform-sabrelite/sysroot-host/bin/python2.7 > setup.py build > > /bin/bash: line 2: > /home/osterlad/BSPs/OSELAS.BSP-Pengutronix-Generic/platform-sabrelite/sysroot-host/bin/python2.7: > No such file or directory > > > The rules/host-python-setuptools.in selects HOST_PYTHON instead of > HOST_SYSTEM_PYTHON as well. > > I find only "python" as "pkg_conf_tool" inĀ > scripts/lib/ptxd_make_world_common.sh. > Is there some "_CONF_TOOL := system-python"?
Right, I forgot about this. Try master, I've pushed a fix that uses the system Python if the package selects HOST_SYSTEM_PYTHON. But maybe less magic and a explicit "_CONF_TOOL := system-python" would be better. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de