[yocto] Fixing packaging errors

Christopher Larson clarson at kergoth.com
Fri Jan 22 07:52:22 PST 2016


On Thu, Jan 21, 2016 at 11:57 PM, Gary Thomas <gary at mlbassoc.com> wrote:

> ERROR: QA Issue: non -dev/-dbg/nativesdk- package contains symlink .so:
> graphviz path
> 'work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/packages-split/graphviz/usr/lib/graphviz/libgvplugin_gd.so'
> [dev-so]
>
> Looking at the installed image, I see:
>
> $ ls -l
> tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/graphviz/2.38.0-r0/image/usr/lib/graphviz/
> total 3016
> -rwxr-xr-x 3 gthomas gthomas    1107 Jan 22 07:48 libgvplugin_core.la
> lrwxrwxrwx 1 gthomas gthomas      25 Jan 22 07:48 libgvplugin_core.so ->
> libgvplugin_core.so.6.0.0
> lrwxrwxrwx 1 gthomas gthomas      25 Jan 22 07:48 libgvplugin_core.so.6 ->
> libgvplugin_core.so.6.0.0
> -rwxr-xr-x 1 gthomas gthomas  341780 Jan 22 07:48
> libgvplugin_core.so.6.0.0
> -rwxr-xr-x 3 gthomas gthomas    1143 Jan 22 07:48
> libgvplugin_dot_layout.la
> lrwxrwxrwx 1 gthomas gthomas      31 Jan 22 07:48
> libgvplugin_dot_layout.so -> libgvplugin_dot_layout.so.6.0.0
> lrwxrwxrwx 1 gthomas gthomas      31 Jan 22 07:48
> libgvplugin_dot_layout.so.6 -> libgvplugin_dot_layout.so.6.0.0
> -rwxr-xr-x 1 gthomas gthomas  616340 Jan 22 07:48
> libgvplugin_dot_layout.so.6.0.0
> -rwxr-xr-x 3 gthomas gthomas    1451 Jan 22 07:48 libgvplugin_gd.la
> lrwxrwxrwx 1 gthomas gthomas      23 Jan 22 07:48 libgvplugin_gd.so ->
> libgvplugin_gd.so.6.0.0
> lrwxrwxrwx 1 gthomas gthomas      23 Jan 22 07:48 libgvplugin_gd.so.6 ->
> libgvplugin_gd.so.6.0.0
> -rwxr-xr-x 1 gthomas gthomas  141248 Jan 22 07:48 libgvplugin_gd.so.6.0.0
> -rwxr-xr-x 3 gthomas gthomas    1155 Jan 22 07:48
> libgvplugin_neato_layout.la
> lrwxrwxrwx 1 gthomas gthomas      33 Jan 22 07:48
> libgvplugin_neato_layout.so -> libgvplugin_neato_layout.so.6.0.0
> lrwxrwxrwx 1 gthomas gthomas      33 Jan 22 07:48
> libgvplugin_neato_layout.so.6 -> libgvplugin_neato_layout.so.6.0.0
> -rwxr-xr-x 1 gthomas gthomas 1949008 Jan 22 07:48
> libgvplugin_neato_layout.so.6.0.0
> -rwxr-xr-x 3 gthomas gthomas    2504 Jan 22 07:48 libgvplugin_rsvg.la
> lrwxrwxrwx 1 gthomas gthomas      25 Jan 22 07:48 libgvplugin_rsvg.so ->
> libgvplugin_rsvg.so.6.0.0
> lrwxrwxrwx 1 gthomas gthomas      25 Jan 22 07:48 libgvplugin_rsvg.so.6 ->
> libgvplugin_rsvg.so.6.0.0
> -rwxr-xr-x 1 gthomas gthomas   10764 Jan 22 07:48
> libgvplugin_rsvg.so.6.0.0
>
> I have two questions about this.
> * What is wrong with the setup of the libgvplugin_gd library
>   and how can I fix it?
>

Generally the .so for a normal library, non-plugin, is only required for
development. In this case, it's a plugin, so it'll be dlopen'd, so I expect
you could just opt-out of the QA check in this case.


> * All the rest of the libraries are set up the same.  Why don't
>   they get the same error?
>

IIRC there was a bug in the package qa bits which caused later messages to
suppress earlier due to teh use of a dictionary for the messages (the wrong
structure for this, no idea why it was done that way). There have been one
or more patches on teh list for this recently.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160122/331ff333/attachment.html>


More information about the yocto mailing list