[KDE/Mac] Failed: phase compiling: kdelibs4-mac-4.13.1-2 failed

Ian Wadham iandw.au at gmail.com
Sun Jun 29 06:29:24 UTC 2014


Hello Chentao,

On 28/06/2014, at 10:40 PM, Chentao YANG wrote:
> I tried to install Kate under my OS X 10.9 using fink, and it came out as following:
> 
> [ 68%] Building CXX object kdoctools/CMakeFiles/kio_ghelp.dir/xslt_kde.o
> cd /sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/build/kdoctools && /sw/var/lib/fink/path-prefix-libcxx/g++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=40 -DKDE_DEPRECATED_WARNINGS -DMAKE_KIO_GHELP_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_REENTRANT -fno-common -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.9 -fPIC -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/build/kdoctools -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdoctools -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1 -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/build -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/interfaces -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kio -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kio/bookmarks -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kio/kio -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kio/kfile -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/actions -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/colors -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/config -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/dialogs -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/findreplace -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/fonts -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/icons -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/itemviews -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/jobs -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/kernel -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/notifications -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/paged -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/plotting -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/shortcuts -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/sonnet -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/util -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/widgets -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/windowmanagement -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdeui/xmlgui -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kjs -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/build/kjs -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/build/kdecore -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/compression -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/config -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/date -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/io -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/jobs -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/kernel -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/auth -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/network -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/services -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/localization -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/sycoca -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/text -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/util -I/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdecore/sonnet -I/sw/opt/qca2/mac/include/QtCrypto -I/sw/lib/qt4-mac/include/phonon -I/sw/lib/qt4-mac/include/QtXmlPatterns -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/include/QtWebKit -I/sw/lib/qt4-mac/include/QtUiTools -I/sw/lib/qt4-mac/include/QtTest -I/sw/lib/qt4-mac/include/QtSvg -I/sw/lib/qt4-mac/include/QtSql -I/sw/lib/qt4-mac/include/QtScriptTools -I/sw/lib/qt4-mac/include/QtScript -I/sw/lib/qt4-mac/include/QtOpenGL -I/sw/lib/qt4-mac/include/QtNetwork -I/sw/lib/qt4-mac/include/QtMultimedia -I/sw/lib/qt4-mac/include/QtHelp -I/sw/lib/qt4-mac/include/QtDesigner -I/sw/lib/qt4-mac/include/QtDeclarative -I/sw/lib/qt4-mac/include/QtDBus -I/sw/lib/qt4-mac/include/Qt3Support -I/sw/lib/qt4-mac/include/QtGui -I/sw/lib/qt4-mac/include/QtCore -I/sw/lib/qt4-mac/include/Qt -I/sw/lib/qt4-mac/share/qt4/mkspecs/default -I/sw/lib/qt4-mac/include -F/sw/lib/qt4-mac/lib -F/Library/Frameworks    -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o CMakeFiles/kio_ghelp.dir/xslt_kde.o -c /sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/kdoctools/xslt_kde.cpp
> Linking CXX shared module ../lib/kio_ghelp.so
> cd /sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/build/kdoctools && /sw/bin/cmake -E cmake_link_script CMakeFiles/kio_ghelp.dir/link.txt --verbose=1
> /sw/var/lib/fink/path-prefix-libcxx/g++   -fno-common -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.9 -bundle -Wl,-headerpad_max_install_names -multiply_defined suppress  -L/sw/src/fink.build/kdelibs4-mac-4.13.1-2/kdelibs-4.13.1/build/lib -L/sw/opt/kde4/mac/lib -L/sw/lib/system-openssl/lib -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib/qt4-mac/lib -L/sw/opt/qca2/mac/lib -L/sw/opt/strigi/mac/lib -L/sw/opt/soprano/mac/lib -L/sw/opt/grantlee/mac/lib -L/sw/opt/attica/mac/lib -L/sw/opt/akonadi/mac/lib -L/sw/lib -Wl,-dead_strip_dylibs -o ../lib/kio_ghelp.so CMakeFiles/kio_ghelp.dir/kio_ghelp_automoc.o CMakeFiles/kio_ghelp.dir/kio_help.o CMakeFiles/kio_ghelp.dir/main_ghelp.o CMakeFiles/kio_ghelp.dir/xslt.o CMakeFiles/kio_ghelp.dir/xslt_help.o CMakeFiles/kio_ghelp.dir/xslt_kde.o -F/Library/Frameworks -F/sw/lib/qt4-mac/lib ../lib/libkdecore.5.13.1.dylib ../lib/libkio.5.13.1.dylib /sw/lib/libxml2.dylib -framework libxslt -framework libexslt -framework QtNetwork -framework QtXml ../lib/libkdeui.5.13.1.dylib ../lib/libkdecore.5.13.1.dylib -framework QtDBus -framework QtCore -framework Carbon -framework QtGui -framework QtSvg
> ld: warning: ignoring file /Library/Frameworks/libxslt.framework/libxslt, missing required architecture x86_64 in file /Library/Frameworks/libxslt.framework/libxslt (2 slices)
> ld: warning: ignoring file /Library/Frameworks/libexslt.framework/libexslt, missing required architecture x86_64 in file /Library/Frameworks/libexslt.framework/libexslt (2 slices)
> Undefined symbols for architecture x86_64:
>   "_exsltRegisterAll", referenced from:
>       _kdemain in main_ghelp.o
>   "_xsltApplyStylesheet", referenced from:
>       transform(QString const&, QString const&, QVector<char const*> const&) in xslt.o
>   "_xsltFreeStylesheet", referenced from:
>       transform(QString const&, QString const&, QVector<char const*> const&) in xslt.o
>   "_xsltNewTransformContext", referenced from:
>       transform(QString const&, QString const&, QVector<char const*> const&) in xslt.o
>   "_xsltParseStylesheetFile", referenced from:
>       transform(QString const&, QString const&, QVector<char const*> const&) in xslt.o
>   "_xsltSaveResultTo", referenced from:
>       transform(QString const&, QString const&, QVector<char const*> const&) in xslt.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[2]: *** [lib/kio_ghelp.so] Error 1
> make[1]: *** [kdoctools/CMakeFiles/kio_ghelp.dir/all] Error 2
> make: *** [all] Error 2
> ### execution of /tmp/fink.IlOZE failed, exit code 2
> ### execution of /tmp/fink.KTXsf failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-kdelibs4-mac-4.13.1-2
> (Reading database ... 223961 files and directories currently installed.)
> Removing fink-buildlock-kdelibs4-mac-4.13.1-2 ...
> Failed: phase compiling: kdelibs4-mac-4.13.1-2 failed
> 
> ###### The information of my system is following:
> Package manager version: 0.37.0
> Distribution version: selfupdate-rsync Sat Jun 28 19:57:45 2014, 10.9, x86_64
> Trees: local/main stable/main
> Xcode.app: 5.1.1
> Xcode command-line tools: 5.1.0.0.1.1396320587
> Max. Fink build jobs:  1
> 
> I've checked the fink FAQ, but finding no answer to this question, could anyone help me to solve this?

I am sorry, but I do not think we can help you.  We are mostly MacPorts users
and developers here.  As far as we know, Fink is no longer well-supported,
but MacPorts and Homebrew are.  Both provide Open Source software on
Apple OS X.

So maybe the best thing you can do is to try MacPorts or Homebrew, but you
will probably need to clean out your Fink installations first, to avoid clashes
between versions of software and even worse problems.

So, for more help, ask the MacPorts Users' mailing list before you start making
any major changes.  They will be better able to advise you than me.  See:

    http://www.macports.org/
    http://www.macports.org/contact.php#Lists

All the best, Ian W.









More information about the kde-mac mailing list