On Tue, Apr 26, 2016 at 5:36 PM, Burton, Ross <ross.bur...@intel.com> wrote: > On 26 April 2016 at 20:08, Mark Asselstine <mark.asselst...@windriver.com> > wrote: > >> | Traceback (most recent call last): >> | File "./config.status", line 9, in <module> >> | from ConfigStatus import config_status >> | File >> "/build/bitbake_build/tmp/work/corei7-64-wrs-linux/mozjs/17.0.0-r0/mozjs17.0.0/js/src/build/ConfigStatus.py", >> line 11, in <module> >> | import sys, re, os, posixpath, ntpath >> | File "/usr/lib/python2.7/ntpath.py", line 15, in <module> >> | from genericpath import _unicode >> | ImportError: cannot import name _unicode >> | WARNING: exit code 1 from a shell command. >> | ERROR: Function failed: do_configure (log file is located at >> /build//bitbake_build/tmp/work/corei7-64-wrs-linux/mozjs/17.0.0-r0/temp/do_configure/log.do_configure.1056 >> > > I'm not sure using pythonnative is the right fix here. Executing python > using the host python should just work, so why does importing ntpath fail > using your host python?
Correct. Host python should and does work but configure is executing sysroot python and using host libraries. > > What happens if you run the host python in a terminal and do "import > ntpath"? Does your host's python have a crippled class library or is broken > in some way? Again, host python does work, it is a matter of sysroot python being executed and using host libs. So agreed there are two solutions, fix things to use host python or the fix I have proposed. Mark > > Ross > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel