Strange soversion checks in rpmlint 2.x

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

 



Hello.

Rpmlint on Fedora 35 includes strange E: shlib-policy-name-error and E: invalid-ldconfig-symlink checks. It complains about most of the built RPM packages.

Upstream bug report:
https://github.com/rpm-software-management/rpmlint/issues/718

Example RPM:
https://kojipkgs.fedoraproject.org/packages/kimageannotator/0.5.2/1.fc35/x86_64/kimageannotator-0.5.2-1.fc35.x86_64.rpm

Fedora 34 with rpmlint 1.11-19.fc34:
$ rpmlint kimageannotator-0.5.2-1.fc35.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

Fedora 35 with rpmlint 2.1.0-4.fc35:
$ rpmlint kimageannotator-0.5.2-1.fc35.x86_64.rpm
=========================================== rpmlint session starts ===========================================
rpmlint: 2.1.0
configuration:
    /usr/lib/python3.10/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/licenses.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 1

kimageannotator.x86_64: E: shlib-policy-name-error 0
kimageannotator.x86_64: E: invalid-ldconfig-symlink /usr/lib64/libkImageAnnotator.so.0.5.2 libkImageAnnotator.so.0.5.2 =========== 1 packages and 0 specfiles checked; 2 errors, 0 warnings, 2 badness; has taken 21.4 s ============

Let's unpack RPM and test this manually:

$ objdump -p libkImageAnnotator.so.0.5.2 | grep SONAME
  SONAME               libkImageAnnotator.so.0

SOVERSION is 0 and 0.5.2 is just a symbolic link.

By the way, SOVERSION can consist of more than one digit. It can be 0.5.2 and this is not an error:
https://autotools.io/libtool/version.html

I think these checks are bogus and should be removed.

--
Sincerely,
  Vitaly Zaitsev (vitaly@xxxxxxxxxxxxxx)
_______________________________________________
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