Subject: pkg/18403: buildlink2 conversion breaks installation of "koffice" package
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 09/24/2002 20:11:34
>Number: 18403
>Category: pkg
>Synopsis: buildlink2 conversion breaks installation of "koffice" package
>Confidential: yes
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 24 11:12:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6H
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 1.6H NetBSD 1.6H (LYSSA) #0: Tue Sep 24 08:49:05 CEST 2002 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
After the "koffice" package has been switch to the buildlink2 framework
the installation fails:
[...]
c++ -shared -nostdlib /usr/lib/crtbeginS.o .libs/koDocument.o .libs/koFilterManager.o .libs/koMainWindow.o .libs/koPrintPreview.o .libs/koApplication.o .libs/koQueryTrader.o .libs/koDataTool.o .libs/koFilter.o .libs/koImage.o .libs/koImageCollection.o .libs/koClipart.o .libs/koClipartCollection.o .libs/koDocumentInfo.o .libs/koView.o .libs/koFrame.o .libs/handler.o .libs/koDocumentChild.o .libs/koDocumentInfoDlg.o .libs/koFactory.o .libs/koChild.o .libs/KoApplicationIface.o .libs/KoDocumentIface.o .libs/KoViewIface.o .libs/KoMainWindowIface.o .libs/KoApplicationIface_skel.o .libs/KoDocumentIface_skel.o .libs/KoViewIface_skel.o .libs/KoMainWindowIface_skel.o .libs/libkofficecore_la_meta_unload.o -Wl,--rpath -Wl,/usr/pkg/lib -L/src/NetBSD-current/pkgsrc/misc/koffice/work/.buildlink/lib -L/src/NetBSD-current/pkgsrc/misc/koffice/work/.buildlink-x11pkg/lib -L/usr/pkg/share/x11-links/lib -L/src/NetBSD-current/pkgsrc/misc/koffice/work/.buildlink/qt2/lib -L/usr/pkg/lib -lkstore -!
L/usr/X11R6/lib -L/usr/pkg/qt2/lib -lkwmf -lkparts -lkdeprint -lstdc++ -lm -lgcc_pic /usr/lib/crtendS.o -Wl,-E -Wl,-R/usr/pkg/qt2/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-E -Wl,-R/usr/pkg/qt2/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libkofficecore.so.1 -o .libs/libkofficecore.so.1.0
/usr/bin/ld: cannot find -lkstore
collect2: ld returned 1 exit status
libtool: install: error: relink `libkofficecore.la' with the above command before installing it
[...]
/usr/bin/ld: cannot find -lkofficecore
collect2: ld returned 1 exit status
libtool: install: error: relink `libkofficeui.la' with the above command before installing it
[...]
----------------------------------------------------------------------
Libraries have been installed in:
/usr/pkg/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../../admin/mkinstalldirs /usr/pkg/include
install -c -o root -g wheel -m 444 koFind.h /usr/pkg/include/koFind.h
install -c -o root -g wheel -m 444 koReplace.h /usr/pkg/include/koReplace.h
install -c -o root -g wheel -m 444 koPageLayoutDia.h /usr/pkg/include/koPageLayoutDia.h
install -c -o root -g wheel -m 444 koPartSelectDia.h /usr/pkg/include/koPartSelectDia.h
install -c -o root -g wheel -m 444 koPartSelectAction.h /usr/pkg/include/koPartSelectAction.h
install -c -o root -g wheel -m 444 koRuler.h /usr/pkg/include/koRuler.h
install -c -o root -g wheel -m 444 koTemplateChooseDia.h /usr/pkg/include/koTemplateChooseDia.h
install -c -o root -g wheel -m 444 koTabChooser.h /usr/pkg/include/koTabChooser.h
install -c -o root -g wheel -m 444 koKoolBar.h /usr/pkg/include/koKoolBar.h
install -c -o root -g wheel -m 444 koTemplateCreateDia.h /usr/pkg/include/koTemplateCreateDia.h
install -c -o root -g wheel -m 444 kcoloractions.h /usr/pkg/include/kcoloractions.h
install -c -o root -g wheel -m 444 koToolBox.h /usr/pkg/include/koToolBox.h
install -c -o root -g wheel -m 444 koTemplates.h /usr/pkg/include/koTemplates.h
install -c -o root -g wheel -m 444 koGlobal.h /usr/pkg/include/koGlobal.h
install -c -o root -g wheel -m 444 tkaction.h /usr/pkg/include/tkaction.h
install -c -o root -g wheel -m 444 tkcoloractions.h /usr/pkg/include/tkcoloractions.h
install -c -o root -g wheel -m 444 tktoolbarbutton.h /usr/pkg/include/tktoolbarbutton.h
install -c -o root -g wheel -m 444 tkcombobox.h /usr/pkg/include/tkcombobox.h
gmake[4]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/lib/kofficeui'
gmake[3]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/lib/kofficeui'
Making install in pics
gmake[3]: Entering directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/lib/kofficeui/pics'
gmake[4]: Entering directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/lib/kofficeui/pics'
gmake[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../admin/mkinstalldirs /usr/pkg/share/kde/apps/koffice/pics
install -c -o root -g wheel -m 444 ./koRulerFirst.png /usr/pkg/share/kde/apps/koffice/pics/koRulerFirst.png
install -c -o root -g wheel -m 444 ./koRulerLeft.png /usr/pkg/share/kde/apps/koffice/pics/koRulerLeft.png
install -c -o root -g wheel -m 444 ./koffice-logo.png /usr/pkg/share/kde/apps/koffice/pics/koffice-logo.png
install -c -o root -g wheel -m 444 ./koKoolBarDown.png /usr/pkg/share/kde/apps/koffice/pics/koKoolBarDown.png
install -c -o root -g wheel -m 444 ./koKoolBarUp.png /usr/pkg/share/kde/apps/koffice/pics/koKoolBarUp.png
gmake[4]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/lib/kofficeui/pics'
gmake[3]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/lib/kofficeui/pics'
gmake[2]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/lib/kofficeui'
Making install in koscript
gmake[2]: Entering directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/lib/koscript'
gmake[3]: Entering directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/lib/koscript'
/bin/sh ../../admin/mkinstalldirs /usr/pkg/lib
/bin/sh ../../libtool --mode=install /usr/bin/install -c -o root -g wheel libkoscript.la /usr/pkg/lib/libkoscript.la
/usr/bin/install -c -o root -g wheel .libs/libkoscript.so.1.0 /usr/pkg/lib/libkoscript.so.1.0
(cd /usr/pkg/lib && rm -f libkoscript.so.1 && ln -s libkoscript.so.1.0 libkoscript.so.1)
(cd /usr/pkg/lib && rm -f libkoscript.so && ln -s libkoscript.so.1.0 libkoscript.so)
(cd /usr/pkg/lib && rm -f libkoscript.so && ln -s libkoscript.so.1.0 libkoscript.so)
/usr/bin/install -c -o root -g wheel .libs/libkoscript.lai /usr/pkg/lib/libkoscript.la
/usr/bin/install -c -o root -g wheel .libs/libkoscript.a /usr/pkg/lib/libkoscri[...]
*** Warning: This library needs some functionality provided by -lkiviopart.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libkivioconnectortool. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru .libs/libkivioconnectortool.a plugin.o tool_connector.o libkivioconnectortool_la_meta_unload.o
ranlib .libs/libkivioconnectortool.a
creating libkivioconnectortool.la
(cd .libs && rm -f libkivioconnectortool.la && ln -s ../libkivioconnectortool.la libkivioconnectortool.la)
/usr/bin/install -c -o root -g wheel .libs/libkivioconnectortool.soT /usr/pkg/lib/libkivioconnectortool.so
install: .libs/libkivioconnectortool.soT: stat: No such file or directory
gmake[5]: *** [install-libLTLIBRARIES] Error 1
gmake[5]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/kivio/plugins/kivioconnectortool'
gmake[4]: *** [install-am] Error 2
gmake[4]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/kivio/plugins/kivioconnectortool'
gmake[3]: *** [install-recursive] Error 1
gmake[3]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/kivio/plugins/kivioconnectortool'
gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/kivio/plugins'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/src/NetBSD-current/pkgsrc/misc/koffice/work/koffice-1.1.1/kivio'
gmake: *** [install-recursive] Error 1
*** Error code 2
[...]
>How-To-Repeat:
cd pkgsrc/misc/koffice
make install
>Fix:
None provide.
>Release-Note:
>Audit-Trail:
>Unformatted: