On 3 April 2017 at 14:12, Dmitry Rozhkov <dmitry.rozh...@linux.intel.com>
wrote:

> The library libxml2 can provide its own bindings for python2 in addition
> to the third party python-lxml and python3-lxml packages if this
> functionality is enabled in PACKAGECONFIG.
>
> But in case the functionality is disabled there's no need to depend
> on python2.
>
> Make the dependency on python2 enabled only if the python feature
> is added to PACKAGECONFIG. Also don't produce the binary
> package libxml2-python if it's not needed.
>

| ERROR: oe_runmake failed
| cc1: warning: include location "/usr/include/python3.4m" is unsafe for
cross-compilation [-Wpoison-system-directories]
| cc1: warning: include location "/usr/include/python3.4m" is unsafe for
cross-compilation [-Wpoison-system-directories]
| cc1: warning: include location "/usr/include/python3.4m" is unsafe for
cross-compilation [-Wpoison-system-directories]
| In file included from /usr/include/python3.4m/Python.h:8:0,
|                  from ../../libxml2-2.9.4/python/libxml2-py.c:3:
| /usr/include/python3.4m/pyconfig.h:3:52: fatal error:
x86_64-linux-gnu/python3.4m/pyconfig.h: No such file or directory
|  #  include <x86_64-linux-gnu/python3.4m/pyconfig.h>
|                                                     ^
| In file included from /usr/include/python3.4m/Python.h:8:0,
|                  from ../../libxml2-2.9.4/python/libxml_wrap.h:1,
|                  from ../../libxml2-2.9.4/python/types.c:9:
| /usr/include/python3.4m/pyconfig.h:3:52: fatal error:
x86_64-linux-gnu/python3.4m/pyconfig.h: No such file or directory
|  #  include <x86_64-linux-gnu/python3.4m/pyconfig.h>
|                                                     ^
| compilation terminated.
| compilation terminated.
| Makefile:625: recipe for target 'types.lo' failed
| make[4]: *** [types.lo] Error 1
| make[4]: *** Waiting for unfinished jobs....
| Makefile:625: recipe for target 'libxml2-py.lo' failed
| make[4]: *** [libxml2-py.lo] Error 1
| In file included from /usr/include/python3.4m/Python.h:8:0,
|                  from ../../libxml2-2.9.4/python/libxml.c:14:
| /usr/include/python3.4m/pyconfig.h:3:52: fatal error:
x86_64-linux-gnu/python3.4m/pyconfig.h: No such file or directory
|  #  include <x86_64-linux-gnu/python3.4m/pyconfig.h>
|                                                     ^
| compilation terminated.
| Makefile:625: recipe for target 'libxml.lo' failed

Something went wrong...  Promise it built before I applied the patch.  Also
the PACKAGES change shouldn't be required as an empty package won't be
generated.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to