Opened 13 years ago

Closed 13 years ago

#30990 closed defect (fixed)

opendx: parallel build issue: tmp.c: No such file or directory

Reported by: jwluo.cn@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: opendx

Description (last modified by ryandesign (Ryan Carsten Schmidt))

have error when install opendx on lion system as following:

:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_opendx/opendx/work/dx-4.4.4/src'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_opendx/opendx/work/dx-4.4.4'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_opendx/opendx/work/dx-4.4.4" && /usr/bin/make -j4 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for opendx): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for opendx is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_opendx/opendx/main.log

Attachments (1)

main.log (256.9 KB) - added by jwluo.cn@… 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: opendx added
Type: submissiondefect

None of that shows us the actual error that occurred. Please attach the complete main.log file.

Changed 13 years ago by jwluo.cn@…

Attachment: main.log added

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Your log says:

:info:build cp ./dxmdf.src tmp.c
:info:build cp ./dxmdf.src tmp.c
:info:build /Developer/usr/bin/llvm-gcc-4.2 -E -I../../../include -I./../dpexec -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_opendx/opendx/work/dx-4.4.4/include -Dmacos  -DHAVE_CONFIG_H tmp.c > dxcm.mdf
:info:build /Developer/usr/bin/llvm-gcc-4.2 -E -I../../../include -I./../dpexec -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_opendx/opendx/work/dx-4.4.4/include -Dmacos   -DHAVE_CONFIG_H -DCPLUSPLUS_UI -DEXECUTIVE_MODS tmp.c > dx.mdf
:info:build rm -f tmp.c
:info:build cc1: error: tmp.c: No such file or directory
:info:build make[3]: *** [dx.mdf] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....

That looks like a parallel build failure. Try turning off parallel building:

sudo port clean opendx
sudo port install opendx build.jobs=1

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to gwright@…

Please remember to cc the maintainer.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Did disabling parallel building (as shown above) help?

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Summary: Can not install opendx on lionopendx: parallel build issue: tmp.c: No such file or directory

I couldn't reproduce the problem after several tries, but parallel build issues can be notoriously difficult to reproduce. I also don't have the 4 CPU cores you appear to have, nor Lion at the moment.

Based on your log and the Makefile code, it sure looks like there could be a parallel build issue. I tried to fix it in r86601. It (still) builds for me.

Note: See TracTickets for help on using tickets.