[MacPorts] #34122: apple-gcc42: make: the `-j' option requires a positive integral argument (was: Apple-GCC 4.2 doesn't build)
MacPorts
noreply at macports.org
Thu Apr 19 08:27:27 PDT 2012
#34122: apple-gcc42: make: the `-j' option requires a positive integral argument
-----------------------------+----------------------------------------------
Reporter: darylew@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: apple-gcc42
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => jeremyhu@…
* cc: ryandesign@… (added)
Comment:
The problem in the log is:
{{{
:info:build + make '-j 1'
DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_lang_apple-gcc42/apple-gcc42/work/objroot/dst-powerpc-
powerpc install-gcc install-target 'CFLAGS=-g -O2 -std=gnu89'
'CXXFLAGS=-g -O2 -std=gnu89'
:info:build make: the `-j' option requires a positive integral argument
:info:build Usage: make [options] [target] ...
:info:build Options:
:info:build -b, -m Ignored for compatibility.
:info:build -B, --always-make Unconditionally make all
targets.
:info:build -C DIRECTORY, --directory=DIRECTORY
:info:build Change to DIRECTORY before doing
anything.
:info:build -d Print lots of debugging
information.
:info:build --debug[=FLAGS] Print various types of debugging
information.
:info:build -e, --environment-overrides
:info:build Environment variables override
makefiles.
:info:build -f FILE, --file=FILE, --makefile=FILE
:info:build Read FILE as a makefile.
:info:build -h, --help Print this message and exit.
:info:build -i, --ignore-errors Ignore errors from commands.
:info:build -I DIRECTORY, --include-dir=DIRECTORY
:info:build Search DIRECTORY for included
makefiles.
:info:build -j [N], --jobs[=N] Allow N jobs at once; infinite
jobs with no arg.
:info:build -k, --keep-going Keep going when some targets
can't be made.
:info:build -l [N], --load-average[=N], --max-load[=N]
:info:build Don't start multiple jobs unless
load is below N.
:info:build -n, --just-print, --dry-run, --recon
:info:build Don't actually run any commands;
just print them.
:info:build -o FILE, --old-file=FILE, --assume-old=FILE
:info:build Consider FILE to be very old and
don't remake it.
:info:build -p, --print-data-base Print make's internal database.
:info:build -q, --question Run no commands; exit status
says if up to date.
:info:build -r, --no-builtin-rules Disable the built-in implicit
rules.
:info:build -R, --no-builtin-variables Disable the built-in variable
settings.
:info:build -s, --silent, --quiet Don't echo commands.
:info:build -S, --no-keep-going, --stop
:info:build Turns off -k.
:info:build -t, --touch Touch targets instead of
remaking them.
:info:build -v, --version Print the version number of make
and exit.
:info:build -w, --print-directory Print the current directory.
:info:build --no-print-directory Turn off -w, even if it was
turned on implicitly.
:info:build -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
:info:build Consider FILE to be infinitely
new.
:info:build --warn-undefined-variables Warn when an undefined variable
is referenced.
:info:build -N OPTION, --NeXT-option=OPTION
:info:build Turn on value of NeXT OPTION.
:info:build
:info:build This program built for powerpc-apple-darwin8.0
:info:build Report bugs to <bug-make at gnu.org>
:info:build + exit 1
:info:build make: *** [install] Error 1
}}}
As I said, this problem was unfamiliar to me. ("1" looks like a positive
integral argument to me.) I'm not sure why it occurred, nor why when you
tried again it would then work.
Do not be surprised that gcc47 required apple-gcc42. We are considering
making ''all'' ports require apple-gcc42 on Tiger, since the gcc 4.0
included with Tiger's Xcode is so old. More importantly, the linker in
Tiger's Xcode is very old. llvm-3.0 is a dependency of ld64, and ld64 is a
dependency of all the gcc4''x'' ports now. I don't know why ld64 was added
as a dependency of the gcc4''x'' ports globally instead of just for Tiger
but presumably there is a reason.
--
Ticket URL: <https://trac.macports.org/ticket/34122#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list