[lsb-discuss] Linux Application Checker: FHS violation and RPMTAG_PROVIDENAME count mismatch

Andrey Makhalkin a.makhalkin at samsung.com
Fri Jan 24 06:31:04 UTC 2014


I have managed to get rid of FHS conformance errors by changing
directory name in /opt to "samsung-spl", which is the RPM package name.

However, the issue with multiple RPMTAG_PROVIDENAME remains. I have
tried to build rpm package in Ubuntu, Debian, CentOS, OpenSuSE.


On 01/22/2014 08:04 PM, Andrey Makhalkin wrote:
> Dear LSB developers,
>
> I am working on LSB printer driver package for Samsung SPL/SPLC printers.
>
> I have managed to build RPM package, and CUPS filter executables
> passes LSB3.2 conformance check successfully.
> But when I check the whole binary RPM, there are following LSB
> violation errors:
>
> 1) FHS conformance errors:
>
>
>     FHS check failed
>
> File placement is not compliant to File Hierarchy Standard.
>
> 	Component 	Type 	File 	Comments
> [+]
> /home/makhalkin/rpm/RPMS/x86_64/samsung-spl-1.0.0-1lsb3.2.x86_64.rpm
> *Failed* 	opt/Samsung-rastertospl 	No information
> Messages from the test:
> checkRpmArchiveFilename: file opt/Samsung-rastertospl not FHS compliant
>  
> [+]
> /home/makhalkin/rpm/RPMS/x86_64/samsung-spl-1.0.0-1lsb3.2.x86_64.rpm
> *Failed* 	opt/Samsung-rastertospl/cups 	No information
> Messages from the test:
> checkRpmArchiveFilename: file opt/Samsung-rastertospl/cups not FHS
> compliant
>  
> [+]
> /home/makhalkin/rpm/RPMS/x86_64/samsung-spl-1.0.0-1lsb3.2.x86_64.rpm
> *Failed* 	opt/Samsung-rastertospl/cups/lib 	No information
> Messages from the test:
> checkRpmArchiveFilename: file opt/Samsung-rastertospl/cups/lib not FHS
> compliant
>  
> [+]
> /home/makhalkin/rpm/RPMS/x86_64/samsung-spl-1.0.0-1lsb3.2.x86_64.rpm
> *Failed* 	opt/Samsung-rastertospl/cups/lib/filter 	No information
> Messages from the test:
> checkRpmArchiveFilename: file opt/Samsung-rastertospl/cups/lib/filter
> not FHS compliant
>  
> [+]
> /home/makhalkin/rpm/RPMS/x86_64/samsung-spl-1.0.0-1lsb3.2.x86_64.rpm
> *Failed* 	opt/Samsung-rastertospl/cups/lib/filter/pstosecps 	No
> information
> Messages from the test:
> checkRpmArchiveFilename: file
> opt/Samsung-rastertospl/cups/lib/filter/pstosecps not FHS compliant
>  
> [+]
> /home/makhalkin/rpm/RPMS/x86_64/samsung-spl-1.0.0-1lsb3.2.x86_64.rpm
> *Failed* 	opt/Samsung-rastertospl/cups/lib/filter/rastertospl 	No
> information
> Messages from the test:
> checkRpmArchiveFilename: file
> opt/Samsung-rastertospl/cups/lib/filter/rastertospl not FHS compliant
>
> and so on...
>
> Placing file in /opt/DriverPackage is OpenPrinting requirement for
> driver packages
>
> 2) RPM tags error and warning:
>
>
>     RPM tags check failed
>
> Some RPM tags differ from what LSB declares.
>
>
>     RPM tags check failed
>
> Some RPM tags differ from what LSB declares.
>
> 	Component 	Type 	Element 	Comments
> [+]
> /home/makhalkin/rpm/RPMS/x86_64/samsung-spl-1.0.0-1lsb3.2.x86_64.rpm
> *Warning* 	
> 	No information
> Messages from the test:
> checkRpmIdx() unexpected Index tag=1146 type=7 offset=454c count=10
>  
> [+]
> /home/makhalkin/rpm/RPMS/x86_64/samsung-spl-1.0.0-1lsb3.2.x86_64.rpm
> *Failed* 	RPMTAG_PROVIDENAME 	No information
> Messages from the test:
> Count for Index RPMTAG_PROVIDENAME does not match. Found 2 but expecting 1
>
> RPM Provides are:
>
>  1. samsung-spl
>  2. samsung-spl(x86-64)
>
> Could you please suggest any idea on how to fix such issues?
>
> Sincerely yours,
> Andrey Makhalkin
>
>
>
> _______________________________________________
> lsb-discuss mailing list
> lsb-discuss at lists.linux-foundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/lsb-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lsb-discuss/attachments/20140124/65e048b2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 239 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/lsb-discuss/attachments/20140124/65e048b2/attachment-0001.png>


More information about the lsb-discuss mailing list