[MacPorts] #26301: openjdk6-b16-1 Build fail on Core Solo CPU
#26301: openjdk6-b16-1 Build fail on Core Solo CPU -------------------------------------------------+-------------------------- Reporter: daniel.hjort@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: haspatch | Port: openjdk6 -------------------------------------------------+-------------------------- The build failed on a Core Solo Mac Mini. Log: cd bsd_i486_compiler2/product && /usr/bin/make make: the `-j' option requires a positive integral argument This line in the Portfile is wrong: HOTSPOT_BUILD_JOBS=[expr [exec sysctl -n hw.ncpu] - 1] Expression evaluates to 0 on single core machines. In patch changed to +1 which is common for build optimization. -- Ticket URL: <http://trac.macports.org/ticket/26301> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26301: openjdk6-b16-1 Build fail on Core Solo CPU -------------------------------------------------+-------------------------- Reporter: daniel.hjort@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: haspatch | Port: openjdk6 -------------------------------------------------+-------------------------- Comment(by macsforever2000@…): I don't see the point of making it +1. If you have 2 processors, how can it use 3? I would say just remove the -1 or put a conditional for the case that it is 0. -- Ticket URL: <http://trac.macports.org/ticket/26301#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26301: openjdk6-b16-1 Build fail on Core Solo CPU -------------------------------------------------+-------------------------- Reporter: daniel.hjort@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: haspatch | Port: openjdk6 -------------------------------------------------+-------------------------- Description changed by macsforever2000@…: Old description:
The build failed on a Core Solo Mac Mini.
Log: cd bsd_i486_compiler2/product && /usr/bin/make make: the `-j' option requires a positive integral argument
This line in the Portfile is wrong: HOTSPOT_BUILD_JOBS=[expr [exec sysctl -n hw.ncpu] - 1]
Expression evaluates to 0 on single core machines. In patch changed to +1 which is common for build optimization.
New description: The build failed on a Core Solo Mac Mini. Log: {{{ cd bsd_i486_compiler2/product && /usr/bin/make make: the `-j' option requires a positive integral argument }}} This line in the Portfile is wrong: {{{ HOTSPOT_BUILD_JOBS=[expr [exec sysctl -n hw.ncpu] - 1] }}} Expression evaluates to 0 on single core machines. In patch changed to +1 which is common for build optimization. -- -- Ticket URL: <http://trac.macports.org/ticket/26301#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26301: openjdk6-b16-1 Build fail on Core Solo CPU -------------------------------------------------+-------------------------- Reporter: daniel.hjort@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: haspatch | Port: openjdk6 -------------------------------------------------+-------------------------- Comment(by daniel.hjort@…): Yes you are correct if compiling would be a matter of just raw processing. But the jobs will sometimes wait for IO and then the n+1 job can do some of it's work. -- Ticket URL: <http://trac.macports.org/ticket/26301#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26301: openjdk6-b16-1 Build fail on Core Solo CPU --------------------------------------------------+------------------------- Reporter: daniel.hjort@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: haspatch Port: openjdk6 | --------------------------------------------------+------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Switched to using the build.jobs variable in r71104 (no need to do any calculations). -- Ticket URL: <http://trac.macports.org/ticket/26301#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts