On 05/24/2018 05:18 AM, changqing...@windriver.com wrote:
in update_font_cache, it runs:
qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir} -E
${fontconfigcacheenv} $D${bindir}/fc-cache --sysroot=$D --system-only
qemuwrapper sets LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir} for fc-cache,
if inherit allarch, ${base_libdir} is "/lib", ${libdir} is "/usr/lib",
but in this case, fc-cache need /lib64 and /usr/lib64 to run,
So fc-cache doesn't work, and caused the warning.
so remove allarch from these two recipes who both inherit allarch and fontcahe
to fix this problem.
We have discussed and attempted to fix this several times before,
including the way you do above. Removing allarch is not right, as the
content of the recipe is arch-independent and so should be built only once.
The right way to deal with this is to fix qemuwrapper-cross, so that it
sets the library paths itself, rather than gets them from
postinst_intercept.
Alex
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core