Summary: | error building kdepim (KF5 port) with undefined reference to PimCommon::SyntaxHighlighterBase | ||
---|---|---|---|
Product: | [Applications] kdepim | Reporter: | desaparecido <luis.davila.pc> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | davispuh, demm, ivan.cukic, maxim.stargazer, montel, winter |
Priority: | NOR | ||
Version: | GIT (master) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
information about starting build (dependencies, etc)
message error when building kdepim after completely uninstall/install (latest git) |
Description
desaparecido
2015-06-18 22:05:00 UTC
Created attachment 93226 [details]
information about starting build (dependencies, etc)
I don't have idea why it takes templateparser for system file and not build dir a workaround is desinstall existing kdepim and build new one. (In reply to Laurent Montel from comment #2) > I don't have idea why it takes templateparser for system file and not build > dir > a workaround is desinstall existing kdepim and build new one. thanks for reply, I did it last sunday, but I'll try again today, and I report it if something changes Created attachment 93236 [details]
message error when building kdepim after completely uninstall/install (latest git)
I uninstalled completely kdepim, updated all KF5 and Plasma packages to their latest commit and build/install again kdepim stuff, and again with an error message but this time with different libraries: "/calendarsupport/libcalendarsupportcollectionpage.so.4.78.0: undefined reference to `MailCommon"
(In reply to desaparecido from comment #4) > Created attachment 93236 [details] > message error when building kdepim after completely uninstall/install > (latest git) > > I uninstalled completely kdepim, updated all KF5 and Plasma packages to > their latest commit and build/install again kdepim stuff, and again with an > error message but this time with different libraries: > "/calendarsupport/libcalendarsupportcollectionpage.so.4.78.0: undefined > reference to `MailCommon" this message output is additional message, the first one is still there too :( hi, finally I can take the time to test again and now all builds fine, so probably a commit was solved my issue or the small bug in my PC took his day-off ;-) Unfortunately I still can not build kdepim, I uninstalled old kdepim, built all kdepim requirements from git and still getting /usr/bin/ld: warning: libmailcommon.so.5, needed by ../calendarsupport/libcalendarsupportcollectionpage.so.4.80.0, not found and subsequent errors in libcalendarsupportcollectionpage.so For some reason it doesn't search build dir for libraries so I used this workaround, basically just add all those dirs to LD_LIBRARY_PATH and it will make them findable export LD_LIBRARY_PATH=/mnt/AUR/kdepim-git/src/build/grantleetheme:/mnt/AUR/kdepim-git/src/build/kaddressbookgrantlee:/mnt/AUR/kdepim-git/src/build/libkpgp:/mnt/AUR/kdepim-git/src/build/libkleo:/mnt/AUR/kdepim-git/src/build/agents/followupreminderagent:/mnt/AUR/kdepim-git/src/build/agents/sendlateragent:/mnt/AUR/kdepim-git/src/build/messagecore:/mnt/AUR/kdepim-git/src/build/messageviewer:/mnt/AUR/kdepim-git/src/build/templateparser:/mnt/AUR/kdepim-git/src/build/mailimporter:/mnt/AUR/kdepim-git/src/build/messagecomposer:/mnt/AUR/kdepim-git/src/build/mailcommon Happens for me as well. The thing that solved it for me is putting these in CMakeLists.txt (not proposing to actually do it in the repo) set(CMAKE_CXX_VISIBILITY_PRESET default) set(CMAKE_VISIBILITY_INLINES_HIDDEN 0) I'm guessing that there are problems with CMakeLists in the project that sometimes grab the installed libraries instead of those being compiled - and since the install does not happen because of the build failure, it does not pick up the new libraries with the new symbols. over 1 year since this was first reported. has it been resolved yet? For me it's fixed |