A parallel build of xemacs-21.5.14 fails because some targets try to
run the 'ellcc' program before it has been built. Here's a log,
showing that the command to build ellcc does run, but that make
doesn't wait for that to finish before trying to run ellcc.
Suggested fix is to make the commands that require ellcc to be built
state this in their dependencies. This could be a little bit tricky
because they are often separate makefiles in separate directories.
Still, at least adding the dependency will give a slightly earlier
failure in the case that ellcc is not built yet.
avised@ftidev1 ~/inst/xemacs-21.5.14 $ make -j -l 1
Producing `src/Emacs.ad.h' from `etc/Emacs.ad'.
Resetting `src/sheap-adjust.h'.
cd /u/avised/inst/xemacs-21.5.14/man && make info
make[1]: Entering directory `/u/avised/inst/xemacs-21.5.14/man'
make[1]: Nothing to be done for `info'.
make[1]: Leaving directory `/u/avised/inst/xemacs-21.5.14/man'
cd ./lib-src && make all
cd ./lwlib && make all
cd ./modules/ldap && make all
make[1]: Entering directory `/u/avised/inst/xemacs-21.5.14/lib-src'
gcc -c -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H -I/usr/local/X11R6/include
/u/avised/inst/xemacs-21.5.14/lib-src/gnuslib.c
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/ellcc.c -L/usr/lib -L/usr/ccs/lib
-Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses /usr/demo/SOUND/lib/libaudio.a
-lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o ellcc
gcc -c -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/getopt.c
gcc -c -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/getopt1.c
gcc -c -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H \
-DINHIBIT_STRING_HEADER /u/avised/inst/xemacs-21.5.14/src/regex.c
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/b2m.c -L/usr/lib -L/usr/ccs/lib
-Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses /usr/demo/SOUND/lib/libaudio.a
-lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o b2m
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/fakemail.c -L/usr/lib
-L/usr/ccs/lib -Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses
/usr/demo/SOUND/lib/libaudio.a -lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o fakemail
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/wakeup.c -L/usr/lib -L/usr/ccs/lib
-Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses /usr/demo/SOUND/lib/libaudio.a
-lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o wakeup
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/profile.c -L/usr/lib -L/usr/ccs/lib
-Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses /usr/demo/SOUND/lib/libaudio.a
-lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o profile
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/make-docfile.c -L/usr/lib
-L/usr/ccs/lib -Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses
/usr/demo/SOUND/lib/libaudio.a -lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o make-docfile
make[1]: Entering directory `/u/avised/inst/xemacs-21.5.14/modules/ldap'
../../lib-src/ellcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3
--mode=compile --mod-output=eldap.o -I../../src
-I/u/avised/inst/xemacs-21.5.14/modules/ldap/../../src -c eldap.c
gcc -Demacs -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/digest-doc.c -L/usr/lib
-L/usr/ccs/lib -Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses
/usr/demo/SOUND/lib/libaudio.a -lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o digest-doc
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/sorted-doc.c -L/usr/lib
-L/usr/ccs/lib -Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses
/usr/demo/SOUND/lib/libaudio.a -lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o sorted-doc
ELLMAKEDOC=../../lib-src/make-docfile ../../lib-src/ellcc --mode=init
--mod-output=eldap_i.c \
--mod-name=eldap --mod-version=1.0.0 \
--mod-title="LDAP Client Interface for XEmacs"
/u/avised/inst/xemacs-21.5.14/modules/ldap/eldap.c
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/cvtmail.c -L/usr/lib -L/usr/ccs/lib
-Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses /usr/demo/SOUND/lib/libaudio.a
-lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o cvtmail
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/yow.c -L/usr/lib -L/usr/ccs/lib
-Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses /usr/demo/SOUND/lib/libaudio.a
-lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o yow
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/hexl.c -L/usr/lib -L/usr/ccs/lib
-Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses /usr/demo/SOUND/lib/libaudio.a
-lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o hexl
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/mmencode.c -o mmencode
gcc -Demacs -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/make-path.c -o make-path
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3 -I.
-I../src -I/u/avised/inst/xemacs-21.5.14/lib-src -I/u/avised/inst/xemacs-21.5.14/src
-DHAVE_CONFIG_H /u/avised/inst/xemacs-21.5.14/lib-src/make-dump-id.c -L/usr/lib
-L/usr/ccs/lib -Xlinker -R/usr/ccs/lib:/usr/local/X11R6/lib -ldb -lncurses
/usr/demo/SOUND/lib/libaudio.a -lm -lldap -lsocket -lnsl -lelf -lgen -ldl -o make-dump-id
make[1]: ../../lib-src/ellcc: Command not found
make[1]: *** [eldap.o] Error 127
--
Ed Avis <ed.avis(a)kbcfp.com>