#38327: mdbtools @0.7 should not be built in parallel ---------------------+------------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: and.damore@macports.org ---------------------+------------------------------------- So I was recently trying to install mdbtools, and got the following error: {{{ lexer.l:22:10: fatal error: 'parser.h' file not found updating parser.h #include "parser.h" ^ 1 error generated. CC parser.lo make[2]: *** [lexer.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mdbtools/mdbtools/work/mdbtools-0.7/src/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mdbtools/mdbtools/work/mdbtools-0.7/src' make: *** [all-recursive] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mdbtools/mdbtools/work/mdbtools-0.7' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mdbtools/mdbtools/work/mdbtools-0.7" && /usr/bin/make -j4 -w all Exit code: 2 Error: org.macports.build for port mdbtools returned: command execution failed }}} I tried building again immediately after that and it built perfectly fine. What I'm assuming happened was that one make job that required "parser.h" got reached before the make job that actually created "parser.h" got reached. Then, the second time around, the file was already there from the first time around. To work around this issue, I suggest that mdbtools use `use_parallel_build no` in its portfile. -- Ticket URL: <https://trac.macports.org/ticket/38327> MacPorts <http://www.macports.org/> Ports system for OS X