|
Bugzilla – Full Text Bug Listing |
| Summary: | rpmlint demands renaming non-lib package into lib-name | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Ilya Chernykh <anixx> |
| Component: | Basesystem | Assignee: | Dirk Mueller <dmueller> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | ismail |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Ilya Chernykh
2011-05-30 06:43:56 UTC
The package also has a binary launcher inside /opt/kde3/bin/kxmleditor and multiple icon, doc and translation files so this is even more strange. Hi Ilya, I agree that the error message is not very understandable, but it is correct. The algorithm ignores libraries that are required by the package itself, but libkxmleditorpart.so.1 is not required by bin/kxmleditor, so the check is satisfying the shared lib policy. The underlying problem is however something different: the library is not actually a library, but it is a KPart (as the name implies). So the correct fix is to install it into the module path. you can do that easily with a one liner change to the Makefile.am: - lib_LTLIBRARIES = ... + kde_module_LTLIBRARIES = ... therefore resolving as invalid. hope the comment above helps you already. I did as you suggested, but this does not help. This is my change: sed 's|lib_LTLIBRARIES =|kde_module_LTLIBRARIES =|g' Makefile.am And after removing rpmlintrc it still reports kxmleditor.i586: E: shlib-policy-name-error (Badness: 10000) libkxmleditorpart1 Your package contains a single shared library but is not named after its SONAME. You need to do "sed -i" to actually change the value. Please close this bug if this fixes the problem. Thanks. No, fixing sed does not solve the problem. Just tested locally, should fix the part/Makefile.am file, ie. +sed -i 's|lib_LTLIBRARIES =|kde_module_LTLIBRARIES =|g' part/Makefile.am Closing as invalid. |