[Kde-pim] [kdepim] [Bug 349353] New: error building kdepim (KF5 port) with undefined reference to PimCommon::SyntaxHighlighterBase

desaparecido luis.davila.pc at gmail.com
Thu Jun 18 23:05:00 BST 2015


https://bugs.kde.org/show_bug.cgi?id=349353

            Bug ID: 349353
           Summary: error building kdepim (KF5 port) with undefined
                    reference to PimCommon::SyntaxHighlighterBase
           Product: kdepim
           Version: GIT (master)
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kde-pim at kde.org
          Reporter: luis.davila.pc at gmail.com

since 5-6 days I always have this error when building kdepim-git package in
Archlinux (AUR repo), and I tried different commits this week, each time with
others kdepim packages dependencies builded to latest commit, here the error
message:

[ 98%] Building CXX object
kmail/CMakeFiles/kmailprivate.dir/mailcomposeradaptor.cpp.o
[ 98%] Building CXX object kmail/CMakeFiles/kmailprivate.dir/kmailadaptor.cpp.o 
/usr/lib/libtemplateparser.so.5: undefined reference to
`PimCommon::SyntaxHighlighterBase::~SyntaxHighlighterBase()'
/usr/lib/libtemplateparser.so.5: undefined reference to
`PimCommon::SyntaxHighlighterBase::highlightBlock(QString const&)'
/usr/lib/libtemplateparser.so.5: undefined reference to
`PimCommon::SyntaxHighlighterBase::qt_metacall(QMetaObject::Call, int, void**)'
/usr/lib/libtemplateparser.so.5: undefined reference to
`PimCommon::SyntaxHighlighterBase::staticMetaObject'
/usr/lib/libtemplateparser.so.5: undefined reference to
`PimCommon::SyntaxHighlighterBase::SyntaxHighlighterBase(QTextDocument*)'
/usr/lib/libtemplateparser.so.5: undefined reference to `typeinfo for
PimCommon::SyntaxHighlighterBase'
/usr/lib/libtemplateparser.so.5: undefined reference to
`PimCommon::SyntaxHighlighterBase::qt_metacast(char const*)'
/usr/lib/libmessageviewer.so.5: undefined reference to
`PimCommon::NetworkUtil::lowBandwidh() const'
collect2: error: ld returned 1 exit status
korganizer/CMakeFiles/korganizer.dir/build.make:188: recipe for target
'korganizer/korganizer' failed
make[2]: *** [korganizer/korganizer] Error 1
CMakeFiles/Makefile2:24009: recipe for target
'korganizer/CMakeFiles/korganizer.dir/all' failed
make[1]: *** [korganizer/CMakeFiles/korganizer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

and after some lines and at the end:

In file included from /usr/include/KF5/KXmlGui/kxmlguiwindow.h:33:0,
                 from
/tmp/makepkg/kdepim-git/src/kdepim/kmail/secondarywindow.h:34,
                 from
/tmp/makepkg/kdepim-git/src/build/kmail/../../kdepim/kmail/editor/composer.h:23,
                 from
/tmp/makepkg/kdepim-git/src/build/kmail/moc_composer.cpp:9,
                 from
/tmp/makepkg/kdepim-git/src/build/kmail/kmailprivate_automoc.cpp:31:
/usr/include/KF5/KXmlGui/kmainwindow.h:604:37: note: declared here
     virtual KXMLGUI_DEPRECATED void showAboutApplication() {}
                                     ^
Linking CXX shared library libkmailprivate.so
[ 98%] Built target kmailprivate
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

all dependencies usually are there.   I use KF5 and plasma from git.


Reproducible: Always

Steps to Reproduce:
1.build all packages of kdepim to their latest commit
2.build kdepim-git package
3.sometimes I uninstalled completely all packages of kdepim stuffs and to
rebuild/install 

Actual Results:  
each time the same error when building kdepim-git

Expected Results:  
a successfully kdepim-git package builded

Archlinux with [testing] repo enable, GCC 5.1.0, Linux kernel 4.0.5, KF5 and
Plasma GIT versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list