[MacPorts] #29122: lua @5.1.4 +universal Build failure
#29122: lua @5.1.4 +universal Build failure -----------------------------------+---------------------------------------- Reporter: ratberryjam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: lua -----------------------------------+---------------------------------------- I am trying to build lua, but I get errors. I have attached the log file, but I think this is the important part: {{{ :info:build /usr/bin/gcc-4.2 -o lua -L. -L/opt/local/lib -arch x86_64 -fno-common -DLUA_USE_LINUX -lreadline -llua lua.c :info:build /usr/bin/gcc-4.2 -o luac -L/opt/local/lib -arch x86_64 luac.o print.o liblua.dylib -lm -lreadline :info:build i686-apple-darwin10-gcc-4.2.1: liblua.dylib: No such file or directory :info:build make[2]: *** [luac] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[1]: *** [macosx] Error 2 :info:build make: *** [macosx] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_lua/work/lua-5.1.4" && /usr/bin/make -j5 macosx " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) }}} This seems very similar to #20196, but that ticket is closed, and I still have this problem. (Everything is up to date, I just installed macports today) I am running 10.6.7 on a core i7. -- Ticket URL: <https://trac.macports.org/ticket/29122> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29122: lua @5.1.4 +universal parallel build failure -----------------------------------+---------------------------------------- Reporter: ratberryjam@… | Owner: pmq@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: parallel universal | Port: lua -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => pmq@… * keywords: => parallel universal * cc: pmq@…, ratberryjam@… (removed) * cc: ryandesign@… (added) Comment: I don't see any similarity to #20196. I am able to reproduce the issue on an older MacBook Pro, when building in parallel with 3, 5, or 6 jobs, only when building universal. 1, 2, or 4 jobs are fine when building universal, as are any number of jobs when not building universal. Of course this may vary on other machines. To work around the problem, reduce the number of parallel build jobs: {{{ sudo port clean lua sudo port install lua build.jobs=2 }}} -- Ticket URL: <https://trac.macports.org/ticket/29122#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29122: lua @5.1.4 +universal parallel build failure -----------------------------------+---------------------------------------- Reporter: ratberryjam@… | Owner: pmq@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: parallel universal | Port: lua -----------------------------------+---------------------------------------- Comment(by ratberryjam@…): That worked on my machine as well (New MacBook Pro i7). Thank you. I don't really know much about compiling, so I thought this was similar to the other tickets because there were a lot the same words in the error message. Thus, I am not all that surprised to find out that I am wrong. -- Ticket URL: <https://trac.macports.org/ticket/29122#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29122: lua @5.1.4 +universal parallel build failure ------------------------------------+--------------------------------------- Reporter: ratberryjam@… | Owner: pmq@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: parallel universal Port: lua | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: The simplest fix is to just disable parallel building entirely for lua, which I did in r77869, since the port only takes seconds to build anyway. -- Ticket URL: <https://trac.macports.org/ticket/29122#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts