Bug 1352333 - rpmlint fails with message "cannot use a string pattern on a bytes-like object"
Summary: rpmlint fails with message "cannot use a string pattern on a bytes-like object"
Keywords:
Status: CLOSED DUPLICATE of bug 1351490
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-03 21:52 UTC by Antti Järvinen
Modified: 2016-07-04 05:09 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-04 05:09:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Offending RPM (1.01 MB, application/x-rpm)
2016-07-03 21:52 UTC, Antti Järvinen
no flags Details

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 ***


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