#2476 closed defect (fixed)
18121 won't build on Mac
Reported by: | Owned by: | probably noone | |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: |
Description
I tried an upgrade from 18093 to 18121 and it fails. I deactivated 18093,and cleaned, to make sure that it was not the old bootstrap issue. Then, I just tried to install, and it again failed.
Log file is attached
Attachments (1)
Change History (5)
by , 11 years ago
comment:1 by , 11 years ago
Just to make it a bit easier to view, here is the end of the log file:
:info:build libtool: link: /usr/bin/clang -Wl,-install_name -Wl,@rpath/liblis.dylib -o .libs/etest6 etest6.o -L/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_18121/3rdParty/lis-1.4.12/src /opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_18121/3rdParty/lis-1.4.12/src/.libs/liblis.dylib -lm :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_18121/3rdParty/lis-1.4.12/test' :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_18121/3rdParty/lis-1.4.12' :info:build make[2]: Nothing to be done for `all-am'. :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_18121/3rdParty/lis-1.4.12' :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_18121/3rdParty/lis-1.4.12' :info:build # Copy the library; not headers (as they are not used by the runtime system) :info:build cp -Pp 3rdParty/lis-1.4.12/src/.libs/liblis.dylib* build/lib/omc/ :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_18121' :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_18121" && /usr/bin/make -j4 -w all omlibrary :info:build Exit code: 2 :error:build org.macports.build for port openmodelica-devel returned: command execution failed :debug:build Error code: CHILDSTATUS 96008 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 "$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
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I tried again with 18135 and now it does build. So, it seems that there was a fix in some recent changeset.
Although I had to do the upgrade twice, as the first time failed. I believe that is consistent with this ticket:
https://trac.openmodelica.org/OpenModelica/ticket/2461
comment:3 by , 11 years ago
I think there is no change and just a race condition with some parallel make stuff...
comment:4 by , 11 years ago
Could be. Although it is odd that I repeatedly could not build 18121. I tried a few different times and each time got that error very early in the build. Each time, and since, I have used 4 cores, on an 8 hyper-core, processor.
I'll update this if I have the problem again.
Build fail log file