Summary: | kglobalaccel and konqueror have linker errors on Mac OS X | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Ian Wadham <iandw.au> |
Component: | shortcuts | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | mk-lists, niederstrasser, rakuco |
Priority: | HI | ||
Version: | 4.13.0 | ||
Target Milestone: | --- | ||
Platform: | MacPorts | ||
OS: | macOS | ||
Latest Commit: | http://commits.kde.org/kdelibs/bdb672c5af44f5715a5bdf81193b9021ecd9f07a | Version Fixed In: | 4.13.2 |
Sentry Crash Report: | |||
Attachments: | Proposed patch |
Description
Ian Wadham
2014-05-13 11:34:02 UTC
The following problem occurs when using kdesrc-build on Mac OSX to build kde4-baseapps and is perhaps related to the above: Linking CXX executable konqueror.app/Contents/MacOS/konqueror Undefined symbols for architecture x86_64: "KonqMisc::konqFilteredURL(KonqMainWindow*, QString const&, QString const&)", referenced from: _kdemain in konqmain.o "KonqMisc::createBrowserWindowFromProfile(QString const&, QString const&, KUrl const&, KonqOpenURLRequest const&, bool)", referenced from: _kdemain in konqmain.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]: *** [konqueror/src/konqueror.app/Contents/MacOS/konqueror] Error 1 make[1]: *** [konqueror/src/CMakeFiles/konqueror.dir/all] Error 2 Created attachment 86646 [details]
Proposed patch
Ian, can you apply this patch to kdelibs, rebuild/reinstall it and then try building kde-runtime and kde-baseapps again?
You are a genius, Raphael! That patch went in without a hitch and I have now successfully re-built kdelibs, kde-runtime and kde-baseapps. The MacPorts guys will be pleased too. Thank you very much. Will you be putting it in master and KDE/4.13? Yes. Thanks for testing! Git commit bdb672c5af44f5715a5bdf81193b9021ecd9f07a by Raphael Kubo da Costa. Committed on 15/05/2014 at 13:30. Pushed by rkcosta into branch 'KDE/4.13'. KDE4_ADD_KDEINIT_EXECUTABLE: Check the right variable for Mac. Fix a regression introduced by 52ee7642, which copy-pasted some code from the Windows block. It caused the executable created with this macro to unconditionally build and depend on the last source file passed to it, even though it's only supposed to be part of the kdeinit_$TARGET target. FIXED-IN: 4.13.2 M +2 -2 cmake/modules/KDE4Macros.cmake http://commits.kde.org/kdelibs/bdb672c5af44f5715a5bdf81193b9021ecd9f07a Backported to KDE libraries version 4.12.4 for current MacPorts tree in http://quickgit.kde.org/?p=macports-kde.git&a=commitdiff&h=49a61a2fd7399d2a49927e328b55709cfca5b49c |