RPM Community Forums

Mailing List Message of <rpm-lsb>

RHEL6 popt-1.13-6 for pkgchk test fodder

From: Jeffrey Johnson <n3npq@mac.com>
Date: Mon 23 Jul 2012 - 22:35:54 CEST
Message-id: <3ED1EB84-455F-4391-B8F5-A3C06D8647FC@mac.com>
I will be using popt-1.13-7.x86_64 built using this version
of RPM:
	$ rpm -q rpm-build
	rpm-build-4.8.0-19.el6_2.1.x86_64
which is (arguably) "bog standard" even if not yet LSB standard.

The amount of sewage from LSB pkgchk from a "bog standard"
package will be the first item I will attempt to repair based on
this rationale
	Tools that spew "Danger Will Robinson!" errors just aren't all that useful.

Instead the tool should include a --verbose mode and succinct text
describing the failure context.

Its is also pretty clear that there are several mixed layers of testing
that have nothing whatsoever to do with "package format conformance"
that will need disablers/enablers.

The output format for humans isn't regular/predicatble; instead there
needs to be multiple/selectable formats, including the existing "journal-*"
file that is dumped into the current directory, and also other useful formats
like XML/JSON/YAML that are sufficiently regular that the markup might
actually have uses outside of LSB certification.

Finally there is the semantic level of interpretation that needs to be parameterized
based on context (like LSB version, or even non-LSB) conformance, so that
endless amounts of time discussing
	What SHOULD be an error?
need not be revisited.

73 de Jeff
==============================================
[jbj@ha pkgchk]$ ./pkgchk /X/popt/popt-1.13-7.x86_64.rpm 
LSB version is not specified, using 5.0 by default.

checkRpmIdxHEADERSIGNATURES() Not yet checking contents
checkRpmIdxHEADERSIGNATURES() offset ffffffb0
checkRpmIdxHEADERSIGNATURES() data at 7f31c798c0b4
checkRpmIdxSHA1() Not yet checking SHA1 contents
checkRpmIdxHEADERIMMUTABLE() Not yet checking contents
Error: Count for Index RPMTAG_PROVIDENAME does not match. Found 4 but expecting 1
checkRpmIdxPROVIDENAME() type=8 offset=a40 count=4 libpopt.so.0()(64bit)
Unexpected REQUIREFLAGS bit: 4000
Unexpected REQUIREFLAGS bit: 4000
Unexpected REQUIREFLAGS bit: 4000
Unexpected REQUIREFLAGS bit: 4000
Unexpected REQUIREFLAGS bit: 4000
Unexpected REQUIREFLAGS bit: 4000
Unexpected REQUIREFLAGS bit: 4000
Error: Unexpected dependency /sbin/ldconfig
Error: Unexpected dependency /sbin/ldconfig
Error: Unexpected dependency libc.so.6()(64bit)
Error: Unexpected dependency libc.so.6(GLIBC_2.2.5)(64bit)
Error: Unexpected dependency libc.so.6(GLIBC_2.3)(64bit)
Error: Unexpected dependency libc.so.6(GLIBC_2.3.4)(64bit)
Error: Unexpected dependency libc.so.6(GLIBC_2.4)(64bit)
Error: Unexpected dependency libpopt.so.0()(64bit)
Error: Unexpected dependency rtld(GNU_HASH)
Error: Didn't see expected dependency lsb=5.0
Invalid RPMTAG_POSTINPROG: expecting "/bin/sh" but found /sbin/ldconfig
Invalid RPMTAG_POSTUNPROG: expecting "/bin/sh" but found /sbin/ldconfig
Provide Flag not checked: 8000
Optflags not checked: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
Warning: checkRpmIdx() unexpected Index tag=1140 type=4 offset=1a64 count=20
Warning: checkRpmIdx() unexpected Index tag=1141 type=4 offset=1ae4 count=20
Warning: checkRpmIdx() unexpected Index tag=1142 type=8 offset=1b64 count=5
Warning: checkRpmIdx() unexpected Index tag=1143 type=4 offset=1bf8 count=20
Warning: checkRpmIdx() unexpected Index tag=1144 type=4 offset=1c78 count=20
Warning: checkRpmIdx() unexpected Index tag=1145 type=4 offset=1cf8 count=9
Warning: checkRpmIdx() unexpected Index tag=1146 type=7 offset=1d1c count=10
checkRpmArchiveFilename: file etc/popt.d not FHS compliant
checkRpmArchiveFilename: file lib64/libpopt.so.0 not FHS compliant
checkRpmArchiveFilename: file lib64/libpopt.so.0.0.0 not FHS compliant
checkRpmArchiveFilename: file usr/share/doc/popt-1.13 not FHS compliant
checkRpmArchiveFilename: file usr/share/doc/popt-1.13/CHANGES not FHS compliant
checkRpmArchiveFilename: file usr/share/doc/popt-1.13/COPYING not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/cs/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/da/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/de/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/es/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/fr/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/ga/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/gl/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/hu/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/is/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/it/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/ja/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/ko/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/nb/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/nl/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/pl/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/pt/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/ro/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/ru/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/sk/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/sl/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/sv/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/tr/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/uk/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/vi/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/wa/LC_MESSAGES/popt.mo not FHS compliant
checkRpmArchiveFilename: file usr/share/locale/zh_CN/LC_MESSAGES/popt.mo not FHS compliant
Received on Mon Jul 23 22:35:58 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.