[lsb-discuss] LSB AppChecker reporting failures

Denis Silakov silakov at ispras.ru
Mon Sep 20 08:10:56 PDT 2010


Hi,

the errors you see concern not the application itself, but rpm package
format. It seems that you've created rpm which doesn't meet LSB
requirements for RPM
(http://refspecs.linux-foundation.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/packagefmt.html).


I would recommend to get a look at the following article:
http://ldn.linuxfoundation.org/article/create-lsb-compliant-packages-dont-alter-your-build-process

In particular, you can try makelsbpkg script, described here:
http://ldn.linuxfoundation.org/node/28707

As for particular errors:

> RPM header check failed       Failures 36
>
> Messages from the test:
>
> checkRpmArchive: magic isn't expected value 0x1f8b, found 425a instead
>

Probably archive format inside rpm is not cpio - this can be the case
for latest rpm version. LSB-compliant packages should use cpio.

> RPM tags check failed         Failures 52
>
> Messages from the test:
>
> Incorrect RPMTAG_ARCH: expecting i486 or noarch but found i686
>

LSB RPMs should be built for i486 arch - for example, you should set the
following field in the spec file:
BuildArch: i386

>  
>
> RPM dependencies check failed Failures 712
>
> Messages from the test:
>
> Unexpected dependency /bin/bash
>

LSB-compliant RPMs should only depend on 'lsb', no other dependencies
are allowed.

>  
>
> RPM archive check failed      Failures 36
>
> Messages from the test:
>
> Invalid RPMTAG_PAYLOADCOMPRESSOR: expecting gzip but found bzip2
>

You should use gzip compression.



-- 
Regards,
Denis.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/lsb-discuss/attachments/20100920/2f787223/attachment.htm 


More information about the lsb-discuss mailing list