[MacPorts] #16091: ocaml: nice: unset: No such file or directory
#16091: ocaml: nice: unset: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: pguyot@kallisys.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | -------------------------------------+-------------------------------------- ocaml can't be built when "buildnicevalue" is greater than zero in macports.conf. This happens: {{{ ---> Building ocaml DEBUG: Executing org.macports.build (ocaml) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4' DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_lang_ocaml/work/ocaml-3.10.2" && nice -n 1 unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && make world.opt' nice: unset: No such file or directory Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_lang_ocaml/work/ocaml-3.10.2" && nice -n 1 unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && make world.opt " returned error 127 Command output: nice: unset: No such file or directory Warning: the following items did not execute (for ocaml): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. $ }}} -- Ticket URL: <http://trac.macports.org/ticket/16091> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16091: build.nice broke the ability to redefine build.cmd as a series of commands --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: afb@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by pguyot@kallisys.net): * owner: pguyot@kallisys.net => afb@macports.org * component: ports => base * summary: ocaml: nice: unset: No such file or directory => build.nice broke the ability to redefine build.cmd as a series of commands Comment: I'd rather say it's build.nice feature that broke the possibility to redefine build.cmd as a series of commands :) build.cmd "cmd1 && cmd2" -> cmd1 will be niced, not cmd2 build.cmd "shell stuff cmd" -> shell stuff will break (where shell stuff can be a built-in such as unset as here, or VAR=X) -- Ticket URL: <http://trac.macports.org/ticket/16091#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16091: build.nice broke the ability to redefine build.cmd as a series of commands --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: afb@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Changes (by afb@macports.org): * status: new => closed * resolution: => fixed Comment: Fixed, r38577. Now skipping nice for all build commands with a space. -- Ticket URL: <http://trac.macports.org/ticket/16091#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16091: build.nice broke the ability to redefine build.cmd as a series of commands --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: afb@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.7.0 Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by blb@…): * milestone: Port Bugs => MacPorts 1.7.0 -- Ticket URL: <http://trac.macports.org/ticket/16091#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16091: build.nice broke the ability to redefine build.cmd as a series of commands --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: afb@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.7.0 Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | --------------------------------------+------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 afb@…]:
Fixed, r38577.
Now skipping nice for all build commands with a space. That's not really a fix, it's more of a workaround. I filed #18304 for enabling nice builds even in this case.
-- Ticket URL: <http://trac.macports.org/ticket/16091#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts