[oe] [meta-qt5] qtbase_5.4.2 do_install fails to chown fonts
Khem Raj
raj.khem at gmail.com
Wed Aug 12 23:23:52 UTC 2015
> On Aug 12, 2015, at 11:37 AM, Denys Dmytriyenko <denis at denix.org> wrote:
>
> 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?
>
seems sane to me.
> --
> Denys
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150812/e93e2d12/attachment-0002.sig>
More information about the Openembedded-devel
mailing list