Description of problem: When passing the -i flag to check installed packages, rpmlint seems to be unable to find ELF files; e.g.: $ rpmlint -i ocaml-qcheck ... ocaml-qcheck.x86_64: E: readelf-failed /usr/lib64/ocaml/qcheck-alcotest/qcheck_alcotest.cmxs readelf: /tmp/rpmlint.ocaml-qcheck.rcyaud3n/usr/lib64/ocaml/qcheck-alcotest/qcheck_alcotest.cmxs: Error: No such file readelf: /tmp/rpmlint.ocaml-qcheck.rcyaud3n/usr/lib64/ocaml/qcheck-alcotest/qcheck_alcotest.cmxs: Error: No such file [snip many more errors of the same type] Version-Release number of selected component (if applicable): rpmlint-2.0.0-3.fc35.noarch How reproducible: Always Steps to Reproduce: 1. rpmlint -i coreutils 2. 3. Actual results: Lots of readelf errors. Expected results: Readelf should read from the installed location, not from a nonexistent temporary directory where a nonexistent binary rpm has not been unpacked. Additional info:
It seems even more broken than that. I'm opening an upstream issue.
Upstream fixed it extremely quickly, now fixed in rpmlint-2.0.0-4.fc35.