[yocto] Packaging questions

Burton, Ross ross.burton at intel.com
Wed Jul 24 07:38:41 PDT 2013


On 24 July 2013 15:30, Gary Thomas <gary at mlbassoc.com> wrote:
>>> ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
>>> amanda path
>>>
>>> '/work/armv7a-vfp-neon-amltd-linux-gnueabi/amanda/3.3.3-r0/packages-split/amanda/usr/lib/amanda/libamar.so'
>>
>>
>> I'm curious, what does the symlink point to?  It's possible that we
>> can refine the check to reduce the number of false positives, because
>> this is a fairly common one that needs to be skipped.
>
>
> The .so symlink points to a fully qualified library, e.g.
> -rwxr-xr-x 1 gthomas gthomas 1383729 Jul 24 06:35 libamanda-3.3.3.so
> lrwxrwxrwx 1 gthomas gthomas      18 Jul 24 06:35 libamanda.so ->
> libamanda-3.3.3.so
>
> The problem seems to be that this is the unqualified .so name and not a
> version qualified name like 'libamanda.so.3'.  The package isn't building
> the version qualified names, just the fully unqualified one.
>
>
>>
>> You can skip this QA test by setting INSANE_SKIP.  In this case,
>> INSANE_SKIP_${PN} = "dev-so" (you can identify the tag to use by
>> looking through classes/insane.bbclass for the error message).

So that's not the pattern that the test was designed for (not that
it's actually implementing that design).  I'm sure Amanda developers
have a reason for this, but the presence of a .so symlink in a non-dev
package is enough to trip this test, so INSANE_SKIP is the best thing
to do.

Ross



More information about the yocto mailing list