Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bogus SONAME rejected by rpmlint #238

Open
glaubitz opened this issue Jan 24, 2019 · 1 comment
Open

Bogus SONAME rejected by rpmlint #238

glaubitz opened this issue Jan 24, 2019 · 1 comment
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue

Comments

@glaubitz
Copy link

The shared library uses an SONAME which is invalid and rejected by rpmlint on openSUSE:

[   82s] libaws-c-common1.0.0.x86_64: W: shlib-unversioned-lib libaws-c-common.so.0unstable
[   82s] Your package matches the Shared Library Policy Naming Scheme but contains an
[   82s] unversioned library. Therefore it is very unlikely that your package can be
[   82s] installed in parallel to another version of this library package. Consider
[   82s] moving unversioned parts into a runtime package.
[   82s] 
[   82s] libaws-c-common1.0.0.x86_64: E: shlib-policy-name-error (Badness: 10000) libaws-c-common0unstable
[   82s] Your package contains a single shared library but is not named after its
[   82s] SONAME.

and:

suse-laptop:/var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/BUILD/aws-c-common-0.3.0/build # readelf -d libaws-c-common.so.1.0.0 |grep SONAME
 0x000000000000000e (SONAME)             Library soname: [libaws-c-common.so.0unstable]
suse-laptop:/var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/BUILD/aws-c-common-0.3.0/build #

Would it be possible to use a proper SONAME so that rpmlint no longer complains? I understand the ABI might not be stable at the moment, but I think we can deal with that.

@glaubitz
Copy link
Author

FWIW, I am using "0unstable" for the package name for the time being now which is accepted by rpmlint.

@jmklix jmklix added feature-request A feature should be added or improved. p3 This is a minor priority issue needs-review This issue or pull request needs review from a core team member. labels Aug 28, 2023
@jmklix jmklix removed the needs-review This issue or pull request needs review from a core team member. label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants