Opened 19 years ago
Closed 19 years ago
#7500 closed defect (fixed)
BUG: koffice doesn't build
Reported by: | ben@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | takanori@… | |
Port: |
Description
koffice 1.4.2 fails during linking of karbon:
... g++-3.3 -o .libs/libkarbonpart.so -bundle .libs/karbon_factory_dummy.o -L/opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_x11_qt3/work/qt-x11-free-3.3.5/lib -L/usr/X11R6/lib -L/opt/local/lib ./.libs/libkarboncommon.dylib /opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_kde_koffice/work/koffice-1.4.2/lib/kopainter/.libs/libkopainter.dylib /opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_kde_koffice/work/koffice-1.4.2/lib/kotext/.libs/libkotext.dylib /opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_kde_koffice/work/koffice-1.4.2/lib/kofficeui/.libs/libkofficeui.dylib /opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_kde_koffice/work/koffice-1.4.2/lib/kofficecore/.libs/libkofficecore.dylib /opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_kde_koffice/work/koffice-1.4.2/lib/store/.libs/libkstore.dylib /opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_kde_koffice/work/koffice-1.4.2/lib/kwmf/.libs/libkowmf.dylib /opt/local/lib/libkdeprint.dylib /opt/local/lib/libkabc.dylib /opt/local/lib/libvcard.dylib /opt/local/lib/libkresources.dylib /opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_kde_koffice/work/koffice-1.4.2/lib/kwmf/.libs/libkwmf.dylib /opt/local/lib/libkspell2.dylib /opt/local/lib/libkparts.dylib /opt/local/lib/libXft.dylib /opt/local/lib/libkutils.dylib /opt/local/lib/libkio.dylib /opt/local/lib/libkdeui.dylib /opt/local/lib/libkdesu.dylib /opt/local/lib/libkwalletclient.dylib /opt/local/lib/libkdecore.dylib /opt/local/lib/libDCOP.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libkdefx.dylib /opt/local/lib/libqt-mt.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libpng.dylib /opt/local/lib/libart_lgpl_2.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libMagick.dylib /opt/local/lib/libdl.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libbz2.dylib /opt/local/lib/libz.dylib ld: warning -L: directory name (/opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_x11_qt3/work/qt-x11-free-3.3.5/lib) does not exist ld: warning multiple definitions of symbol _init_libkarbonpart .libs/karbon_factory_dummy.o definition of _init_libkarbonpart in section (TEXT,text) ./.libs/libkarboncommon.dylib(single module) definition of _init_libkarbonpart ld: warning multiple definitions of symbol _qt_qclipboard_bailout_hack /opt/local/lib/libkdecore.dylib(single module) definition of _qt_qclipboard_bailout_hack /opt/local/lib/libqt-mt.dylib(single module) definition of _qt_qclipboard_bailout_hack ld: warning multiple definitions of symbol ZN13KProtocolInfo16isHelperProtocolERK7QString /opt/local/lib/libkdecore.dylib(single module) definition of ZN13KProtocolInfo16isHelperProtocolERK7QString /opt/local/lib/libkio.dylib(single module) definition of ZN13KProtocolInfo16isHelperProtocolERK7QString ld: warning multiple definitions of symbol ZN13KProtocolInfo16isFilterProtocolERK7QString /opt/local/lib/libkdecore.dylib(single module) definition of ZN13KProtocolInfo16isFilterProtocolERK7QString /opt/local/lib/libkio.dylib(single module) definition of ZN13KProtocolInfo16isFilterProtocolERK7QString ld: warning multiple definitions of symbol ZN13KProtocolInfo15isKnownProtocolERK7QString /opt/local/lib/libkdecore.dylib(single module) definition of ZN13KProtocolInfo15isKnownProtocolERK7QString /opt/local/lib/libkio.dylib(single module) definition of ZN13KProtocolInfo15isKnownProtocolERK7QString ld: warning multiple definitions of symbol _dladdr /opt/local/lib/libdl.dylib(dlfcn.o) definition of _dladdr /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dladdr ld: warning multiple definitions of symbol _dlclose /opt/local/lib/libdl.dylib(dlfcn.o) definition of _dlclose /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlclose ld: warning multiple definitions of symbol _dlerror /opt/local/lib/libdl.dylib(dlfcn.o) definition of _dlerror /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlerror ld: warning multiple definitions of symbol _dlopen /opt/local/lib/libdl.dylib(dlfcn.o) definition of _dlopen /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlopen ld: warning multiple definitions of symbol _dlsym /opt/local/lib/libdl.dylib(dlfcn.o) definition of _dlsym /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlsym ld: Undefined symbols: _XCreateGC _XFreeGC _XScreenOfDisplay _XFree _XGetWindowAttributes _XQueryTree _XSetErrorHandler _XSync _XTranslateCoordinates _XAllocColor _XAllocColorCells _XCreateColormap _XCreateImage _XFlush _XFreeColors _XGetVisualInfo _XPutImage _XQueryColors _XScreenNumberOfScreen _XSetBackground _XSetForeground make[3]: * [libkarbonpart.la] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 koffice-1.4.2-0 make-build failed! Error: Target com.apple.build returned: shell command "cd /opt/local/var/db/dports/build/_Users_ben_projects_darwinports_dports_kde_koffice/work/koffice-1.4.2 && ./CompileScript.sh" returned error 1 Command output: ld: warning multiple definitions of symbol _dlsym /opt/local/lib/libdl.dylib(dlfcn.o) definition of _dlsym /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlsym ld: Undefined symbols: _XCreateGC _XFreeGC _XScreenOfDisplay _XFree _XGetWindowAttributes _XQueryTree _XSetErrorHandler _XSync _XTranslateCoordinates _XAllocColor _XAllocColorCells _XCreateColormap _XCreateImage _XFlush _XFreeColors _XGetVisualInfo _XPutImage _XQueryColors _XScreenNumberOfScreen _XSetBackground _XSetForeground make[3]: * [libkarbonpart.la] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 koffice-1.4.2-0 make-build failed!
Change History (3)
comment:1 Changed 19 years ago by takanori@…
comment:2 Changed 19 years ago by takanori@…
This is an additional patch. http://www.miko.org/~tatyana/temp_public/2006/02/28/koffice/02_patch/dp02.diff
How about this?
comment:3 Changed 19 years ago by ben@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
yep this works fine. committed.
(i also added the deps on libwpd and wv2 -- koffice is now MS Word-enabled)
koffice build (error) log on OSX 10.3:
and here is a patch to avoid this problem:
I think this patch will fix it too.