Bug 1249227

Summary: licensecheck cannot parse c/c++ files
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: devscriptsAssignee: Sandro Mani <manisandro>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 22CC: manisandro
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: devscripts-2.15.8-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 07:04: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 Jerry James 2015-07-31 21:50:31 UTC
Description of problem:
I have a fully updated Fedora 22 x86_64 system.  Trying to run licensecheck on either C or C++ code results in messages like this:

/usr/bin/licensecheck warning: cannot parse file './fflas-ffpack/field/nonzero-randiter.h' with mime type 'text/x-c++; charset=us-ascii'
/usr/bin/licensecheck warning: cannot parse file './fflas-ffpack/field/modular-extended.h' with mime type 'text/x-c++; charset=us-ascii'
/usr/bin/licensecheck warning: cannot parse file './fflas-ffpack/field/field-traits.h' with mime type 'text/x-c; charset=us-ascii'
/usr/bin/licensecheck warning: cannot parse file './fflas-ffpack/field/rns-integer-mod.h' with mime type 'text/x-c; charset=us-ascii'

However, .h files are parsed correctly.

Version-Release number of selected component (if applicable):
devscripts-minimal-2.15.5-6.fc22.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run licensecheck on a Fedora 22 machine, on either C or C++ source files.
2.
3.

Actual results:
Parsing fails.

Expected results:
License information for the files.

Additional info:

Comment 1 Fedora Update System 2015-07-31 22:20:37 UTC
devscripts-2.15.6-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/devscripts-2.15.6-2.fc22

Comment 2 Fedora Update System 2015-07-31 22:20:42 UTC
devscripts-2.15.6-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/devscripts-2.15.6-2.fc21

Comment 3 Fedora Update System 2015-08-01 18:21:13 UTC
devscripts-2.15.7-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/devscripts-2.15.7-1.fc22

Comment 4 Fedora Update System 2015-08-01 18:21:18 UTC
devscripts-2.15.7-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/devscripts-2.15.7-1.fc21

Comment 5 Fedora Update System 2015-08-03 04:27:52 UTC
Package devscripts-2.15.7-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing devscripts-2.15.7-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-12618/devscripts-2.15.7-1.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-08-03 06:19:09 UTC
devscripts-2.15.8-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/devscripts-2.15.8-1.fc22

Comment 7 Fedora Update System 2015-08-03 06:19:15 UTC
devscripts-2.15.8-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/devscripts-2.15.8-1.fc21

Comment 8 Fedora Update System 2015-08-12 07:04:09 UTC
devscripts-2.15.8-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-08-12 07:04:56 UTC
devscripts-2.15.8-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.