Red Hat Bugzilla – Bug 399871
rpmlint does not know how to compute line lenghts
Last modified: 2007-12-21 16:08:25 EST
rpmlint pretends it's counting characters, when in fact it's counting bytes, and
its count is wrong when applied to lines containing non-trivial UTF-8, so it
reports bogus line-too-long errors, that reviewers religiously ask to fix in
reviews, which is a major waste of time for everyone involved.
Please teach rpmlint to count characters properly or remove this stupid check
https://bugzilla.redhat.com/show_bug.cgi?id=398781 for example.
I wasted a lot of time trying to understand why rpmlint disagreed with fold and
gedit before noticing in vim the column count was less than 79, but the byte
count was more.
(multiply by ~ 8 packages with that hi the same rplint bug)
Fixed upstream, will be in the next release.
rpmlint-0.82-2.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update rpmlint'
Works fine, thanks for the fix!
rpmlint-0.82-2.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.