Hi List,
i've got an RPMLint Error:
tinyxml.i586: E: shlib-policy-name-error (Badness: 10000) libtinyxml0 Your package contains a single shared library but is not named after its SONAME.
I searched the Log, and i've seen: + g++ -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall - D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous- unwind-tables -shared -o libtinyxml.so.0.2.5.3 -Wl,- soname,libtinyxml.so.0 tinystr.cpp.o tinyxml.cpp.o tinyxmlerror.cpp.o tinyxmlparser.cpp.o
Here i find the Place, and i see, that the Function build with - soname,libtinyxml.so.0
That i don't understand...
On 2/13/2009 at 12:10 AM, "Sascha 'saigkill' Manns" samannsml@directbox.com
wrote:
Hi List,
i've got an RPMLint Error:
tinyxml.i586: E: shlib-policy-name-error (Badness: 10000) libtinyxml0 Your package contains a single shared library but is not named after its SONAME.
I searched the Log, and i've seen:
- g++ -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous- unwind-tables -shared -o libtinyxml.so.0.2.5.3 -Wl,- soname,libtinyxml.so.0 tinystr.cpp.o tinyxml.cpp.o tinyxmlerror.cpp.o tinyxmlparser.cpp.o
Here i find the Place, and i see, that the Function build with - soname,libtinyxml.so.0
Your package is called tinyxml. It contains a lib libtinyxml.so.0, which (in case the soname is properly set, which I assume her) leads to a correct packagename of libtinyxml0
You need to name your package / subpackage accordingly and the Lint error will disappear.
Dominique
On Freitag 13 Februar 2009 09:27:38 Dominique Leuenberger wrote:
- g++ -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous- unwind-tables -shared -o libtinyxml.so.0.2.5.3 -Wl,- soname,libtinyxml.so.0 tinystr.cpp.o tinyxml.cpp.o tinyxmlerror.cpp.o tinyxmlparser.cpp.o
Here i find the Place, and i see, that the Function build with - soname,libtinyxml.so.0
Your package is called tinyxml. It contains a lib libtinyxml.so.0, which (in case the soname is properly set, which I assume her) leads to a correct packagename of libtinyxml0
You need to name your package / subpackage accordingly and the Lint error will disappear.
I've renamed the Package, but i see the same Error. libtinyxml.i586: E: shlib-policy-name-error (Badness: 10000) libtinyxml0 Your package contains a single shared library but is not named after its SONAME.
On 2/13/2009 at 1:33 PM, "Sascha 'saigkill' Manns" samannsml@directbox.com
wrote:
On Freitag 13 Februar 2009 09:27:38 Dominique Leuenberger wrote: I've renamed the Package, but i see the same Error. libtinyxml.i586: E: shlib-policy-name-error (Badness: 10000) libtinyxml0 Your package contains a single shared library but is not named after its SONAME.
libtinyxml != libtinyxml0
The number is there to ensure that future, incompatible versions of the library can also be installed. This is important to be able to run 'older' applications that use the old API for example. You're not always able / willing to port everything to the new version of a SH Lib.
Dominique
On Freitag 13 Februar 2009 13:37:02 Dominique Leuenberger wrote:
On 2/13/2009 at 1:33 PM, "Sascha 'saigkill' Manns" samannsml@directbox.com
wrote:
On Freitag 13 Februar 2009 09:27:38 Dominique Leuenberger wrote: I've renamed the Package, but i see the same Error. libtinyxml.i586: E: shlib-policy-name-error (Badness: 10000) libtinyxml0 Your package contains a single shared library but is not named after its SONAME.
libtinyxml != libtinyxml0
The number is there to ensure that future, incompatible versions of the library can also be installed. This is important to be able to run 'older' applications that use the old API for example. You're not always able / willing to port everything to the new version of a SH Lib.
How can i fix this?
On 2/13/2009 at 2:06 PM, "Sascha 'saigkill' Manns" samannsml@directbox.com
wrote:
libtinyxml != libtinyxml0
The number is there to ensure that future, incompatible versions of the library can also be installed. This is important to be able to run 'older' applications that use the old API for example. You're not always able / willing to port everything to the new version of a SH Lib.
How can i fix this?
you have to name the sub package that contains the .so.0 file libtinyxml0
Dominique
On Freitag 13 Februar 2009 14:09:58 Dominique Leuenberger wrote:
On 2/13/2009 at 2:06 PM, "Sascha 'saigkill' Manns" samannsml@directbox.com
wrote:
libtinyxml != libtinyxml0
The number is there to ensure that future, incompatible versions of the library can also be installed. This is important to be able to run 'older' applications that use the old API for example. You're not always able / willing to port everything to the new version of a SH Lib.
How can i fix this?
you have to name the sub package that contains the .so.0 file libtinyxml0
Thank you very much :-) That was it. Now it runs perfectly...
buildservice@lists.opensuse.org