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

Andrey Makhalkin a.makhalkin at samsung.com
Wed Jan 22 16:04:35 UTC 2014


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

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


More information about the lsb-discuss mailing list