Re: Incomprehensible rpmlint error messages

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

 



On Wed, Dec 08, 2021 at 10:41:31AM +0100, Stephan Bergmann wrote:
> 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.

The package could be also called just 'zxing' if we are expect that the
original non-c++ project will never be imported into fedora. It doesn't
really matter, 'zxing-cpp' matches the upstream name and is just fine.
Whatever you do, please don't add an uppercase letter in the package name ;)

Sometimes rpmlint output should just be ignored, and this seems to be
one of those cases.

> >[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

Yeah, it looks fine to me too.

Zbyszek
_______________________________________________
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