Skip to contentSkip to conversation

Fixing packaging errors

DISCUSSION Gary Thomas 2 participants 2 messages Jan 22, 2016

lore
Share & tools
lore
#0 lore raw

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

Any pointers appreciated, thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 47 lines · Gary Thomas

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
(quoted diff) +0 -2
-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

Quoted 4 lines

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.

Quoted 3 lines

* 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.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics