OpenSolaris

  subsites   code review   repo   packages   bugs   defect   polls   planet
You are not signed in. Sign in or register.

Heads-up: ParallelMake failures after split-tree

Date: Mon, 26 Dec 2005 14:19:44 -0800
From: Danek Duvall <danek dot duvall at sun dot com>
To: onnv-gate at onnv dot eng dot sun dot com
Subject: Heads-up: ParallelMake failures after split-tree

A few people have reported seeing the following error message when building
ON with ParallelMake since the split-tree putback:

    make: Fatal error in reader: Makefile, line 53: Macro assignment on dependency line
    Current working directory ..../usr/src/cmd/cmd-inet/usr.lib

This is a problem with the putback, namely that the makefile in that
directory and in another have trailing backslashes which ParallelMake
chokes on, but neither dmake nor /usr/ccs/bin/make do.

Until the problem is fixed, there are a couple of workarounds:

  - use dmake to build nightly, or dmake or /usr/ccs/bin/make to build
    locally.  The easiest thing to do is to add "d" to NIGHTLY_OPTIONS.  We
    will probably make this the default in the near future, as the gate has
    been building with this since the beginning, and we've seen no
    problems.

  - Fix the relevant makefiles.  In particular,

        usr/closed/uts/common/sys/Makefile

    has a trailing backslash on line 42, and

        usr/src/cmd/cmd-inet/usr.lib/Makefile

    has a trailing backslash on line 39.

  - Stop doing work, relax, and enjoy the break (whether you're actually
    off work or just get to enjoy the US not being so noisy for a few
    days).  ;-)

Apologies to all those who have spent time tracking this down.

Danek