[MacPorts] #26301: openjdk6-b16-1 Build fail on Core Solo CPU
MacPorts
noreply at macports.org
Tue Aug 31 19:49:38 PDT 2010
#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
More information about the macports-tickets
mailing list