[MacPorts] #36123: kdevelop fails to build on Mountain Lion
MacPorts
noreply at macports.org
Thu Sep 13 07:52:32 PDT 2012
#36123: kdevelop fails to build on Mountain Lion
----------------------------+------------------------------------------
Reporter: mail.pourri@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords: kdevelop clang mountain lion
Port: |
----------------------------+------------------------------------------
Old description:
> The log shows:
>
> cmake -E cmake_link_script CMakeFiles/kdev4cppduchain.dir/link.txt
> --verbose=1
> /usr/bin/clang++ -Wno-reserved-user-defined-literal -stdlib=libc++ -fno-
> common -O3 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -shared -single_module
> -multiply_defined suppress -arch x86_64 -o
> ../../../lib/libkdev4cppduchain.dylib -install_name
> /opt/local/lib/libkdev4cppduchain.dylib
> CMakeFiles/kdev4cppduchain.dir/kdev4cppduchain_automoc.o
> CMakeFiles/kdev4cppduchain.dir/adlhelper.o
> CMakeFiles/kdev4cppduchain.dir/sourcemanipulation.o
> CMakeFiles/kdev4cppduchain.dir/missingdeclarationtype.o
> CMakeFiles/kdev4cppduchain.dir/missingdeclarationproblem.o
> CMakeFiles/kdev4cppduchain.dir/missingdeclarationassistant.o
> CMakeFiles/kdev4cppduchain.dir/contextbuilder.o
> CMakeFiles/kdev4cppduchain.dir/declarationbuilder.o
> CMakeFiles/kdev4cppduchain.dir/typebuilder.o
> CMakeFiles/kdev4cppduchain.dir/usebuilder.o
> CMakeFiles/kdev4cppduchain.dir/cppeditorintegrator.o
> CMakeFiles/kdev4cppduchain.dir/dumpchain.o
> CMakeFiles/kdev4cppduchain.dir/cpptypes.o
> CMakeFiles/kdev4cppduchain.dir/ptrtomembertype.o
> CMakeFiles/kdev4cppduchain.dir/dumptypes.o
> CMakeFiles/kdev4cppduchain.dir/environmentmanager.o
> CMakeFiles/kdev4cppduchain.dir/cppduchain.o
> CMakeFiles/kdev4cppduchain.dir/templateparameterdeclaration.o
> CMakeFiles/kdev4cppduchain.dir/qtfunctiondeclaration.o
> CMakeFiles/kdev4cppduchain.dir/qpropertydeclaration.o
> CMakeFiles/kdev4cppduchain.dir/cppducontext.o
> CMakeFiles/kdev4cppduchain.dir/typeutils.o
> CMakeFiles/kdev4cppduchain.dir/templatedeclaration.o
> CMakeFiles/kdev4cppduchain.dir/cpppreprocessenvironment.o
> CMakeFiles/kdev4cppduchain.dir/expressionparser.o
> CMakeFiles/kdev4cppduchain.dir/expressionvisitor.o
> CMakeFiles/kdev4cppduchain.dir/typeconversion.o
> CMakeFiles/kdev4cppduchain.dir/overloadresolution.o
> CMakeFiles/kdev4cppduchain.dir/viablefunctions.o
> CMakeFiles/kdev4cppduchain.dir/overloadresolutionhelper.o
> CMakeFiles/kdev4cppduchain.dir/name_visitor.o
> CMakeFiles/kdev4cppduchain.dir/type_visitor.o
> CMakeFiles/kdev4cppduchain.dir/builtinoperators.o
> CMakeFiles/kdev4cppduchain.dir/expressionevaluationresult.o
> CMakeFiles/kdev4cppduchain.dir/navigation/navigationwidget.o
> CMakeFiles/kdev4cppduchain.dir/navigation/declarationnavigationcontext.o
> CMakeFiles/kdev4cppduchain.dir/navigation/includenavigationcontext.o
> CMakeFiles/kdev4cppduchain.dir/navigation/macronavigationcontext.o
> /opt/local/lib/libkdevplatformlanguage.5.0.0.dylib
> /opt/local/lib/libkdevplatforminterfaces.5.0.0.dylib
> /opt/local/lib/libkdevplatformutil.5.0.0.dylib
> ../../../lib/libkdev4cppparser.dylib
> /opt/local/lib/libktexteditor.4.8.0.dylib
> ../../../lib/libkdev4cpprpp.dylib
> /opt/local/lib/libkdevplatformlanguage.5.0.0.dylib
> /opt/local/lib/libkdevplatformutil.5.0.0.dylib
> /opt/local/lib/libkdevplatforminterfaces.5.0.0.dylib
> /opt/local/lib/libktexteditor.4.8.0.dylib
> /opt/local/lib/libkparts.4.8.0.dylib /opt/local/lib/libkio.5.8.0.dylib
> /opt/local/lib/libQtNetwork.dylib /opt/local/lib/libQtXml.dylib
> /opt/local/lib/libnepomukutils.4.8.0.dylib
> /opt/local/lib/libnepomuk.4.8.0.dylib /opt/local/lib/libkdeui.5.8.0.dylib
> /opt/local/lib/libQtGui.dylib /opt/local/lib/libQtSvg.dylib
> /opt/local/lib/libsoprano.dylib /opt/local/lib/libkdecore.5.8.0.dylib
> /opt/local/lib/libQtCore.dylib /opt/local/lib/libQtDBus.dylib -framework
> Carbon
> Undefined symbols for architecture x86_64:
> "Utils::BasicSetRepository::createSet(std::__1::set<unsigned int,
> std::__1::less<unsigned int>, std::__1::allocator<unsigned int> >
> const&)", referenced from:
> Utils::StorableSet<rpp::pp_macro, Cpp::MacroIndexConversion,
> Cpp::StaticMacroSetRepository, true,
> Cpp::StaticMacroSetRepository::Locker>::StorableSet(std::__1::set<unsigned
> int, std::__1::less<unsigned int>, std::__1::allocator<unsigned int> >
> const&) in environmentmanager.o
> Utils::StorableSet<KDevelop::IndexedString,
> Cpp::IndexedStringConversion, Cpp::StaticStringSetRepository, true,
> Cpp::StaticStringSetRepository::Locker>::StorableSet(std::__1::set<unsigned
> int, std::__1::less<unsigned int>, std::__1::allocator<unsigned int> >
> const&) in environmentmanager.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
>
> I've tried to build too using gcc with that command "sudo port clean
> kdevelop && sudo port install kdevelop configure.compiler=gcc" but it
> also fail with similar undefined symbol errors on different files.
New description:
The log shows:
{{{
cmake -E cmake_link_script CMakeFiles/kdev4cppduchain.dir/link.txt
--verbose=1
/usr/bin/clang++ -Wno-reserved-user-defined-literal -stdlib=libc++ -fno-
common -O3 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -shared -single_module
-multiply_defined suppress -arch x86_64 -o
../../../lib/libkdev4cppduchain.dylib -install_name
/opt/local/lib/libkdev4cppduchain.dylib
CMakeFiles/kdev4cppduchain.dir/kdev4cppduchain_automoc.o
CMakeFiles/kdev4cppduchain.dir/adlhelper.o
CMakeFiles/kdev4cppduchain.dir/sourcemanipulation.o
CMakeFiles/kdev4cppduchain.dir/missingdeclarationtype.o
CMakeFiles/kdev4cppduchain.dir/missingdeclarationproblem.o
CMakeFiles/kdev4cppduchain.dir/missingdeclarationassistant.o
CMakeFiles/kdev4cppduchain.dir/contextbuilder.o
CMakeFiles/kdev4cppduchain.dir/declarationbuilder.o
CMakeFiles/kdev4cppduchain.dir/typebuilder.o
CMakeFiles/kdev4cppduchain.dir/usebuilder.o
CMakeFiles/kdev4cppduchain.dir/cppeditorintegrator.o
CMakeFiles/kdev4cppduchain.dir/dumpchain.o
CMakeFiles/kdev4cppduchain.dir/cpptypes.o
CMakeFiles/kdev4cppduchain.dir/ptrtomembertype.o
CMakeFiles/kdev4cppduchain.dir/dumptypes.o
CMakeFiles/kdev4cppduchain.dir/environmentmanager.o
CMakeFiles/kdev4cppduchain.dir/cppduchain.o
CMakeFiles/kdev4cppduchain.dir/templateparameterdeclaration.o
CMakeFiles/kdev4cppduchain.dir/qtfunctiondeclaration.o
CMakeFiles/kdev4cppduchain.dir/qpropertydeclaration.o
CMakeFiles/kdev4cppduchain.dir/cppducontext.o
CMakeFiles/kdev4cppduchain.dir/typeutils.o
CMakeFiles/kdev4cppduchain.dir/templatedeclaration.o
CMakeFiles/kdev4cppduchain.dir/cpppreprocessenvironment.o
CMakeFiles/kdev4cppduchain.dir/expressionparser.o
CMakeFiles/kdev4cppduchain.dir/expressionvisitor.o
CMakeFiles/kdev4cppduchain.dir/typeconversion.o
CMakeFiles/kdev4cppduchain.dir/overloadresolution.o
CMakeFiles/kdev4cppduchain.dir/viablefunctions.o
CMakeFiles/kdev4cppduchain.dir/overloadresolutionhelper.o
CMakeFiles/kdev4cppduchain.dir/name_visitor.o
CMakeFiles/kdev4cppduchain.dir/type_visitor.o
CMakeFiles/kdev4cppduchain.dir/builtinoperators.o
CMakeFiles/kdev4cppduchain.dir/expressionevaluationresult.o
CMakeFiles/kdev4cppduchain.dir/navigation/navigationwidget.o
CMakeFiles/kdev4cppduchain.dir/navigation/declarationnavigationcontext.o
CMakeFiles/kdev4cppduchain.dir/navigation/includenavigationcontext.o
CMakeFiles/kdev4cppduchain.dir/navigation/macronavigationcontext.o
/opt/local/lib/libkdevplatformlanguage.5.0.0.dylib
/opt/local/lib/libkdevplatforminterfaces.5.0.0.dylib
/opt/local/lib/libkdevplatformutil.5.0.0.dylib
../../../lib/libkdev4cppparser.dylib
/opt/local/lib/libktexteditor.4.8.0.dylib
../../../lib/libkdev4cpprpp.dylib
/opt/local/lib/libkdevplatformlanguage.5.0.0.dylib
/opt/local/lib/libkdevplatformutil.5.0.0.dylib
/opt/local/lib/libkdevplatforminterfaces.5.0.0.dylib
/opt/local/lib/libktexteditor.4.8.0.dylib
/opt/local/lib/libkparts.4.8.0.dylib /opt/local/lib/libkio.5.8.0.dylib
/opt/local/lib/libQtNetwork.dylib /opt/local/lib/libQtXml.dylib
/opt/local/lib/libnepomukutils.4.8.0.dylib
/opt/local/lib/libnepomuk.4.8.0.dylib /opt/local/lib/libkdeui.5.8.0.dylib
/opt/local/lib/libQtGui.dylib /opt/local/lib/libQtSvg.dylib
/opt/local/lib/libsoprano.dylib /opt/local/lib/libkdecore.5.8.0.dylib
/opt/local/lib/libQtCore.dylib /opt/local/lib/libQtDBus.dylib -framework
Carbon
Undefined symbols for architecture x86_64:
"Utils::BasicSetRepository::createSet(std::__1::set<unsigned int,
std::__1::less<unsigned int>, std::__1::allocator<unsigned int> >
const&)", referenced from:
Utils::StorableSet<rpp::pp_macro, Cpp::MacroIndexConversion,
Cpp::StaticMacroSetRepository, true,
Cpp::StaticMacroSetRepository::Locker>::StorableSet(std::__1::set<unsigned
int, std::__1::less<unsigned int>, std::__1::allocator<unsigned int> >
const&) in environmentmanager.o
Utils::StorableSet<KDevelop::IndexedString,
Cpp::IndexedStringConversion, Cpp::StaticStringSetRepository, true,
Cpp::StaticStringSetRepository::Locker>::StorableSet(std::__1::set<unsigned
int, std::__1::less<unsigned int>, std::__1::allocator<unsigned int> >
const&) in environmentmanager.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
}}}
I've tried to build too using gcc with that command "sudo port clean
kdevelop && sudo port install kdevelop configure.compiler=gcc" but it also
fail with similar undefined symbol errors on different files.
--
Comment (by macsforever2000@…):
Please attach the complete main.log file.
In the future, please use WikiFormatting, fill in the Port field of the
failed port and Cc the port maintainer(s).
--
Ticket URL: <https://trac.macports.org/ticket/36123#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list