Opened 9 years ago
Closed 4 years ago
#3550 closed defect (wontfix)
macports build fails
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | never |
Component: | *unknown* | Version: | |
Keywords: | Cc: |
Description
Using port upgrade outdated
failed to build openmodelica @1.9.3 +gfortran48+libraries+omnotebook+qt+sundials
I'm not sure which error messages are relevant. Here are a few that seem like good candidates. I will also attach the full build log.
:info:build # copy java interface stuff :info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/OMCompiler/Simulati onRuntime/c/util/java_interface' :info:build error(10): internal error: Can't get property indirectDelegates using method get/isIndirectDelegates from org.antlr.tool.Grammar instance : java.lang.NullPointerException
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/OMPlot/qwt' :info:build QMAKE_CXX=/usr/bin/clang++ qwt.pro :info:build /bin/sh: qwt.pro: command not found :info:build make[2]: *** [Makefile] Error 127 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/OMPlot/qwt' :info:build make[1]: *** [qwt-build] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/OMPlot' :info:build make: *** [omplot] Error 2 :info:build make: *** Waiting for unfinished jobs.... :info:build /usr/bin/clang++ -pipe -Os -arch x86_64 -Wall -DUSE_CORBA -DUSE_OMNIORB -I/opt/local/include -I/opt/local/include -c -o mosh.o mosh.cpp :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile :info:build /usr/bin/clang++ -pipe -Os -arch x86_64 -Wall -DUSE_CORBA -DUSE_OMNIORB -I/opt/local/include -I/opt/local/include -c -o omc_communication.o omc_communication.cc :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/OMShell/OMShell/OMShellGUI' :info:build make[3]: Makefile: No such file or directory :info:build make[3]: *** No rule to make target `Makefile'. Stop. :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/OMShell/OMShell/OMShellGUI' :info:build make[2]: *** [OMShell] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/OMShell/OMShell/OMShellGUI' :info:build make[1]: *** [omshell] Error 2
:info:build /usr/bin/clang++ -o OMShell-terminal mosh.o options.o omc_communication.o -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -lreadline -lncurses -lomniORB4 -lomnithread -lpthread -lm -lpthread :info:build cp OMShell-terminal /opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/build/bin :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/OMShell/mosh/src' :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3/OMShell' :info:build make: *** [omshell] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica/openmodelica/work/openmodelica_1.9.3" && /usr/bin/make -j4 -w :info:build Exit code: 2
Attachments (3)
Change History (9)
by , 9 years ago
comment:1 by , 9 years ago
The 1.9.3 build used to work, but MacPorts has since then released a new port for qt. Use the nightly or stable builds to build OpenModelica. They should work.
comment:2 by , 9 years ago
port search
doesn't find a nightly build, only -devel
, -release
, and -stable
. Attempting to build openmodelica-stable
fails with what appears to be the same errors.
comment:4 by , 9 years ago
Also, I think you need to port selfupdate, because your stable package is outdated:
$ grep ^version macports/lang/openmodelica-stable/Portfile version 1.9.4~dev-336-g168e406
comment:5 by , 9 years ago
That version is more recent than the bug report. At least two more versions have appeared to macports since you posted that. Today's version still fails, but it looks like it might be for different reasons.
by , 9 years ago
Attachment: | main.3.log added |
---|
Build log for openmodelica-1.9.4~dev-413-gf7736fa_0+gfortran48+libraries+omnotebook+qt+sundials.darwin_14.x86_64.tbz2
comment:6 by , 4 years ago
Milestone: | Future → never |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Closing since I assume this is no longer relevant.
Build log