build with multiple submake jobs fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Invalid
|
Medium
|
Unassigned |
Bug Description
Well, it doesn't so much fail, as it quietly screws up
many a binary. On a Solaris 9 machine with four
processors, I set:
MAKE="gmake -j4"
...and proceed to configure/build mailman. No errors.
Nothing creeps up until I try to use the binaries in
cgi-bin. Depending on the time of day, cosmic rays,
etc., several of the binaries will all end up being the
same file; for example, the "admin" wrapper will really
be another copy of the "create" wrapper. This seems to
happen with at least half of them, and the arrangement
is random each time I do it.
The solution was simple:
MAKE="gmake"
...reconfigure, rebuild, reinstall. Everything was
exactly as it should be. Somewhere in the relevant
makefile, -jN needs to be disabled.
[http://
Mailman doesn't have enough C code to justify supporting
parallel makes IMO. Mailman doesn't do anything special
here, so if something like this does get set automatically,
it's probably because of the configure script. I don't
think there's anything for us to do (but if you come up with
a patch you think will help your cause, feel free to attach
it here).