Opened 9 years ago

Closed 7 years ago

#3496 closed defect (worksforme)

OM Mac build fails

Reported by: Adam Dershowitz Owned by: somebody
Priority: high Milestone:
Component: Build Environment Version:
Keywords: Cc:

Description

I just tried an upgrade from 1.9.4~dev-154-g1d6680d_0 to 1.9.4~dev-158-g7279334_0 and it fails.
The final set of errors are as follows:

:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C qwt -f Makefile.unix
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334/OMPlot/qwt'
:info:build sh /opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334/OMPlot/qmake.sh QMAKE_CXX=/usr/bin/clang++ qwt.pro
: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 /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 WARNING: Ignored (not found) '/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334/OMPlot/qwt/src/omqwt.pbproj'
:info:build cat: Makefile: No such file or directory
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334/OMPlot/qwt'
:info:build make[3]: *** No targets.  Stop.
: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.9.4~dev-158-g7279334/OMPlot/qwt'
:info:build make[2]: *** [OMPlot] 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.9.4~dev-158-g7279334/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-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334/OMPlot'
:info:build make: *** [omplot] Error 2
:info:build make: *** Waiting for unfinished jobs....
:info:build cat: Makefile: No such file or directory
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334/OMShell/OMShell/OMShellGUI'
:info:build make[3]: *** No targets.  Stop.
: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.9.4~dev-158-g7279334/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-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334/OMShell/OMShell/OMShellGUI'
:info:build make[1]: *** [omshell] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build In file included from omc_communication.cc:3:
:info:build In file included from ./omc_communication.h:6:
:info:build In file included from /opt/local/include/omniORB4/CORBA.h:165:
:info:build /opt/local/include/omniORB4/pollable_defs.hh:178:16: warning: 'CORBA::DIIPollable::_PR_copy_state' hides overloaded virtual function [-Woverloaded-virtual]
:info:build   virtual void _PR_copy_state(DIIPollable*);
:info:build                ^
:info:build /opt/local/include/omniORB4/pollable_defs.hh:96:16: note: hidden overloaded virtual function 'CORBA::Pollable::_PR_copy_state' declared here: type mismatch at 1st parameter ('CORBA::Pollable *' vs 'CORBA::DIIPollable *')
:info:build   virtual void _PR_copy_state(Pollable*);
:info:build                ^
:info:build In file included from omc_communication.cc:3:
:info:build In file included from ./omc_communication.h:6:
:info:build In file included from /opt/local/include/omniORB4/CORBA.h:285:
:info:build /opt/local/include/omniORB4/messaging.hh:252:18: warning: 'Messaging::Poller::_PR_copy_state' hides overloaded virtual function [-Woverloaded-virtual]
:info:build     virtual void _PR_copy_state(Poller*);
:info:build                  ^
:info:build /opt/local/include/omniORB4/pollable_defs.hh:96:16: note: hidden overloaded virtual function 'CORBA::Pollable::_PR_copy_state' declared here: type mismatch at 1st parameter ('CORBA::Pollable *' vs 'Messaging::Poller *')
:info:build   virtual void _PR_copy_state(Pollable*);
:info:build                ^
:info:build omc_communication.cc:13:20: warning: unused variable '_0RL_library_version' [-Wunused-variable]
:info:build static const char* _0RL_library_version = omniORB_4_2;
:info:build                    ^
:info:build 3 warnings generated.
:info:build In file included from mosh.cpp:55:
:info:build In file included from ./omc_communication.h:6:
:info:build In file included from /opt/local/include/omniORB4/CORBA.h:165:
:info:build /opt/local/include/omniORB4/pollable_defs.hh:178:16: warning: 'CORBA::DIIPollable::_PR_copy_state' hides overloaded virtual function [-Woverloaded-virtual]
:info:build   virtual void _PR_copy_state(DIIPollable*);
:info:build                ^
:info:build /opt/local/include/omniORB4/pollable_defs.hh:96:16: note: hidden overloaded virtual function 'CORBA::Pollable::_PR_copy_state' declared here: type mismatch at 1st parameter ('CORBA::Pollable *' vs 'CORBA::DIIPollable *')
:info:build   virtual void _PR_copy_state(Pollable*);
:info:build                ^
:info:build In file included from mosh.cpp:55:
:info:build In file included from ./omc_communication.h:6:
:info:build In file included from /opt/local/include/omniORB4/CORBA.h:285:
:info:build /opt/local/include/omniORB4/messaging.hh:252:18: warning: 'Messaging::Poller::_PR_copy_state' hides overloaded virtual function [-Woverloaded-virtual]
:info:build     virtual void _PR_copy_state(Poller*);
:info:build                  ^
:info:build /opt/local/include/omniORB4/pollable_defs.hh:96:16: note: hidden overloaded virtual function 'CORBA::Pollable::_PR_copy_state' declared here: type mismatch at 1st parameter ('CORBA::Pollable *' vs 'Messaging::Poller *')
:info:build   virtual void _PR_copy_state(Pollable*);
:info:build                ^
:info:build 2 warnings generated.
: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-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334/build/bin
: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.9.4~dev-158-g7279334/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-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334/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-devel/openmodelica-devel/work/openmodelica_1.9.4~dev-158-g7279334'
: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.9.4~dev-158-g7279334" && /usr/bin/make -j8 -w 
:info:build Exit code: 2
:error:build org.macports.build for port openmodelica-devel returned: command execution failed
:debug:build Error code: CHILDSTATUS 58409 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for openmodelica-devel: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port openmodelica-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/main.log

And I will also attache the full log file.

Attachments (1)

main.log (3.3 MB ) - added by Adam Dershowitz 9 years ago.
Build log file

Change History (3)

by Adam Dershowitz, 9 years ago

Attachment: main.log added

Build log file

comment:1 by Adam Dershowitz, 9 years ago

It looks like Hudson is having the same problem, and it showed up here at build 3992:
https://test.openmodelica.org/hudson/job/OpenModelica_OSX_BUILD/3992/console

comment:2 by Martin Sjölund, 7 years ago

Component: *unknown*Build Environment
Milestone: Future
Resolution: worksforme
Status: newclosed

Old ticket; should have been working for some time now

Note: See TracTickets for help on using tickets.