Bug 436500

Summary: only-non-binary-in-usr-lib error should not apply to subpackages
Product: [Fedora] Fedora Reporter: Thomas Fitzsimmons <fitzsim>
Component: rpmlintAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: manuel.wolfshant, patrickm, tmz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-25 17:30:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thomas Fitzsimmons 2008-03-07 16:39:25 UTC
Description of problem:

rpmlint is flagging IcedTea's src subpackage with the only-non-binary-in-usr-lib
error.

Version-Release number of selected component (if applicable):

rpmlint-0.82-3.fc9

How reproducible:

Always.

Steps to Reproduce:
1. Build IcedTea RPMs: https://bugzilla.redhat.com/show_bug.cgi?id=433070
2. rpmlint $rpm_topdir/RPMS/i386/java-1.6.0-openjdk-src-1.6.0.0-0.1.b06.fc8.i386.rpm

Actual results:

java-1.6.0-openjdk-src.i386: E: only-non-binary-in-usr-lib

Expected results:

No output.  This is a subpackage, split out purely for size purposes.  It seems
arbitrary to say that because src.zip happens to be architecture-independent,
and happens to be the only file in the -src subpackage, that it needs to go in
/usr/share.  src.zip needs to in $JAVA_HOME so that IDEs can locate it properly.

Comment 1 Ville Skyttä 2008-03-07 19:25:19 UTC
Apart for some very specific checks on installed packages, the unit of work for
rpmlint is one package, and it has no way of knowing whether something is a
subpackage or not.  I don't have any ideas right how to address this issue apart
from just ignoring rpmlint's message.  Others?

Comment 2 Bug Zapper 2008-05-14 05:51:27 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Red Hat Bugzilla 2008-07-25 01:04:16 UTC
Adding patrickm to the cc list as the manager of the disabled user fitzsim who reported this bug

Comment 4 Ville Skyttä 2008-07-25 17:30:52 UTC
Closing due to lack of feedback/ideas.