Re: Incomprehensible rpmlint error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/12/2021 09:33, Dan Horák wrote:
On Wed, 8 Dec 2021 08:32:10 +0100
zxing-cpp.x86_64: E: shlib-policy-name-error 1
zxing-cpp.x86_64: E: invalid-ldconfig-symlink /usr/lib64/libZXing.so.1.2.0 libZXing.so.1.2.0
=================== 1 packages and 0 specfiles checked; 2 errors, 0 warnings, 2 badness; has taken 2.5 s ===================

[dan@t460 ~]$ rpmlint -I shlib-policy-name-error
shlib-policy-name-error:

so yes, this needs further explanation :-)

Ah, rpmlint-2.1.0-5.fc35.noarch apparently has some -e option instead of an -I option now (it doesn't appear to have a man page, though):

$ rpmlint -e shlib-policy-name-error
shlib-policy-name-error:
The package contains shared library but is not named after its SONAME.

So the proposed package would presumably better be named libZXing rather than zxing-cpp.

[dan@t460 ~]$ rpmlint -I invalid-ldconfig-symlink
invalid-ldconfig-symlink:
The symbolic link references the wrong file. It should reference the
shared library.

...which still leaves it unclear which symbolic link is allegedly wrong, because the libraries and symlinks contained in the rpm look just fine:

$ ls -l usr/lib64/
total 1204
lrwxrwxrwx. 1 sbergman sbergman      17 Dec  7 16:26 libZXing.so.1 -> libZXing.so.1.2.0
-rwxr-xr-x. 1 sbergman sbergman 1229720 Dec  7 16:26 libZXing.so.1.2.0

This is from rpmlint 1.11 (F-34), perhaps there is a newer version.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux