﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1384	MacPorts build failure	PDM	PDM	"I'm trying to install OpenModelica on an Intel iMac running Mac OS 10.5.8, using MacPorts. I've followed the instructions on the [Downloads page|http://www.openmodelica.org/index.php/download/download-mac] but {{port install openmodelica-devel}} fails while building; I've also tried {{port install openmodelica-release}} and {{port install openmodelica}}, and their builds fail in exactly the same way.

I'm attaching the full log file produced by {{port install openmodelica-devel}}. It appears that the build goes OK until g++ is called with a superfluous (empty) {{-arch}} switch:
{{{
:info:build /usr/bin/g++-4.0 -headerpad_max_install_names -arch i386 -arch -o OM
Notebook.app/Contents/MacOS/OMNotebook cellapplication.o cellparserfactory.o omc
_communicator.o omc_communication.o stylesheet.o cellcommandcenter.o chaptercoun
tervisitor.o omcinteractiveenvironment.o textcell.o cellcommands.o commandcomple
tion.o openmodelicahighlighter.o textcursorcommands.o cell.o printervisitor.o tr
eeview.o cellcursor.o highlighterthread.o puretextvisitor.o updategroupcellvisit
or.o celldocument.o inputcell.o qcombobox_search.o updatelinkvisitor.o cellfacto
ry.o notebook.o qtapp.o xmlparser.o searchform.o cellgroup.o notebooksocket.o se
rializingvisitor.o graphcell.o evalthread.o indent.o compoundWidget.o dataSelect
.o graphWindow.o curve.o point.o legendLabel.o graphWidget.o line2D.o lineGroup.
o preferenceWindow.o variableData.o variablewindow.o SimulationData.o Visualizat
ionWidget.o moc_omc_communicator.o moc_cellapplication.o moc_notebooksocket.o mo
c_stylesheet.o moc_cellcursor.o moc_document.o moc_textcell.o moc_celldocument.o
 moc_documentview.o moc_treeview.o moc_cellgroup.o moc_qcombobox_search.o moc_ce
ll.o moc_inputcell.o moc_commandcompletion.o moc_notebook.o moc_searchform.o moc
_graphcell.o moc_legendLabel.o moc_compoundWidget.o moc_graphWindow.o moc_graphW
idget.o moc_preferenceWindow.o moc_variablewindow.o moc_VisualizationWidget.o qr
c_res_qt.o     -lomniORB4 -lomnithread -lpthread -L/opt/local/lib -lQtXml -lQtOp
enGL -lQtGui -lQtNetwork -lQtCore -framework OpenGL -framework AGL 
:info:build g++-4.0: Invalid arch name : -o
}}}
As I'm not running Snow Leopard, I can't use the Mac installer provided on the Downloads page. I've managed to install many other packages using MacPorts, but I haven't previously experienced a build failure."	defect	closed	high				fixed		PDM
