Re: [yocto] Fixing packaging errors

2016-01-22 Thread Christopher Larson
On Thu, Jan 21, 2016 at 11:57 PM, Gary Thomas  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 gthomas1107 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 gthomas1143 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 gthomas1451 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 gthomas1155 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 gthomas2504 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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Fixing packaging errors

2016-01-21 Thread Gary Thomas

I'm getting this packaging error:

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 gthomas1107 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 gthomas1143 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 gthomas1451 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 gthomas1155 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 gthomas2504 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?
* All the rest of the libraries are set up the same.  Why don't
  they get the same error?

Any pointers appreciated, thanks

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto