OpenSolaris

You are not signed in. Sign in or register.

Flag day: sccscheck, bringovercheck, and ctfmerge failures (the

Date: Fri, 14 Apr 2006 11:59:38 -0400
From: Bill Sommerfeld <sommerfeld at sun dot com>
To: on-all at sun dot com, onnv-gate at onnv dot eng dot sun dot com
Subject: Flag day: sccscheck, bringovercheck, and ctfmerge failures (the

There is an additional wrinkle to this flag day which I failed to
adequately describe yesterday.  While you can easily cross this flag day
with either an incremental build OR checked-out sources in your
workspace, you cannot cross it with an incremental build AND checked-out
sources.

If you attempt this, dmake will abort with an error resembling:

dmake: Fatal error: ../../common/inet/ip/ip_rts.c is writable so it
cannot be sccs gotten

There are several ways around this, including:

 - A full clobber build via nightly, which will delete .make.state
files.

 - Check the file in and run a full or selective incremental build.

 - Selective "make clobber" and deletion of ".make.state" files in any
build directories referencing the source file.

Once you are across this flag day you can resume incremental builds with
checked out source files.

Background
----------

Pre-flag-day .make.state files include an assumed "sccs get" rule for
every source file.  This flag day changes the command for sccs checkouts
to "sccscheck", and dmake assumes the change in command requires the new
command to be run, but refuses to let it run if the source file is
writable.  You can either cause dmake to forget about the change by
deleting the .make.state files, or let it run once with all source files
read-only, which will update the .make.state files.

					- Bill