[Bug 469178] New: Errors in building package in openSUSE Factory
https://bugzilla.novell.com/show_bug.cgi?id=469178 Summary: Errors in building package in openSUSE Factory Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: SuSE Other 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: --- I get the following error within factory. Other versions and distries build succesfully. (1) pvbrowser-devel.x86_64: E: files-duplicated-waste (Badness: 100) 1031183 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. This is caused by help files generated by doxygen. How to avoid this ? I think, the buildservice should NOT check this. (2) 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. This is a library under /opt .... The library is symbolically linked to /usr/lib ln -s /opt/pvb/rllib/lib/librllib.so /usr/lib/librllib.so ln -s /opt/pvb/rllib/lib/librllib.so /usr/lib/librllib.so.1 ln -s /opt/pvb/rllib/lib/librllib.so /usr/lib/librllib.so.1.0 ln -s /opt/pvb/rllib/lib/librllib.so /usr/lib/librllib.so.1.0.0 There is a %post scriplet that runs ldconfig on the linked library The buildservice check is contraproductive and should NOT be done. Please remove these checks or tell me howto switch them off. ################################################################# pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/structrlIniFile_1_1__rlSectionName____coll__graph.map pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/classrlCorbaServer__coll__graph.map pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/rldefine_8h__incl.map pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/struct__rlFileLines____coll__graph.map pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/classrlSpreadsheetCell__coll__graph.map pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/classrlCorbaClient__coll__graph.map pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/struct__rlHistoryLogLine____coll__graph.map pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/struct__SVG__LINE____coll__graph.map pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/struct__rlHistoryReaderLine____coll__graph.map pvbrowser-devel.x86_64: W: zero-length /opt/pvb/doc/rllib/structrlFifo_1_1__MessageList____coll__graph.map pvbrowser-devel.x86_64: E: files-duplicated-waste (Badness: 100) 1031183 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. 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. pvbrowser-devel.x86_64: E: library-without-ldconfig-postun (Badness: 300) /opt/pvb/rllib/lib/librllib.so.1.0.0 This package contains a library and provides no %postun scriptlet containing a call to ldconfig. -- 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=469178
User meissner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469178#c1
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=469178
User lehrig@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=469178#c2
--- Comment #2 from Rainer Lehrig
https://bugzilla.novell.com/show_bug.cgi?id=469178
User meissner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469178#c3
--- Comment #3 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=469178
User lehrig@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=469178#c4
--- Comment #4 from Rainer Lehrig
https://bugzilla.novell.com/show_bug.cgi?id=469178
User meissner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469178#c5
--- Comment #5 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=469178
User lehrig@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=469178#c6
--- Comment #6 from Rainer Lehrig
hmm, fdupes is on the newer SUSE ones, perhaps not on the older. Yes, definitely
hmm, I think you can leave the symlinks, but perhaps let the ldconfig some run. Could i use /sbin/ldconfig our_directory or /sbin/ldconfig -l our_library additional to the normal /sbin/ldconfig in order to satisfy the check ? Would the check even notice that ? Would we get a conflict, when ldconfig sees our library in 2 places (/usr/lib AND /opt/our_project) ?
In my opinion it would be better to omit this check at all !!! Is there an option to instruct the checker not to do that check ? -- 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=469178
User mmrazik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469178#c7
Martin Mrazik
https://bugzilla.novell.com/show_bug.cgi?id=469178
User adrian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469178#c8
Adrian Schröter
participants (1)
-
bugzilla_noreply@novell.com