Opened 6 years ago
#5067 new defect
Mac openmodelica-devel fails to build
Reported by: | Adam Dershowitz | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Build Environment | Version: | |
Keywords: | Cc: | martin.sjolund@… |
Description
I can't upgrade openmodelica-devel from @1.13.0~dev-1284-g876da2a_0 (which builds, but will only run with the modification in https://trac.openmodelica.org/OpenModelica/ticket/5060 ) to 1.13.0~dev-1297-g6c67337_0
I'll attach the full log file, but the end of the log file shows a link error:
:info:build /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -std=c++11 -Wno-unused-variable -Wno-unused-function -Wno-unused-parameter -DWITHOUT_OSG -g -mmacosx-version-min=10.13 -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I../generatedfiles/moc -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXmlPatterns.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I../../../build/include/omc/scripting-API -I../../../build/include/omplot -I../../../build/include/omplot/qwt -I../../../build/include/x86_64-darwin17.7.0/omc/antlr3 -I../../../build/include/omc/c -I../../qjson-0.8.1/build/include -I../../../build/include -I../../qjson/build/include -I../../../build/include/omc/scripting-API -I../../../build/include/omc/c/util -I../../../build/include/omc/fmil -I/opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXmlPatterns.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -o moc_FMUProperties.o ../generatedfiles/moc/moc_FMUProperties.cpp :info:build /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -std=c++11 -Wno-unused-variable -Wno-unused-function -Wno-unused-parameter -DWITHOUT_OSG -g -mmacosx-version-min=10.13 -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I../generatedfiles/moc -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXmlPatterns.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I../../../build/include/omc/scripting-API -I../../../build/include/omplot -I../../../build/include/omplot/qwt -I../../../build/include/x86_64-darwin17.7.0/omc/antlr3 -I../../../build/include/omc/c -I../../qjson-0.8.1/build/include -I../../../build/include -I../../qjson/build/include -I../../../build/include/omc/scripting-API -I../../../build/include/omc/c/util -I../../../build/include/omc/fmil -I/opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXmlPatterns.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -o moc_OMSSimulationDialog.o ../generatedfiles/moc/moc_OMSSimulationDialog.cpp :info:build /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -std=c++11 -Wno-unused-variable -Wno-unused-function -Wno-unused-parameter -DWITHOUT_OSG -g -mmacosx-version-min=10.13 -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I../generatedfiles/moc -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXmlPatterns.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I../../../build/include/omc/scripting-API -I../../../build/include/omplot -I../../../build/include/omplot/qwt -I../../../build/include/x86_64-darwin17.7.0/omc/antlr3 -I../../../build/include/omc/c -I../../qjson-0.8.1/build/include -I../../../build/include -I../../qjson/build/include -I../../../build/include/omc/scripting-API -I../../../build/include/omc/c/util -I../../../build/include/omc/fmil -I/opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXmlPatterns.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -o moc_OMSSimulationOutputWidget.o ../generatedfiles/moc/moc_OMSSimulationOutputWidget.cpp :info:build /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -std=c++11 -Wno-unused-variable -Wno-unused-function -Wno-unused-parameter -DWITHOUT_OSG -g -mmacosx-version-min=10.13 -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I../generatedfiles/moc -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXmlPatterns.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I../../../build/include/omc/scripting-API -I../../../build/include/omplot -I../../../build/include/omplot/qwt -I../../../build/include/x86_64-darwin17.7.0/omc/antlr3 -I../../../build/include/omc/c -I../../qjson-0.8.1/build/include -I../../../build/include -I../../qjson/build/include -I../../../build/include/omc/scripting-API -I../../../build/include/omc/c/util -I../../../build/include/omc/fmil -I/opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXmlPatterns.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -o qrc_resource_omedit.o ../generatedfiles/rcc/qrc_resource_omedit.cpp :info:build /usr/bin/clang++ -headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -rdynamic -mmacosx-version-min=10.13 -o ../bin/OMEdit.app/Contents/MacOS/OMEdit main.o Helper.o Utilities.o StringHandler.o MainWindow.o OpenModelicaScriptingAPIQt.o OMCProxy.o MessagesWidget.o ItemDelegate.o LibraryTreeWidget.o Commands.o CoOrdinateSystem.o ModelWidgetContainer.o ModelicaClassDialog.o FunctionArgumentDialog.o SearchWidget.o OptionsDialog.o BaseEditor.o ModelicaEditor.o TransformationsEditor.o TextEditor.o CEditor.o CompositeModelEditor.o MetaModelicaEditor.o HTMLEditor.o PlotWindowContainer.o Component.o ShapeAnnotation.o CornerItem.o LineAnnotation.o PolygonAnnotation.o RectangleAnnotation.o EllipseAnnotation.o TextAnnotation.o BitmapAnnotation.o ComponentProperties.o Transformation.o DocumentationWidget.o SimulationDialog.o SimulationOutputWidget.o SimulationProcessThread.o SimulationOutputHandler.o OpcUaClient.o FetchInterfaceDataDialog.o FetchInterfaceDataThread.o TLMCoSimulationDialog.o TLMCoSimulationOutputWidget.o TLMCoSimulationThread.o ImportFMUDialog.o ImportFMUModelDescriptionDialog.o VariablesWidget.o NotificationsDialog.o ShapePropertiesDialog.o OMDumpXML.o diff_match_patch.o TransformationsWidget.o CommandFactory.o GDBAdapter.o StackFramesWidget.o LocalsWidget.o ModelicaValue.o BreakpointMarker.o BreakpointsWidget.o BreakpointDialog.o DebuggerConfigurationsDialog.o AttachToProcessDialog.o ProcessListModel.o backtrace.o GDBBacktrace.o CrashReportDialog.o GitCommands.o CommitChangesDialog.o RevertCommitsDialog.o CleanDialog.o OMEditApplication.o TraceabilityGraphViewWidget.o TraceabilityInformationURI.o OMSProxy.o FMUProperties.o OMSSimulationDialog.o OMSSimulationOutputWidget.o moc_Helper.o moc_Utilities.o moc_StringHandler.o moc_MainWindow.o moc_OpenModelicaScriptingAPIQt.o moc_OMCProxy.o moc_MessagesWidget.o moc_ItemDelegate.o moc_LibraryTreeWidget.o moc_ModelWidgetContainer.o moc_ModelicaClassDialog.o moc_SearchWidget.o moc_OptionsDialog.o moc_BaseEditor.o moc_ModelicaEditor.o moc_TransformationsEditor.o moc_TextEditor.o moc_CEditor.o moc_CompositeModelEditor.o moc_MetaModelicaEditor.o moc_HTMLEditor.o moc_PlotWindowContainer.o moc_Component.o moc_ShapeAnnotation.o moc_CornerItem.o moc_LineAnnotation.o moc_PolygonAnnotation.o moc_RectangleAnnotation.o moc_EllipseAnnotation.o moc_TextAnnotation.o moc_BitmapAnnotation.o moc_ComponentProperties.o moc_DocumentationWidget.o moc_SimulationDialog.o moc_SimulationOutputWidget.o moc_SimulationProcessThread.o moc_SimulationOutputHandler.o moc_OpcUaClient.o moc_FetchInterfaceDataDialog.o moc_FetchInterfaceDataThread.o moc_TLMCoSimulationDialog.o moc_TLMCoSimulationOutputWidget.o moc_TLMCoSimulationThread.o moc_ImportFMUDialog.o moc_ImportFMUModelDescriptionDialog.o moc_VariablesWidget.o moc_NotificationsDialog.o moc_ShapePropertiesDialog.o moc_TransformationsWidget.o moc_GDBAdapter.o moc_StackFramesWidget.o moc_LocalsWidget.o moc_ModelicaValue.o moc_BreakpointMarker.o moc_BreakpointsWidget.o moc_BreakpointDialog.o moc_DebuggerConfigurationsDialog.o moc_AttachToProcessDialog.o moc_ProcessListModel.o moc_GDBBacktrace.o moc_CrashReportDialog.o moc_GitCommands.o moc_CommitChangesDialog.o moc_RevertCommitsDialog.o moc_CleanDialog.o moc_TraceabilityGraphViewWidget.o moc_TraceabilityInformationURI.o moc_OMSProxy.o moc_FMUProperties.o moc_OMSSimulationDialog.o moc_OMSSimulationOutputWidget.o qrc_resource_omedit.o -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -L /opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-1297-g6c67337/build/lib/x86_64-darwin17.7.0/omc -lOMPlot -lomqwt -lfmilib_shared -L../OMEditGUI/Debugger/Parser -lGDBMIParser -lomantlr3 -Wl,-rpath,@loader_path/../../../../lib/x86_64-darwin17.7.0/omc,-rpath,@loader_path/../../../../lib/,-rpath,/opt/local/lib/x86_64-darwin17.7.0/omc,-rpath,/opt/local/lib/ -lOpenModelicaCompiler -lOpenModelicaRuntimeC -lomcgc -L/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-1297-g6c67337/build/lib/x86_64-darwin17.7.0/omc -lomopcua -L/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-1297-g6c67337/build/lib -lOMSimulatorLib -lomtlmsimulator -lqjson -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -L/opt/local/libexec/qt4/lib -framework QtWebKit -framework QtSvg -F/opt/local/Library/Frameworks -framework QtGui -framework QtCore -framework QtXmlPatterns -framework QtNetwork -framework QtXml -framework QtOpenGL -framework OpenGL -framework AGL :info:build Undefined symbols for architecture x86_64: :info:build "_oms2_getSubModelPath", referenced from: :info:build OMSProxy::getSubModelPath(QString, QString*) in OMSProxy.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[3]: *** [../bin/OMEdit.app/Contents/MacOS/OMEdit] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-1297-g6c67337/OMEdit/OMEdit/OMEditGUI' :info:build make[2]: *** [OMEdit] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-1297-g6c67337/OMEdit/OMEdit/OMEditGUI' :info:build make[1]: *** [omedit] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-1297-g6c67337/OMEdit' :info:build make: *** [omedit] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-1297-g6c67337' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-1297-g6c67337" && /usr/bin/make -j8 -w :info:build Exit code: 2 :error:build Failed to build openmodelica-devel: command execution failed :debug:build Error code: CHILDSTATUS 84264 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/main.log for details.
Attachments (1)
Note:
See TracTickets
for help on using tickets.