<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 3 April 2017 at 14:12, Dmitry Rozhkov <span dir="ltr"><<a href="mailto:dmitry.rozhkov@linux.intel.com" target="_blank">dmitry.rozhkov@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div id="gmail-:22r" class="gmail-a3s gmail-aXjCH gmail-m15b3404d66c1afaf">The library libxml2 can provide its own bindings for python2 in addition<br>
to the third party python-lxml and python3-lxml packages if this<br>
functionality is enabled in PACKAGECONFIG.<br>
<br>
But in case the functionality is disabled there's no need to depend<br>
on python2.<br>
<br>
Make the dependency on python2 enabled only if the python feature<br>
is added to PACKAGECONFIG. Also don't produce the binary<br>
package libxml2-python if it's not needed.</div></blockquote></div><br><div class="gmail_extra">| ERROR: oe_runmake failed</div><div class="gmail_extra">| cc1: warning: include location "/usr/include/python3.4m" is unsafe for cross-compilation [-Wpoison-system-directories]</div><div class="gmail_extra">| cc1: warning: include location "/usr/include/python3.4m" is unsafe for cross-compilation [-Wpoison-system-directories]</div><div class="gmail_extra">| cc1: warning: include location "/usr/include/python3.4m" is unsafe for cross-compilation [-Wpoison-system-directories]</div><div class="gmail_extra">| In file included from /usr/include/python3.4m/Python.h:8:0,</div><div class="gmail_extra">| from ../../libxml2-2.9.4/python/libxml2-py.c:3:</div><div class="gmail_extra">| /usr/include/python3.4m/pyconfig.h:3:52: fatal error: x86_64-linux-gnu/python3.4m/pyconfig.h: No such file or directory</div><div class="gmail_extra">| # include <x86_64-linux-gnu/python3.4m/pyconfig.h></div><div class="gmail_extra">| ^</div><div class="gmail_extra">| In file included from /usr/include/python3.4m/Python.h:8:0,</div><div class="gmail_extra">| from ../../libxml2-2.9.4/python/libxml_wrap.h:1,</div><div class="gmail_extra">| from ../../libxml2-2.9.4/python/types.c:9:</div><div class="gmail_extra">| /usr/include/python3.4m/pyconfig.h:3:52: fatal error: x86_64-linux-gnu/python3.4m/pyconfig.h: No such file or directory</div><div class="gmail_extra">| # include <x86_64-linux-gnu/python3.4m/pyconfig.h></div><div class="gmail_extra">| ^</div><div class="gmail_extra">| compilation terminated.</div><div class="gmail_extra">| compilation terminated.</div><div class="gmail_extra">| Makefile:625: recipe for target 'types.lo' failed</div><div class="gmail_extra">| make[4]: *** [types.lo] Error 1</div><div class="gmail_extra">| make[4]: *** Waiting for unfinished jobs....</div><div class="gmail_extra">| Makefile:625: recipe for target 'libxml2-py.lo' failed</div><div class="gmail_extra">| make[4]: *** [libxml2-py.lo] Error 1</div><div class="gmail_extra">| In file included from /usr/include/python3.4m/Python.h:8:0,</div><div class="gmail_extra">| from ../../libxml2-2.9.4/python/libxml.c:14:</div><div class="gmail_extra">| /usr/include/python3.4m/pyconfig.h:3:52: fatal error: x86_64-linux-gnu/python3.4m/pyconfig.h: No such file or directory</div><div class="gmail_extra">| # include <x86_64-linux-gnu/python3.4m/pyconfig.h></div><div class="gmail_extra">| ^</div><div class="gmail_extra">| compilation terminated.</div><div class="gmail_extra">| Makefile:625: recipe for target 'libxml.lo' failed</div><div class="gmail_extra"><br></div><div class="gmail_extra">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.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div></div>