ruby-1.9.1-p0 parallel build problem

L

Lin Yu

lyu0@lyu0-desktop:/tmp/ruby-1.9.1-p0$ rm uncommon.mk ; make -j5
rm: cannot remove `uncommon.mk': No such file or directory
GNUmakefile:2: uncommon.mk: No such file or directory
make: warning: -jN forced in submake: disabling jobserver mode.
sed 's/{\$([^(){}]*)[^{}]*}//g' common.mk > uncommon.mk
make: INTERNAL: Exiting with 1 jobserver tokens available; should be 5!
make: warning: -jN forced in submake: disabling jobserver mode.
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux
-I./include -I. -DRUBY_EXPORT -o time.o -c time.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux
-I./include -I. -DRUBY_EXPORT -o transcode.o -c transcode.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux
-I./include -I. -DRUBY_EXPORT -o util.o -c util.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux
-I./include -I. -DRUBY_EXPORT -o variable.o -c variable.c
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux
-I./include -I. -DRUBY_EXPORT -o version.o -c version.c
lyu0@lyu0-desktop:/tmp/ruby-1.9.1-p0$ echo $?
141
lyu0@lyu0-desktop:/tmp/ruby-1.9.1-p0$
So it breaks our buildsystem.

I think this problem is from GNUmakefile's parallel build, two
"include"s.

Add .NOTPARALLEL: into GNUmakefile, I think everything will be ok.
It wont affect the submake in subdirectories.

Attachments:
http://www.ruby-forum.com/attachment/3272/log.txt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top