Bug 1352333

Summary: rpmlint fails with message "cannot use a string pattern on a bytes-like object"
Product: [Fedora] Fedora Reporter: Antti Järvinen <antti.jarvinen>
Component: rpmlintAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kevin, tcallawa, tmz, twoerner, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-04 05:09:31 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:
Attachments:
Description Flags
Offending RPM none

Description Antti Järvinen 2016-07-03 21:52:33 UTC
Created attachment 1175702 [details]
Offending RPM

Description of problem: Rpmlint always prints message "TypeError: cannot use a string pattern on a bytes-like object"


Version-Release number of selected component (if applicable): rpmlint.noarch 1.8-7.fc25


How reproducible: Have latest unrelased version of classified-ads and say "rpmlint <prog>.rpm".

Actual results: Rpmlint always prints message "TypeError: cannot use a string pattern on a bytes-like object"

Expected results: Rpmlint prints out listing of sw problems. 


Additional info: This does not happen with all RPMs but this new version of classified-ads is one. RPM is included as an attachment to this bug report. The RPM itself seems to be all right e.g. it is produced with no error messages, it installs as it should and the sw inside starts as expected so I don't see any major problem in the RPM itself. Somehow rpmlint fails to dissect that.

Comment 1 Ville Skyttä 2016-07-04 05:09:31 UTC

*** This bug has been marked as a duplicate of bug 1351490 ***