* [Buildroot] Issue adding subprocess32 python package to buildroot
@ 2017-09-08 14:18 Paul Gildea
2017-09-09 16:14 ` Yann E. MORIN
2017-09-11 23:07 ` Arnout Vandecappelle
0 siblings, 2 replies; 6+ messages in thread
From: Paul Gildea @ 2017-09-08 14:18 UTC (permalink / raw)
To: buildroot
I am trying to install subprocess32 with my python 2.7 installation
via buildroot. It's an older version of buildroot and doesn't have
python-package, subprocess32 appeared to install correctly but when I
import it on the embedded system I get an error:
>>> import subprocess32
/usr/lib/python2.7/site-packages/subprocess32.py:472: RuntimeWarning:
The _posixsubprocess module is not being used. Child process
reliability may suffer if your pro
gram uses threads.
"program uses threads.", RuntimeWarning)
Following this path I tried to import _posixsubprocess
>>>import _posixsubprocess
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define init function (init_posixsubprocess)
_posixsubprocess does have init_posixsubprocess https://
github.com/google/python-subprocess32/blob/master/_posixsubprocess.c#L879
I can use subprocess32 otherwise, I tested out it's basic
functionality.It seems to me like something in my build system is not
doing the right thing, any ideas?
Output from building:
^[[7m>>> python-subprocess32 3.2.7 Extracting^[[27m
^[[7m>>> python-subprocess32 3.2.7 Patching package/python-subprocess32^[[27m
^[[7m>>> python-subprocess32 3.2.7 Configuring^[[27m
^[[7m>>> python-subprocess32 3.2.7 Building^[[27m
(cd /media/vmpart/5.1.0_x86/buildroot/output/build/python-subprocess32-3.2.7;
/media/vmpart/5.1.0_x86/buildroot/output/host/usr/bin/python setup.py
build)
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying subprocess32.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_posixsubprocess' extension
creating build/temp.linux-x86_64-2.7
copying subprocess32.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_posixsubprocess' extension
creating build/temp.linux-x86_64-2.7
/media/vmpart/5.1.0_x86/buildroot/output/host/usr/bin/ccache
/usr/bin/gcc -pthread -fno-strict-aliasing -O2
-I/media/vmpart/5.1.0_x86/buildroot/output/host/include
-I/media/vmpart/5.1.0_x86/buildroot/output/host/usr/include -DNDEBUG
-g -O3 -Wall -Wstrict-prototypes -fPIC
-I/media/vmpart/5.1.0_x86/buildroot/output/host/usr/include/python2.7
-c _posixsubprocess.c -o
build/temp.linux-x86_64-2.7/_posixsubprocess.o
/media/vmpart/5.1.0_x86/buildroot/output/host/usr/bin/ccache
/usr/bin/gcc -pthread -shared
-L/media/vmpart/5.1.0_x86/buildroot/output/host/lib
-L/media/vmpart/5.1.0_x86/buildroot/output/host/usr/lib
-Wl,-rpath,/media/vmpart/5.1.0_x86/buildroot/output/host/usr/lib
build/temp.linux-x86_64-2.7/_posixsubprocess.o
-L/media/vmpart/5.1.0_x86/buildroot/output/host/usr/lib -lpython2.7 -o
build/lib.linux-x86_64-2.7/_posixsubprocess.so
^[[7m>>> python-subprocess32 3.2.7 Installing to target^[[27m
(cd /media/vmpart/5.1.0_x86/buildroot/output/build/python-subprocess32-3.2.7;
/media/vmpart/5.1.0_x86/buildroot/output/host/usr/bin/python setup.py
install --prefix=/media/vmpart/5.1.0_x86/buildroot/output/target/usr)
running install
running build
running build_py
running build_ext
running install_lib
copying build/lib.linux-x86_64-2.7/_posixsubprocess.so ->
/media/vmpart/5.1.0_x86/buildroot/output/target/usr/lib/python2.7/site-packages
running install_egg_info
Removing /media/vmpart/5.1.0_x86/buildroot/output/target/usr/lib/python2.7/site-packages/subprocess32-3.2.7-py2.7.egg-info
Writing /media/vmpart/5.1.0_x86/buildroot/output/target/usr/lib/python2.7/site-packages/subprocess32-3.2.7-py2.7.egg-info
My makefile:
#############################################################
#
# Subprocess32 module for python
#
#############################################################
PYTHON_SUBPROCESS32_VERSION = 3.2.7
PYTHON_SUBPROCESS32_SOURCE = subprocess32-$(PYTHON_SUBPROCESS32_VERSION).tar.gz
PYTHON_SUBPROCESS32_SITE = https://pypi.python.org/pypi/subprocess32
PYTHON_SUBPROCESS32_DEPENDENCIES = python
define PYTHON_SUBPROCESS32_BUILD_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
endef
define PYTHON_SUBPROCESS32_INSTALL_TARGET_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install
--prefix=$(TARGET_DIR)/usr)
endef
$(eval $(call GENTARGETS,package,python-subprocess32))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170908/e0ee29e4/attachment.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Issue adding subprocess32 python package to buildroot
2017-09-08 14:18 [Buildroot] Issue adding subprocess32 python package to buildroot Paul Gildea
@ 2017-09-09 16:14 ` Yann E. MORIN
2017-09-09 18:53 ` Thomas Petazzoni
2017-09-09 19:03 ` Paul Gildea
2017-09-11 23:07 ` Arnout Vandecappelle
1 sibling, 2 replies; 6+ messages in thread
From: Yann E. MORIN @ 2017-09-09 16:14 UTC (permalink / raw)
To: buildroot
Paul, All,
On 2017-09-08 15:18 +0100, Paul Gildea spake thusly:
> I am trying to install subprocess32 with my python 2.7 installation via
> buildroot. It's an older version of buildroot and doesn't have
> python-package,
python-package was introduced in December 2013, so appeared in Buildroot
2014.02. This means you are using version that is almost 4 years old
now.
And below, we can see that you are using the GENTARGETS infrastructure.
This was removed in July 2012, now more than 5 years ago...
We can't help on such an old version.
I would suggest that you upgrade to at least our first LTS version,
2017.02, or to the latest release, 2017.08.
Regards,
Yann E. MORIN.
> subprocess32 appeared to install correctly but when I
> import it on the embedded system I get an error:
>
> >>> import subprocess32/usr/lib/python2.7/site-
> packages/subprocess32.py:472: RuntimeWarning: The _posixsubprocess module is not being used. Child process reliability may suffer if your pro
> gram uses threads. "program uses threads.", RuntimeWarning)
> Following this path I tried to import _posixsubprocess
>
>
>
> >>>import _posixsubprocessTraceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: dynamic module does not define init function (init_posixsubprocess)
>
> ?_posixsubprocess does have init_posixsubprocess?
> [1]https://github.com/google/python-
> subprocess32/blob/master/_posixsubprocess.c#L879
>
> I can use subprocess32 otherwise, I tested out it's basic functionality.It seems to me like something in my build system is not doing the right thing, any ideas?
>
>
>
> Output from building:
>
> ^[[7m>>> python-subprocess32 3.2.7 Extracting^[[27m
> ^[[7m>>> python-subprocess32 3.2.7 Patching package/python-subprocess32^[[
> 27m^[[7m>>> python-subprocess32 3.2.7 Configuring^[[27m
> ^[[7m>>> python-subprocess32 3.2.7 Building^[[27m
> (cd /media/vmpart/5.1.0_x86/buildroot/output/build/python-
> subprocess32-3.2.7; /media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/bin/python setup.py build)
> running buildrunning build_pycreating build
> creating build/lib.linux-x86_64-2.7copying subprocess32.py -> build/lib.linux-x86_64-2.7
> running build_extbuilding '_posixsubprocess' extension
> creating build/temp.linux-x86_64-2.7copying subprocess32.py -> build/lib.linux-x86_64-2.7
> running build_extbuilding '_posixsubprocess' extension
> creating build/temp.linux-x86_64-2.7/media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/bin/ccache /usr/bin/gcc -pthread -fno-strict-aliasing -O2 -I/media/vmpart/5.1.0_x86/
> buildroot/output/host/include -I/media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/include -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/include/python2.7 -c _posixsubprocess.c -o build/temp.linux-x86_64-2.7/_
> posixsubprocess.o/media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/bin/ccache /usr/bin/gcc -pthread -shared -L/media/vmpart/5.1.0_x86/
> buildroot/output/host/lib -L/media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/lib -Wl,-rpath,/media/vmpart/5.1.
> 0_x86/buildroot/output/host/usr/lib build/temp.linux-x86_64-2.7/_
> posixsubprocess.o -L/media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/_
> posixsubprocess.so^[[7m>>> python-subprocess32 3.2.7 Installing to target^[[27m
> (cd /media/vmpart/5.1.0_x86/buildroot/output/build/python-
> subprocess32-3.2.7; /media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/bin/python setup.py install --prefix=/media/vmpart/5.1.0_
> x86/buildroot/output/target/usr)running install
> running buildrunning build_pyrunning build_ext
> running install_libcopying build/lib.linux-x86_64-2.7/_
> posixsubprocess.so -> /media/vmpart/5.1.0_x86/
> buildroot/output/target/usr/lib/python2.7/site-packages
> running install_egg_infoRemoving /media/vmpart/5.1.0_x86/
> buildroot/output/target/usr/lib/python2.7/site-packages/
> subprocess32-3.2.7-py2.7.egg-infoWriting /media/vmpart/5.1.0_x86/
> buildroot/output/target/usr/lib/python2.7/site-packages/
> subprocess32-3.2.7-py2.7.egg-info
>
>
>
>
>
> My makefile:
>
>
>
> ############################################################
> ### Subprocess32 module for python###############################
> ###############################PYTHON_SUBPROCESS32_VERSION = 3.2.7
> PYTHON_SUBPROCESS32_SOURCE = subprocess32-$(PYTHON_
> SUBPROCESS32_VERSION).tar.gzPYTHON_SUBPROCESS32_SITE =
> [2]https://pypi.python.org/pypi/subprocess32
> PYTHON_SUBPROCESS32_DEPENDENCIES = python
> define PYTHON_SUBPROCESS32_BUILD_CMDS (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
> endefdefine PYTHON_SUBPROCESS32_INSTALL_
> TARGET_CMDS (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
> endef$(eval $(call GENTARGETS,package,python-
> subprocess32))
>
> Links:
> 1. https://github.com/google/python-subprocess32/blob/master/_posixsubprocess.c#L879
> 2. https://pypi.python.org/pypi/subprocess32
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Issue adding subprocess32 python package to buildroot
2017-09-09 16:14 ` Yann E. MORIN
@ 2017-09-09 18:53 ` Thomas Petazzoni
2017-09-09 19:03 ` Paul Gildea
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2017-09-09 18:53 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 9 Sep 2017 18:14:01 +0200, Yann E. MORIN wrote:
> On 2017-09-08 15:18 +0100, Paul Gildea spake thusly:
> > I am trying to install subprocess32 with my python 2.7 installation via
> > buildroot. It's an older version of buildroot and doesn't have
> > python-package,
>
> python-package was introduced in December 2013, so appeared in Buildroot
> 2014.02. This means you are using version that is almost 4 years old
> now.
>
> And below, we can see that you are using the GENTARGETS infrastructure.
> This was removed in July 2012, now more than 5 years ago...
>
> We can't help on such an old version.
>
> I would suggest that you upgrade to at least our first LTS version,
> 2017.02, or to the latest release, 2017.08.
I already replied exactly the same thing, to the same person, asking
the same question on Stack Overflow:
https://stackoverflow.com/questions/46079968/issue-importing-subprocess32.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Issue adding subprocess32 python package to buildroot
2017-09-09 16:14 ` Yann E. MORIN
2017-09-09 18:53 ` Thomas Petazzoni
@ 2017-09-09 19:03 ` Paul Gildea
1 sibling, 0 replies; 6+ messages in thread
From: Paul Gildea @ 2017-09-09 19:03 UTC (permalink / raw)
To: buildroot
Hello Yann, unfortunately that is not an option or I would have upgraded.
Nobody would want to work on old software. I understand that makes it so
you can't help.
Thanks
--
Paul
On 9 Sep 2017 17:14, "Yann E. MORIN" <yann.morin.1998@free.fr> wrote:
> Paul, All,
>
> On 2017-09-08 15:18 +0100, Paul Gildea spake thusly:
> > I am trying to install subprocess32 with my python 2.7 installation via
> > buildroot. It's an older version of buildroot and doesn't have
> > python-package,
>
> python-package was introduced in December 2013, so appeared in Buildroot
> 2014.02. This means you are using version that is almost 4 years old
> now.
>
> And below, we can see that you are using the GENTARGETS infrastructure.
> This was removed in July 2012, now more than 5 years ago...
>
> We can't help on such an old version.
>
> I would suggest that you upgrade to at least our first LTS version,
> 2017.02, or to the latest release, 2017.08.
>
> Regards,
> Yann E. MORIN.
>
> > subprocess32 appeared to install correctly but when I
> > import it on the embedded system I get an error:
> >
> > >>> import subprocess32/usr/lib/python2.7/site-
> > packages/subprocess32.py:472: RuntimeWarning: The _posixsubprocess
> module is not being used. Child process reliability may suffer if your pro
> > gram uses threads. "program uses threads.", RuntimeWarning)
> > Following this path I tried to import _posixsubprocess
> >
> >
> >
> > >>>import _posixsubprocessTraceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > ImportError: dynamic module does not define init function
> (init_posixsubprocess)
> >
> > _posixsubprocess does have init_posixsubprocess
> > [1]https://github.com/google/python-
> > subprocess32/blob/master/_posixsubprocess.c#L879
> >
> > I can use subprocess32 otherwise, I tested out it's basic
> functionality.It seems to me like something in my build system is not doing
> the right thing, any ideas?
> >
> >
> >
> > Output from building:
> >
> > ^[[7m>>> python-subprocess32 3.2.7 Extracting^[[27m
> > ^[[7m>>> python-subprocess32 3.2.7 Patching
> package/python-subprocess32^[[
> > 27m^[[7m>>> python-subprocess32 3.2.7 Configuring^[[27m
> > ^[[7m>>> python-subprocess32 3.2.7 Building^[[27m
> > (cd /media/vmpart/5.1.0_x86/buildroot/output/build/python-
> > subprocess32-3.2.7; /media/vmpart/5.1.0_x86/
> > buildroot/output/host/usr/bin/python setup.py build)
> > running buildrunning build_pycreating build
> > creating build/lib.linux-x86_64-2.7copying subprocess32.py ->
> build/lib.linux-x86_64-2.7
> > running build_extbuilding '_posixsubprocess' extension
> > creating build/temp.linux-x86_64-2.7copying subprocess32.py ->
> build/lib.linux-x86_64-2.7
> > running build_extbuilding '_posixsubprocess' extension
> > creating build/temp.linux-x86_64-2.7/media/vmpart/5.1.0_x86/
> > buildroot/output/host/usr/bin/ccache /usr/bin/gcc -pthread
> -fno-strict-aliasing -O2 -I/media/vmpart/5.1.0_x86/
> > buildroot/output/host/include -I/media/vmpart/5.1.0_x86/
> > buildroot/output/host/usr/include -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes -fPIC -I/media/vmpart/5.1.0_x86/
> > buildroot/output/host/usr/include/python2.7 -c _posixsubprocess.c -o
> build/temp.linux-x86_64-2.7/_
> > posixsubprocess.o/media/vmpart/5.1.0_x86/
> > buildroot/output/host/usr/bin/ccache /usr/bin/gcc -pthread -shared
> -L/media/vmpart/5.1.0_x86/
> > buildroot/output/host/lib -L/media/vmpart/5.1.0_x86/
> > buildroot/output/host/usr/lib -Wl,-rpath,/media/vmpart/5.1.
> > 0_x86/buildroot/output/host/usr/lib build/temp.linux-x86_64-2.7/_
> > posixsubprocess.o -L/media/vmpart/5.1.0_x86/
> > buildroot/output/host/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/_
> > posixsubprocess.so^[[7m>>> python-subprocess32 3.2.7 Installing to
> target^[[27m
> > (cd /media/vmpart/5.1.0_x86/buildroot/output/build/python-
> > subprocess32-3.2.7; /media/vmpart/5.1.0_x86/
> > buildroot/output/host/usr/bin/python setup.py install
> --prefix=/media/vmpart/5.1.0_
> > x86/buildroot/output/target/usr)running install
> > running buildrunning build_pyrunning build_ext
> > running install_libcopying build/lib.linux-x86_64-2.7/_
> > posixsubprocess.so -> /media/vmpart/5.1.0_x86/
> > buildroot/output/target/usr/lib/python2.7/site-packages
> > running install_egg_infoRemoving /media/vmpart/5.1.0_x86/
> > buildroot/output/target/usr/lib/python2.7/site-packages/
> > subprocess32-3.2.7-py2.7.egg-infoWriting /media/vmpart/5.1.0_x86/
> > buildroot/output/target/usr/lib/python2.7/site-packages/
> > subprocess32-3.2.7-py2.7.egg-info
> >
> >
> >
> >
> >
> > My makefile:
> >
> >
> >
> > ############################################################
> > ### Subprocess32 module for python###############################
> > ###############################PYTHON_SUBPROCESS32_VERSION = 3.2.7
> > PYTHON_SUBPROCESS32_SOURCE = subprocess32-$(PYTHON_
> > SUBPROCESS32_VERSION).tar.gzPYTHON_SUBPROCESS32_SITE =
> > [2]https://pypi.python.org/pypi/subprocess32
> > PYTHON_SUBPROCESS32_DEPENDENCIES = python
> > define PYTHON_SUBPROCESS32_BUILD_CMDS (cd $(@D);
> $(HOST_DIR)/usr/bin/python setup.py build)
> > endefdefine PYTHON_SUBPROCESS32_INSTALL_
> > TARGET_CMDS (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py
> install --prefix=$(TARGET_DIR)/usr)
> > endef$(eval $(call GENTARGETS,package,python-
> > subprocess32))
> >
> > Links:
> > 1. https://github.com/google/python-subprocess32/blob/
> master/_posixsubprocess.c#L879
> > 2. https://pypi.python.org/pypi/subprocess32
>
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
>
>
> --
> .-----------------.--------------------.------------------.-
> -------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics'
> conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___
> |
> | +33 223 225 172 `------------.-------: X AGAINST | \e/ There
> is no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v
> conspiracy. |
> '------------------------------^-------^------------------^-
> -------------------'
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170909/4b6fefd9/attachment.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Issue adding subprocess32 python package to buildroot
2017-09-08 14:18 [Buildroot] Issue adding subprocess32 python package to buildroot Paul Gildea
2017-09-09 16:14 ` Yann E. MORIN
@ 2017-09-11 23:07 ` Arnout Vandecappelle
2017-09-14 15:22 ` Paul Gildea
1 sibling, 1 reply; 6+ messages in thread
From: Arnout Vandecappelle @ 2017-09-11 23:07 UTC (permalink / raw)
To: buildroot
On 08-09-17 16:18, Paul Gildea wrote:
> /media/vmpart/5.1.0_x86/buildroot/output/host/usr/bin/ccache /usr/bin/gcc -pthread -fno-strict-aliasing -O2 -I/media/vmpart/5.1.0_x86/buildroot/output/host/include -I/media/vmpart/5.1.0_x86/buildroot/output/host/usr/include -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/media/vmpart/5.1.0_x86/buildroot/output/host/usr/include/python2.7 -c _posixsubprocess.c -o build/temp.linux-x86_64-2.7/_posixsubprocess.o
You're using the host compiler to build a target package. You need to pass
CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" to setup.py in the build step.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Issue adding subprocess32 python package to buildroot
2017-09-11 23:07 ` Arnout Vandecappelle
@ 2017-09-14 15:22 ` Paul Gildea
0 siblings, 0 replies; 6+ messages in thread
From: Paul Gildea @ 2017-09-14 15:22 UTC (permalink / raw)
To: buildroot
Thanks Arnout,
That set me on the right path. Disutils was using the wrong compiler for
building shared objects, while the right compiler was being used elsewhere.
Setting the below LDSHARED variable solved the problem:
LDSHARED="$(TARGET_CC) -pthread -shared"
Regards,
--
Paul
On 12 September 2017 at 00:07, Arnout Vandecappelle <arnout@mind.be> wrote:
>
>
> On 08-09-17 16:18, Paul Gildea wrote:
> > /media/vmpart/5.1.0_x86/buildroot/output/host/usr/bin/ccache
> /usr/bin/gcc -pthread -fno-strict-aliasing -O2 -I/media/vmpart/5.1.0_x86/buildroot/output/host/include
> -I/media/vmpart/5.1.0_x86/buildroot/output/host/usr/include -DNDEBUG -g
> -O3 -Wall -Wstrict-prototypes -fPIC -I/media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/include/python2.7 -c _posixsubprocess.c -o
> build/temp.linux-x86_64-2.7/_posixsubprocess.o
>
> You're using the host compiler to build a target package. You need to pass
> CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" to setup.py in the build step.
>
> Regards,
> Arnout
>
> --
> Arnout Vandecappelle arnout at mind be
> Senior Embedded Software Architect +32-16-286500
> Essensium/Mind http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170914/11215ac5/attachment.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-09-14 15:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-08 14:18 [Buildroot] Issue adding subprocess32 python package to buildroot Paul Gildea
2017-09-09 16:14 ` Yann E. MORIN
2017-09-09 18:53 ` Thomas Petazzoni
2017-09-09 19:03 ` Paul Gildea
2017-09-11 23:07 ` Arnout Vandecappelle
2017-09-14 15:22 ` Paul Gildea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox