Hi,

  While updating the src on the newly installed machine would work,
it doesn't answer the real problem. The 'make release' target
in /usr/src/release is responsible for creating the src tarball
which should (and actually does) contain the tools directory. 

  The problem is that sysinstall is not actually untarring the
stools.* files (actually only stools.aa).  The following patch
to dist.h and dist.c appear to fix the problem:

Index: dist.c
===================================================================
RCS file: /mirror/ncvs/src/release/sysinstall/dist.c,v
retrieving revision 1.166
diff -u -r1.166 dist.c
--- dist.c      2000/02/08 04:07:00     1.166
+++ dist.c      2000/02/09 05:14:16
@@ -119,6 +119,7 @@
 { "ssys",      "/usr/src",             &SrcDists,      DIST_SRC_SYS,           NULL   
         },
 { "subin",     "/usr/src",             &SrcDists,      DIST_SRC_UBIN,          NULL   
         },
 { "susbin",    "/usr/src",             &SrcDists,      DIST_SRC_USBIN,         NULL   
         },
+{ "stools",    "/usr/src",             &SrcDists,      DIST_SRC_TOOLS,         NULL   
+         },
 { NULL },
 };
 
Index: dist.h
===================================================================
RCS file: /mirror/ncvs/src/release/sysinstall/dist.h,v
retrieving revision 1.46
diff -u -r1.46 dist.h
--- dist.h      2000/01/04 05:06:22     1.46
+++ dist.h      2000/02/09 05:13:29
@@ -54,7 +54,7 @@
 #define DIST_SRC_INCLUDE       0x00020
 #define DIST_SRC_LIB           0x00040
 #define DIST_SRC_LIBEXEC       0x00080
-/*                             0x00100 */
+#define DIST_SRC_TOOLS          0x00100
 #define DIST_SRC_RELEASE       0x00200
 #define DIST_SRC_SBIN          0x00400
 #define DIST_SRC_SHARE         0x00800



Thanks,
John

> On Tue, 8 Feb 2000, John W. DeBoskey wrote:
> 
> >    I've just installed a 4.0-20000208-SNAP on a test machine, sources
> > current as of 9am EST for the make world/make release.
> > 
> >    The following command fails almost immediately:
> > 
> >    cd /usr/src && make world
> 
> I would would do a cvsup first before making world.  See
> /usr/share/examples/cvsup/standard-supfile.
> 
> - Donn
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to