Bug 1489797

Summary: don't report devel-file-in-non-devel-package for debugsource rpms
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: rpmlintAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: j, kevin, tcallawa, tmz, twoerner, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpmlint-1.10-3.fc26 rpmlint-1.10-3.fc25 rpmlint-1.10-3.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-12 22:57:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamil Páral 2017-09-08 12:05:12 UTC
Description of problem:
From Fedora 27 there are now *-debugsource rpm packages:
https://fedoraproject.org/wiki/Changes/SubpackageAndSourceDebuginfo

But rpmlint reports warnings for every single file in that package, e.g.:

gqrx-debugsource.armv7hl: W: devel-file-in-non-devel-package /usr/src/debug/gqrx-2.7-1.fc27.arm/moc_afsk1200win.cpp

Example full log:
https://taskotron.fedoraproject.org/artifacts/all/43378a42-9210-11e7-bc34-525400817a8f/task_output/gqrx-2.7-1.fc27.log

Please adjust devel-file-in-non-devel-package warning to not be triggered on debugsource rpms.

Originally reported against Taskotron here:
https://pagure.io/taskotron/task-rpmlint/issue/14

Version-Release number of selected component (if applicable):
rpmlint-1.9-12.fc27

Comment 1 Jason Tibbitts 2017-09-08 13:10:14 UTC
I guess that's just adding

addFilter("-debugsource.* devel-file-in-non-devel-package")

to the packaged rpmlint.config, which I would be happy to add (with appropriate comments) if Spot or Ville agree.  Is there any reason why we wouldn't do this?

Comment 2 Fedora Update System 2017-09-08 21:39:59 UTC
rpmlint-1.10-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e095dff903

Comment 3 Fedora Update System 2017-09-08 21:40:19 UTC
rpmlint-1.10-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-dff365c76b

Comment 4 Fedora Update System 2017-09-08 21:40:31 UTC
rpmlint-1.10-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a03e5f697d

Comment 5 Ville Skyttä 2017-09-09 14:25:09 UTC
(In reply to Jason Tibbitts from comment #1)
> 
> addFilter("-debugsource.* devel-file-in-non-devel-package")

With rpmlint 1.10+ this shouldn't be done; instead configs for distros that use debugsource packages should have the UseDebugSource option set to True.

Comment 6 Fedora Update System 2017-09-09 19:57:22 UTC
rpmlint-1.10-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e095dff903

Comment 7 Fedora Update System 2017-09-10 05:54:00 UTC
rpmlint-1.10-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-dff365c76b

Comment 8 Fedora Update System 2017-09-10 07:23:20 UTC
rpmlint-1.10-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a03e5f697d

Comment 9 Fedora Update System 2017-09-11 15:49:52 UTC
rpmlint-1.10-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-be0dd0a562

Comment 10 Fedora Update System 2017-09-11 15:50:12 UTC
rpmlint-1.10-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-696c515025

Comment 11 Fedora Update System 2017-09-11 15:50:23 UTC
rpmlint-1.10-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6dcb2473b0

Comment 12 Fedora Update System 2017-09-11 21:56:30 UTC
rpmlint-1.10-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-be0dd0a562

Comment 13 Fedora Update System 2017-09-12 01:23:34 UTC
rpmlint-1.10-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-696c515025

Comment 14 Fedora Update System 2017-09-12 02:21:02 UTC
rpmlint-1.10-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6dcb2473b0

Comment 15 Kamil Páral 2017-09-12 10:38:50 UTC
Seems to fix the issue, thanks.

Comment 16 Fedora Update System 2017-09-12 22:57:09 UTC
rpmlint-1.10-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2017-09-14 03:51:53 UTC
rpmlint-1.10-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2017-09-30 06:23:32 UTC
rpmlint-1.10-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.