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: