Bug 5828 - Possible issue with python
Summary: Possible issue with python
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2012.08
Hardware: Other Linux
: P5 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-25 07:22 UTC by hardcorefs
Modified: 2013-05-26 10:52 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
the config file from buildroot (26.95 KB, application/octet-stream)
2012-12-25 07:22 UTC, hardcorefs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hardcorefs 2012-12-25 07:22:48 UTC
Created attachment 4718 [details]
the config file from buildroot

Once the disk images have been built and transplanted to the  embedded system.

The python seems to function correctly, however some python packages require the use of GCC
to build the libraries

when executing the install of these packages:
 "python setup.py install"

the python setup for GCC points to the OLD location on the computer used to cross build the environment:

/home/bob/buildroot-2012.08/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -fno-strict-aliasing -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c conftest.c -o conftest.o
unable to execute /home/bob/buildroot-2012.08/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc: No such file or directory
error: command '/home/bob/buildroot-2012.08/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc' failed with exit status 1
#

rather than the new location in the embedded systems 'file system'
Comment 1 Gustavo Zacarias 2013-05-04 13:51:41 UTC
Do you intend to install python packages directly from the target into the target? (not from buildroot)
The recommended way if you're missing packages is to create new ones in buildroot.
And since the toolchain in the target has been deprecated only pure python packages would work your way.
Comment 2 Thomas Petazzoni 2013-05-26 10:52:24 UTC
We don't support building things on the target, and the reporter hasn't provided any further input on the issue.

Feel free to reopen, and open a different bug, if you're affected by this problem.