qtbase_5.4.2 do_install fails to chown fonts
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?
Signature · 1 line
Denys
Quoted 21 lines · Denys Dmytriyenko
Hi,
Has anyone seen the issue of qtbase_5.4.2 failing at the end of
do_installto 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/libdirectly. This usually happens with "cp -a" when/usr/libdestination is empty...
Quoted 7 lines
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}/fontsAny objections, comments, suggestions?
seems sane to me.
Quoted 7 lines
--
Denys
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel