[opensuse-buildservice] Shlib Policy Name Error
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... -- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2/13/2009 at 12:10 AM, "Sascha 'saigkill' Manns"
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 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
+ 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.
On Freitag 13 Februar 2009 09:27:38 Dominique Leuenberger wrote: libtinyxml.i586: E: shlib-policy-name-error (Badness: 10000) libtinyxml0 Your package contains a single shared library but is not named after its SONAME. -- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2/13/2009 at 1:33 PM, "Sascha 'saigkill' Manns"
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 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Freitag 13 Februar 2009 13:37:02 Dominique Leuenberger wrote:
On 2/13/2009 at 1:33 PM, "Sascha 'saigkill' Manns"
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?
-- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2/13/2009 at 2:06 PM, "Sascha 'saigkill' Manns"
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 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Freitag 13 Februar 2009 14:09:58 Dominique Leuenberger wrote:
On 2/13/2009 at 2:06 PM, "Sascha 'saigkill' Manns"
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...
-- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Dominique Leuenberger
-
Sascha 'saigkill' Manns