#16091 closed defect (fixed)
build.nice broke the ability to redefine build.cmd as a series of commands
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | afb@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 1.7.0 |
Component: | base | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: |
Description
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. $
Change History (4)
comment:1 Changed 16 years ago by pguyot (Paul Guyot)
Component: | ports → base |
---|---|
Owner: | changed from pguyot@… to afb@… |
Summary: | ocaml: nice: unset: No such file or directory → build.nice broke the ability to redefine build.cmd as a series of commands |
comment:2 follow-up: 4 Changed 16 years ago by afb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed, r38577.
Now skipping nice for all build commands with a space.
comment:3 Changed 16 years ago by blb@…
Milestone: | Port Bugs → MacPorts 1.7.0 |
---|
comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Note: See
TracTickets for help on using
tickets.
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)