Thank you Miro,

I was certain that I had sent a fix for that to rpmlint. The problem went away in my package in the CI (bodhi or Zulu, can't recall), perhaps rpmlint was updated for the affected CI back then or was removed from the gating/ci pipelines, or I removed rpmlint from the gating/ci. I don't recall what the solution was back then.


On 1/15/25 5:52 AM, Miro Hrončok wrote:
On 15. 01. 25 10:18, Robin Jarry wrote:
Hi folks,

I found out that rpmlint errors out without producing any meaningful result when the analyzed RPMs contain binaries:

<mock-chroot> sh-5.2# strace -f -e trace=execve -s 65536 rpmlint build/RPMS/aerc-*.rpm
...
[pid   107] execve("/usr/bin/readelf", ["readelf", "-W", "-l", "/tmp/rpmlint.aerc-debuginfo-0.19.0-1.fc42.x86_64.rpm.5obt7_7n/usr/lib/debug/usr/bin/aerc-0.19.0-1.fc42.x86_64.debug", "--debug-dump=no-follow-links"], 0x7fe85e1a3590 /* 27 vars */) = 0
...
E: fatal error while reading aerc-debuginfo-0.19.0-1.fc42.x86_64.rpm: 'utf-8' codec can't decode byte 0xe4 in position 455: invalid continuation byte

...

Relevant package versions:

binutils-2.43.50-9.fc42.x86_64
file-5.45-8.fc42.x86_64
gcc-14.2.1-6.fc42.x86_64
rpmlint-2.5.0-10.fc42.x86_64

I suspect this is a bug in binutils/files which should not print binary code in lieu of the interpreter name. But maybe the culprit is in gcc.

If anyone has an idea, I'd like some help.

This should be fixed in rpmlint 2.6 currently available in rawhide.
I see you actually use rawhide, so just updating rpmlint should do.

https://github.com/rpm-software-management/rpmlint/issues/1147

https://bodhi.fedoraproject.org/updates/FEDORA-2025-59cc5ecf54

Pending (lack of) user feedback, I plan to update rpmlint in Fedora 41 as well, after a while.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to