Bug 436500 - only-non-binary-in-usr-lib error should not apply to subpackages
Summary: only-non-binary-in-usr-lib error should not apply to subpackages
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-07 16:39 UTC by Thomas Fitzsimmons
Modified: 2008-07-25 17:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-25 17:30:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.