Re: [ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package
Hi, On Fri, Jan 18, 2019 at 09:05:28AM +, 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- | ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package
Hi Michael, 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"? Regards Denis Am Donnerstag, den 17.01.2019, 10:53 + schrieb Denis OSTERLAND: > Hi Michael, > > Am Mittwoch, den 16.01.2019, 16:35 +0100 schrieb Michael Olbrich: > > > > On Tue, Jan 15, 2019 at 08:17:39AM +, Denis OSTERLAND wrote: > > > > > > > > > This patch adds support for scons build system. > > > https://scons.org/ > > > > > > Signed-off-by: Denis Osterland > > The prefix is not correct here. It installs everything to .../local/ > strange > on my system it is installed correct > platform-*/sysroot-host/bin/scons > I will try on buster. > > I used rules/host-python-setuptools.make as template. > Does this one gets installed correct on your system? > > Regards Denis > > > > > > > Michael > > Diehl Connectivity Solutions GmbH > Geschäftsführung: Horst Leonberger > Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht > Nürnberg: HRB 32315 > ___ > > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail > enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten > haben. Bitte loeschen Sie in diesem Fall die Nachricht. > Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung > und/oder Publikation dieser E-Mail ist strengstens untersagt. > The contents of the above mentioned e-mail is not legally binding. This > e-mail contains confidential and/or legally protected information. Please > inform us if you have received this e-mail by > mistake and delete it in such a case. Each unauthorized reproduction, > disclosure, alteration, distribution and/or publication of this e-mail is > strictly prohibited. > ___ > ptxdist mailing list > ptxdist@pengutronix.de Diehl Connectivity Solutions GmbH Geschäftsführung: Horst Leonberger Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht Nürnberg: HRB 32315 ___ Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt. The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited. ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package
In case you're sending v4, do a s/pyhton/python/ in the subject :) - Roland On Tue, Jan 15, 2019 at 08:17:39AM +, Denis OSTERLAND wrote: > This patch adds support for scons build system. > https://scons.org/ > > Signed-off-by: Denis Osterland > --- > rules/host-python-scons.in | 6 ++ > rules/host-python-scons.make | 35 +++ > 2 files changed, 41 insertions(+) > create mode 100644 rules/host-python-scons.in > create mode 100644 rules/host-python-scons.make > > diff --git a/rules/host-python-scons.in b/rules/host-python-scons.in > new file mode 100644 > index 0..0343fc8e1 > --- /dev/null > +++ b/rules/host-python-scons.in > @@ -0,0 +1,6 @@ > +## SECTION=hosttools_noprompt > + > +config HOST_PYTHON_SCONS > + tristate > + default y if ALLYES > + select HOST_SYSTEM_PYTHON > diff --git a/rules/host-python-scons.make b/rules/host-python-scons.make > new file mode 100644 > index 0..8fd42a41f > --- /dev/null > +++ b/rules/host-python-scons.make > @@ -0,0 +1,35 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2019 by Denis Osterland > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +HOST_PACKAGES-$(PTXCONF_HOST_PYTHON_SCONS) += host-python-scons > + > +# > +# Paths and names > +# > +HOST_PYTHON_SCONS_VERSION:= 3.0.1 > +HOST_PYTHON_SCONS_MD5:= b6a292e251b34b82c203b56cfa3968b3 > +HOST_PYTHON_SCONS:= python-scons-$(HOST_PYTHON_SCONS_VERSION) > +HOST_PYTHON_SCONS_SUFFIX := tar.gz > +HOST_PYTHON_SCONS_URL:= $(call ptx/mirror, SF, > scons/scons-$(HOST_PYTHON_SCONS_VERSION).$(HOST_PYTHON_SCONS_SUFFIX)) > +HOST_PYTHON_SCONS_SOURCE := > $(SRCDIR)/$(HOST_PYTHON_SCONS).$(HOST_PYTHON_SCONS_SUFFIX) > +HOST_PYTHON_SCONS_DIR:= $(HOST_BUILDDIR)/$(HOST_PYTHON_SCONS) > +HOST_PYTHON_SCONS_LICENSE:= MIT > +HOST_PYTHON_SCONS_LICENSE_FILES := > file://LICENSE.txt;md5=46ddf66004e5be5566367cb525a66fc6 > + > +# > > +# Prepare > +# > > + > +HOST_PYTHON_SCONS_CONF_TOOL := python > + > +# vim: syntax=make > -- > 2.20.1 > > > > Diehl Connectivity Solutions GmbH > Geschäftsführung: Horst Leonberger > Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht > Nürnberg: HRB 32315 > ___ > > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail > enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten > haben. Bitte loeschen Sie in diesem Fall die Nachricht. > Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung > und/oder Publikation dieser E-Mail ist strengstens untersagt. > The contents of the above mentioned e-mail is not legally binding. This > e-mail contains confidential and/or legally protected information. Please > inform us if you have received this e-mail by > mistake and delete it in such a case. Each unauthorized reproduction, > disclosure, alteration, distribution and/or publication of this e-mail is > strictly prohibited. > > ___ > ptxdist mailing list > ptxdist@pengutronix.de -- Roland Hieber | r.hie...@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package
Hi Michael, Am Mittwoch, den 16.01.2019, 16:35 +0100 schrieb Michael Olbrich: > On Tue, Jan 15, 2019 at 08:17:39AM +, Denis OSTERLAND wrote: > > > > This patch adds support for scons build system. > > https://scons.org/ > > > > Signed-off-by: Denis Osterland > The prefix is not correct here. It installs everything to .../local/ strange on my system it is installed correct platform-*/sysroot-host/bin/scons I will try on buster. I used rules/host-python-setuptools.make as template. Does this one gets installed correct on your system? Regards Denis > > Michael Diehl Connectivity Solutions GmbH Geschäftsführung: Horst Leonberger Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht Nürnberg: HRB 32315 ___ Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt. The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited. ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package
On Tue, Jan 15, 2019 at 08:17:39AM +, Denis OSTERLAND wrote: > This patch adds support for scons build system. > https://scons.org/ > > Signed-off-by: Denis Osterland The prefix is not correct here. It installs everything to .../local/ Michael > --- > rules/host-python-scons.in | 6 ++ > rules/host-python-scons.make | 35 +++ > 2 files changed, 41 insertions(+) > create mode 100644 rules/host-python-scons.in > create mode 100644 rules/host-python-scons.make > > diff --git a/rules/host-python-scons.in b/rules/host-python-scons.in > new file mode 100644 > index 0..0343fc8e1 > --- /dev/null > +++ b/rules/host-python-scons.in > @@ -0,0 +1,6 @@ > +## SECTION=hosttools_noprompt > + > +config HOST_PYTHON_SCONS > + tristate > + default y if ALLYES > + select HOST_SYSTEM_PYTHON > diff --git a/rules/host-python-scons.make b/rules/host-python-scons.make > new file mode 100644 > index 0..8fd42a41f > --- /dev/null > +++ b/rules/host-python-scons.make > @@ -0,0 +1,35 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2019 by Denis Osterland > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +HOST_PACKAGES-$(PTXCONF_HOST_PYTHON_SCONS) += host-python-scons > + > +# > +# Paths and names > +# > +HOST_PYTHON_SCONS_VERSION:= 3.0.1 > +HOST_PYTHON_SCONS_MD5:= b6a292e251b34b82c203b56cfa3968b3 > +HOST_PYTHON_SCONS:= python-scons-$(HOST_PYTHON_SCONS_VERSION) > +HOST_PYTHON_SCONS_SUFFIX := tar.gz > +HOST_PYTHON_SCONS_URL:= $(call ptx/mirror, SF, > scons/scons-$(HOST_PYTHON_SCONS_VERSION).$(HOST_PYTHON_SCONS_SUFFIX)) > +HOST_PYTHON_SCONS_SOURCE := > $(SRCDIR)/$(HOST_PYTHON_SCONS).$(HOST_PYTHON_SCONS_SUFFIX) > +HOST_PYTHON_SCONS_DIR:= $(HOST_BUILDDIR)/$(HOST_PYTHON_SCONS) > +HOST_PYTHON_SCONS_LICENSE:= MIT > +HOST_PYTHON_SCONS_LICENSE_FILES := > file://LICENSE.txt;md5=46ddf66004e5be5566367cb525a66fc6 > + > +# > > +# Prepare > +# > > + > +HOST_PYTHON_SCONS_CONF_TOOL := python > + > +# vim: syntax=make > -- > 2.20.1 > > > > Diehl Connectivity Solutions GmbH > Geschäftsführung: Horst Leonberger > Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht > Nürnberg: HRB 32315 > ___ > > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail > enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten > haben. Bitte loeschen Sie in diesem Fall die Nachricht. > Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung > und/oder Publikation dieser E-Mail ist strengstens untersagt. > The contents of the above mentioned e-mail is not legally binding. This > e-mail contains confidential and/or legally protected information. Please > inform us if you have received this e-mail by > mistake and delete it in such a case. Each unauthorized reproduction, > disclosure, alteration, distribution and/or publication of this e-mail is > strictly prohibited. > > ___ > ptxdist mailing list > ptxdist@pengutronix.de -- 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- | ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package
This patch adds support for scons build system. https://scons.org/ Signed-off-by: Denis Osterland --- rules/host-python-scons.in | 6 ++ rules/host-python-scons.make | 35 +++ 2 files changed, 41 insertions(+) create mode 100644 rules/host-python-scons.in create mode 100644 rules/host-python-scons.make diff --git a/rules/host-python-scons.in b/rules/host-python-scons.in new file mode 100644 index 0..0343fc8e1 --- /dev/null +++ b/rules/host-python-scons.in @@ -0,0 +1,6 @@ +## SECTION=hosttools_noprompt + +config HOST_PYTHON_SCONS + tristate + default y if ALLYES + select HOST_SYSTEM_PYTHON diff --git a/rules/host-python-scons.make b/rules/host-python-scons.make new file mode 100644 index 0..8fd42a41f --- /dev/null +++ b/rules/host-python-scons.make @@ -0,0 +1,35 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Denis Osterland +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_PYTHON_SCONS) += host-python-scons + +# +# Paths and names +# +HOST_PYTHON_SCONS_VERSION := 3.0.1 +HOST_PYTHON_SCONS_MD5 := b6a292e251b34b82c203b56cfa3968b3 +HOST_PYTHON_SCONS := python-scons-$(HOST_PYTHON_SCONS_VERSION) +HOST_PYTHON_SCONS_SUFFIX := tar.gz +HOST_PYTHON_SCONS_URL := $(call ptx/mirror, SF, scons/scons-$(HOST_PYTHON_SCONS_VERSION).$(HOST_PYTHON_SCONS_SUFFIX)) +HOST_PYTHON_SCONS_SOURCE := $(SRCDIR)/$(HOST_PYTHON_SCONS).$(HOST_PYTHON_SCONS_SUFFIX) +HOST_PYTHON_SCONS_DIR := $(HOST_BUILDDIR)/$(HOST_PYTHON_SCONS) +HOST_PYTHON_SCONS_LICENSE := MIT +HOST_PYTHON_SCONS_LICENSE_FILES:= file://LICENSE.txt;md5=46ddf66004e5be5566367cb525a66fc6 + +# +# Prepare +# + +HOST_PYTHON_SCONS_CONF_TOOL:= python + +# vim: syntax=make -- 2.20.1 Diehl Connectivity Solutions GmbH Geschäftsführung: Horst Leonberger Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht Nürnberg: HRB 32315 ___ Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt. The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited. ___ ptxdist mailing list ptxdist@pengutronix.de