mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package
Date: Fri, 18 Jan 2019 11:38:51 +0100	[thread overview]
Message-ID: <20190118103851.gbcib7skfpgsllag@pengutronix.de> (raw)
In-Reply-To: <1547802328.4787.6.camel@diehl.com>

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

  reply	other threads:[~2019-01-18 10:38 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-04  8:11 [ptxdist] [PATCH 0/2] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-04  8:11 ` [ptxdist] [PATCH 2/2] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-01-04  8:11 ` [ptxdist] [PATCH 1/2] host-pyhton-scons: add new package Denis OSTERLAND
2019-01-07 15:16   ` Michael Olbrich
2019-01-08  7:21     ` Denis OSTERLAND
2019-01-08  7:37 ` [ptxdist] [PATCH v2 0/2] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-08  7:37   ` [ptxdist] [PATCH v2 2/2] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-01-08  7:37   ` [ptxdist] [PATCH v2 1/2] host-pyhton-scons: add new package Denis OSTERLAND
2019-01-15  8:17   ` [ptxdist] [PATCH v3 0/2] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-15  8:17     ` [ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package Denis OSTERLAND
2019-01-16 15:35       ` Michael Olbrich
2019-01-17 10:53         ` Denis OSTERLAND
2019-01-18  9:05           ` Denis OSTERLAND
2019-01-18 10:38             ` Michael Olbrich [this message]
2019-01-17 13:31       ` Roland Hieber
2019-01-15  8:17     ` [ptxdist] [PATCH v3 2/2] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-01-21 12:01     ` [ptxdist] [PATCH v4 0/3] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-21 12:01       ` [ptxdist] [PATCH v4 1/3] rules: install to sysroot-host/bin with HOST_PYTHON and HOST_SYSTEM_PYTHON Denis OSTERLAND
2019-01-21 12:01       ` [ptxdist] [PATCH v4 3/3] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-02-05  9:07         ` Michael Olbrich
2019-02-05  9:46           ` Denis OSTERLAND
2019-02-05 11:58             ` Michael Olbrich
2019-04-17 10:38             ` Alexander Dahl
2019-04-17 14:02               ` Denis OSTERLAND
2019-01-21 12:01       ` [ptxdist] [PATCH v4 2/3] host-python-scons: add new package Denis OSTERLAND

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190118103851.gbcib7skfpgsllag@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox