[oe] [meta-qt5] qtbase_5.4.2 do_install fails to chown fonts
Denys Dmytriyenko
denis at denix.org
Wed Aug 12 18:37:30 UTC 2015
Hi,
Has anyone seen the issue of qtbase_5.4.2 failing at the end of do_install to
chown fonts? Here's the message:
chown: cannot access `[cut]/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image//usr/lib/fonts': No such file or directory
Here's the code that fails:
https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase_git.bb#L230
Looking at the install location, it seems that the previous command
cp -a ${S}/lib/fonts ${D}/${OE_QMAKE_PATH_LIBS}
copied font files not into /usr/lib/fonts, but instead into /usr/lib directly.
This usually happens with "cp -a" when /usr/lib destination is empty...
I'm thinking about submitting a patch that replaces above copy with:
mkdir -p ${D}/${OE_QMAKE_PATH_LIBS}/fonts
cp -a ${S}/lib/fonts/* ${D}/${OE_QMAKE_PATH_LIBS}/fonts
Any objections, comments, suggestions?
--
Denys
More information about the Openembedded-devel
mailing list