Mailinglist Archive: opensuse-packaging (107 mails)

< Previous Next >
Re: [opensuse-packaging] Need help by Fixing Bugreports
  • From: "Sascha 'saigkill' Manns" <samannsml@xxxxxxxxxxxxx>
  • Date: Thu, 14 May 2009 20:35:43 +0200
  • Message-id: <200905142035.46639@xxxxxxxxxxxxxxxxxxxxx>
Am Donnerstag 14 Mai 2009 17:41:59 wrote Michael Matz:
Hi,

On Thu, 14 May 2009, Sascha 'saigkill' Manns wrote:
On Thu, 14 May 2009, oc2pus@xxxxxxxx wrote:
%files -n libskgbasegui1
%defattr(-, root, root)
%{_libdir}/kde4/plugins/designer/libskgbasegui.so

^^^^^^^^^^^^^^^^^

libskgbasegui.so.1 is only a link ... so it can't work

That's why he includes the link target now also in the base
package as advised. His mail can be understood as a before/after
test, when he installs the fixed (as of above) packages, instead
of the old ones with the broken link.

I readed the CMakeList.txt:
INSTALL(TARGETS skgbasegui LIBRARY DESTINATION ${LIB_INSTALL_DIR}
) INSTALL(TARGETS skgbasegui LIBRARY DESTINATION
${PLUGIN_INSTALL_DIR}/plugins/designer )
AFAIK this means, that two libskgbasegui created. One in %{_libdir}
and one in %{_libdir}/kde4/plugins/designer/....

Then somebody else converts the former into a softlink to the latter.
But we know that something does that. You'll have to find out :)
I've grepped the BuildLog:

Linking CXX shared library ../lib/libskgbasegui.so
cd /usr/src/packages/BUILD/skrooge-0.2.8/skgbasegui && /usr/bin/cmake -E
cmake_link_script CMakeFiles/skgbasegui.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -Wall -O2 -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-
dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-Bsymbolic-
functions -shared -Wl,-soname,libskgbasegui.so.1 -o
../lib/libskgbasegui.so.0.2.8
CMakeFiles/skgbasegui.dir/skgbasegui_automoc.o
CMakeFiles/skgbasegui.dir/skgmainpanel.o
CMakeFiles/skgbasegui.dir/skgobjectmodelbase.o
CMakeFiles/skgbasegui.dir/skgtabwidget.o
CMakeFiles/skgbasegui.dir/skginterfaceplugin.o
CMakeFiles/skgbasegui.dir/skgwidgetcollectiondesignerplugin.o
CMakeFiles/skgbasegui.dir/skgtableviewdesignerplugin.o
CMakeFiles/skgbasegui.dir/skgtableview.o
CMakeFiles/skgbasegui.dir/skgtreeviewdesignerplugin.o
CMakeFiles/skgbasegui.dir/skgtreeview.o
CMakeFiles/skgbasegui.dir/skgcomboboxdesignerplugin.o
CMakeFiles/skgbasegui.dir/skgcombobox.o
CMakeFiles/skgbasegui.dir/skgcalculatoreditdesignerplugin.o
CMakeFiles/skgbasegui.dir/skgcalculatoredit.o
CMakeFiles/skgbasegui.dir/skggraphicsviewdesignerplugin.o
CMakeFiles/skgbasegui.dir/skggraphicsscene.o
CMakeFiles/skgbasegui.dir/skggraphicsview.o
CMakeFiles/skgbasegui.dir/skgtablewithgraphdesignerplugin.o
CMakeFiles/skgbasegui.dir/skgtablewithgraph.o
CMakeFiles/skgbasegui.dir/skgdateeditdesignerplugin.o
CMakeFiles/skgbasegui.dir/skgdateedit.o
CMakeFiles/skgbasegui.dir/skgsortfilterproxymodel.o
CMakeFiles/skgbasegui.dir/skgautohide.o
CMakeFiles/skgbasegui.dir/skrooge.o -
L/usr/src/packages/BUILD/skrooge-0.2.8/lib -lQtDesigner -lQtScript -
lQtSvg -lQtCore -lpthread -lkdecore -lSM -lICE -lX11 -lXext -lXft -lXau
-lXdmcp -lXpm -lQtGui -lQtXml -lXtst -lXcursor -lXfixes -lXrender -
lkdeui -lQtCore -lpthread -lkdecore -lkdeui -lkio -lkparts -lQtCore -
lpthread -lkdecore -lkdeui -lkio -lz -lQtCore -lpthread -lkdecore -
lsolid -lkfile ../lib/libskgbasemodeler.so.0.2.8 -lkdeui -lQtSvg -lXtst
-lXcursor -lXfixes -lstreamanalyzer -lstreams -lkdecore -lbz2 -lresolv -
lSM -lICE -lX11 -lXext -lXft -lXau -lXdmcp -lXpm -lQtNetwork -lfam -
lXrender -lz -lsolid -lQtGui -lQtDBus -lQtXml -lQtSql -lQtCore -lpthread
-lqca -lsqlite3
cd /usr/src/packages/BUILD/skrooge-0.2.8/skgbasegui && /usr/bin/cmake -E
cmake_symlink_library ../lib/libskgbasegui.so.0.2.8
../lib/libskgbasegui.so.1 ../lib/libskgbasegui.so

Installing: /var/tmp/kde4-skrooge-0.2.8-
build/usr/lib64/libskgbasegui.so.0.2.8
-- Installing: /var/tmp/kde4-skrooge-0.2.8-
build/usr/lib64/libskgbasegui.so.1
-- Installing: /var/tmp/kde4-skrooge-0.2.8-
build/usr/lib64/libskgbasegui.so

Installing: /var/tmp/kde4-skrooge-0.2.8-
build/usr/lib64/kde4/plugins/designer/libskgbasegui.so.0.2.8
Installing: /var/tmp/kde4-skrooge-0.2.8-
build/usr/lib64/kde4/plugins/designer/libskgbasegui.so.1
-- Installing: /var/tmp/kde4-skrooge-0.2.8-
build/usr/lib64/kde4/plugins/designer/libskgbasegui.so

find %buildroot in *.spec:
/var/tmp/kde4-skrooge-0.2.8-build/usr/lib64/libskgbasegui.so.1

INFO: relinking /usr/lib64/libskgbasegui.so.0.2.8 ->
kde4/plugins/designer/libskgbasegui.so.0.2.8 (was
/usr/lib64/kde4/plugins/designer/libskgbasegui.so.0.2.8)

Is this right? Or must i fix on another Place?
--
Sincereley yours

Sascha Manns
openSUSE Marketing Team
openSUSE Build Service
openSUSE Features Screening Team
Web: http://saschamanns.gulli.to
Project-Blog: http://lizards.opensuse.org/author/saigkill
Private-Blog: http://saschasbacktrace.blogspot.com
< Previous Next >
Follow Ups