[Bug 488747] New: check for "call to ldconfig" after building an RPM can't be switched off
https://bugzilla.novell.com/show_bug.cgi?id=488747 Summary: check for "call to ldconfig" after building an RPM can't be switched off Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lehrig@t-online.de QAContact: adrian@novell.com Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.1; Linux) KHTML/4.1.3 (like Gecko) SUSE Our project includes shareable object libraries which are located under /opt/ourproject and logically linked to /usr/lib But the buildservice complains about this and gives us Badness: 300 ############## pvbrowser-devel.x86_64: E: library-without-ldconfig-postin (Badness: 300) /opt/pvb/rllib/lib/librllib.so.1.0.0 This package contains a library and provides no %post scriptlet containing a call to ldconfig. ############## In principle it is possible to store a library.so anywhere and load it without configuring it with ldconfig using: dlopen() see: man dlopen Thus the check must be possible to switch off. But according to "darix" from IRC #opensuse-buildservice it is not Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=488747 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=488747#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrueckert@novell.com --- Comment #1 from Marcus Meissner <meissner@novell.com> 2009-03-25 15:25:48 MST --- using a rpmlintrc should be possible. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=488747 User lehrig@t-online.de added comment https://bugzilla.novell.com/show_bug.cgi?id=488747#c2 --- Comment #2 from Rainer Lehrig <lehrig@t-online.de> 2009-03-26 00:42:23 MST --- Hi Marcus, i found http://en.opensuse.org/Packaging/RpmLint#Supressing_False_Positives If i understand correctly i can write addFilter("library-without-ldconfig-postin */opt/pvb/rllib/lib/librllib.so.1.0.0") within a %{name}-%{version}-rpmlintrc in order to suppress the check. But i do not understand the syntax of "Source5:" within the spec file Source5: %{name}-%{version}-rpmlintrc can i write Source1: %{name}-%{version}-rpmlintrc also ? This might be a support issue, but it would be kind of you to describe it for me. If the above is correct, you may close the bug report. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=488747 User lehrig@t-online.de added comment https://bugzilla.novell.com/show_bug.cgi?id=488747#c3 Rainer Lehrig <lehrig@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Rainer Lehrig <lehrig@t-online.de> 2009-03-26 01:53:05 MST --- I added file rpmlintrc to out tar.gz file containing addFilter("library-without-ldconfig-postin */opt/pvb/pvserver/libpvsid.so.1.0.0") addFilter("library-without-ldconfig-postin */opt/pvb/pvserver/libpvsmt.so.1.0.0") addFilter("library-without-ldconfig-postin */opt/pvb/rllib/lib/librllib.so.1.0.0") Users with the same problem might read: http://en.opensuse.org/Packaging/RpmLint http://www.filewatcher.com/p/rpmlint-0.61-0.fr.noarch.rpm.129936/usr/share/d... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com