Gettext really depends on libxml2, which itself links with liblzma. The thing is, when host-gettext gets linked with a locally-installed libxml2, symbols in the latter defined in liblzma won't possibly match the ones in a host-liblzma if it is built and installed. The solution is to add host-libxml2 to HOST_GETTEXT_DEPENDENCIES. I suspect this problem is symptomatic of a more general problem of well-defined dependencies of host-packages.
Ignacy, All, > Gettext really depends on libxml2 Indeed. > which itself links with liblzma Not in Buildroot, since we explicitly disable lzma support in libxml2, which is causing a problem similar to the one you report. > The solution is to add host-libxml2 to HOST_GETTEXT_DEPENDENCIES. Indeed, it looks like the only option available to us (there is no option to disable xml requirement in gettext). Care to send a patch, as documented there: http://buildroot.net/downloads/manual/manual.html#submitting-patches Thanks! :-)
A patch has been proposed to address this, but there are some concerns about it. See http://patchwork.ozlabs.org/patch/442466/.
I've sent an updated version of the proposed fix, and have updated the commit log with extra information on the reason why we want host-gettext to depend on host-libxml2: https://patchwork.ozlabs.org/patch/561119/
Fixed with: https://git.buildroot.org/buildroot/commit/?id=a7fe2ce6f499830f590177bf9a76cf144fd198dc Thanks for the report! :-)