[Kde-pim] Weird linkage failure on OSX CI
Daniel Vrátil
dvratil at kde.org
Wed May 20 11:14:36 BST 2015
Hi,
I'm trying to get kdepim to build on the OSX CI, but this one is beyond me.
Hopefully someone more knowledgable of the OSX build system might help.
The build is currently failing with following error:
00:28:09.901 Undefined symbols for architecture x86_64:
00:28:09.902 "std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::c_str() const", referenced from:
00:28:09.907
Kleo::KeyCache::findByFingerprint(std::__1::vector<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >,
std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > > > const&) const in keycache.cpp.o
00:28:09.907
Kleo::KeyCache::findByKeyIDOrFingerprint(std::__1::vector<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >,
std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > > > const&) const in keycache.cpp.o
00:28:09.908
Kleo::KeyCache::findSubkeysByKeyID(std::__1::vector<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >,
std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > > > const&) const in keycache.cpp.o
00:28:09.911 ld: symbol(s) not found for architecture x86_64
00:28:09.915 clang: error: linker command failed with exit code 1 (use -v to
see invocation)
Everything I could find on Google suggested switching to different stdlib but
that does not sound to me like the case here, since we would get similar
failures everwhere we use std::string, right?
Any idea what could be wrong? This obviously compiles just fine on Linux.
Build: https://build.kde.org/job/kdepim%20master%20kf5-qt5/
PLATFORM=OSX,compiler=clang/197/console
The file: http://quickgit.kde.org/?p=kdepim.git&a=blob&f=kleopatra%2Fmodels
%2Fkeycache.cpp
_______________________________________________
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