On Wed, 15 Aug 2012, Raymond Toy wrote:
> On Wed, Aug 15, 2012 at 9:28 AM, Andrey G. Grozin <A.G.Grozin at inp.nsk.su> wrote:
> ; ? ? ?- Loading source file
> ; "/var/tmp/portage/sci-mathematics/maxima-5.28.0/work/maxima-5.28.0/src/init-cl.lisp"
> Loading /var/tmp/portage/sci-mathematics/maxima-5.28.0/work/maxima-5.28.0/src/init-cl.lisp
> Finished loading /var/tmp/portage/sci-mathematics/maxima-5.28.0/work/maxima-5.28.0/src/init-cl.lisp
> ; ?- Providing system maxima
> make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/maxima-5.28.0/work/maxima-5.28.0/src'
> make: *** [all-recursive] Error 1
>
> Could it be that gcl (and sbcl) is returning a code of 1 if there are warnings when building?
This is the first idea which comes to one's mind. But:
1. If I ./configure maxima for just one lisp (sbcl or gcl or any other),
make succeeds. Maybe, earlier actions related to other lisps change
something in the tree, and these changes influence behaviour of make when
working with gcl and sbcl?
2. In 5.27.0 and many earlier version this problem did not exist. This,
probably, means that some change in the build system between 5.27.0 and
5.28.0 is the cause of the problem.
3. I run make -j2, so, make may run 2 processes simultaneously. Can it be
some kind of race condition? Looking at the log file where maxima was
./configured for all 6 lisps, I see lines with "binary-gcl" and
"binary-sbcl" intermixed. So, it seems that make decided to run sbcl and
gcl compilations in parallel. Can this lead to troubles?
Andrey