Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:12509
rpmlint-tests.openSUSE_Leap_15.1_Update
ignore-readelf-ar-error.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ignore-readelf-ar-error.diff of Package rpmlint-tests.openSUSE_Leap_15.1_Update
Index: rpmlint-rpmlint-1.10/BinariesCheck.py =================================================================== --- rpmlint-rpmlint-1.10.orig/BinariesCheck.py +++ rpmlint-rpmlint-1.10/BinariesCheck.py @@ -255,8 +255,11 @@ class BinaryInfo(object): else: self.readelf_error = True - printWarning(pkg, 'binaryinfo-readelf-failed', - file, re.sub('\n.*', '', res[1])) + # Go and others are producing ar archives that don't have ELF + # headers, so don't complain about it + if not is_ar: + printWarning(pkg, 'binaryinfo-readelf-failed', + file, re.sub('\n.*', '', res[1])) try: with open(path, 'rb') as fobj:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor