From owner-freebsd-current Wed Apr 23 10:59:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA13192 for current-outgoing; Wed, 23 Apr 1997 10:59:43 -0700 (PDT) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA13180 for ; Wed, 23 Apr 1997 10:59:41 -0700 (PDT) Received: from pauling.salk.edu (pauling [198.202.70.108]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id KAA06810 for ; Wed, 23 Apr 1997 10:59:39 -0700 (PDT) Date: Wed, 23 Apr 1997 10:59:36 -0700 (PDT) From: Tom Bartol To: freebsd-current@freebsd.org Subject: Trouble with make release Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'd like to be able to make my own local snapshot of -current but I've been running into some difficulty getting a make release to complete. To be absolutely sure that I'm starting from a clean slate I've deleted /usr/src, /usr/obj and my CVSROOT dir, re-cvsupped everything (/usr/src and the CVS repository) as of yesterday morning, and then made world and kernel successfully. I'm running on this world now. I then tried to 'make -DNOPORTS release' and I get the following about two hours into things: Bootstrapping flex yacc -d /usr/src/usr.bin/lex/parse.y mv -f y.tab.c parse.c mv -f y.tab.h parse.h rm -f .depend mkdep -f .depend -a -I. -I/usr/src/usr.bin/lex scan.c /usr/src/usr.bin/lex/ccl.c /usr/src/usr.bin/lex/dfa.c /usr/src/usr.bin/lex/ecs.c /usr/src/usr.bin/lex/gen.c /usr/src/usr.bin/lex/main.c /usr/src/usr.bin/lex/misc.c /usr/src/usr.bin/lex/nfa.c parse.c /usr/src/usr.bin/lex/skel.c /usr/src/usr.bin/lex/sym.c /usr/src/usr.bin/lex/tblcmp.c /usr/src/usr.bin/lex/yylex.c /usr/src/usr.bin/lex/parse.y:913: invalid format `#line' directive mkdep: compile failed *** Error code 1 On the suggestion of Chris Timmons I searched for a possible crufty mkdep lurking in my path but found only the nice fresh one from my recent make world dated 4/22/97. The 'head -22' of my /usr/src/release/Makefile looks like: # $Id: Makefile,v 1.291 1997/04/13 20:20:25 joerg Exp $ # # How to roll a release: # # make release CHROOTDIR= [ RELEASETAG=something ] # # As far as I know, this will roll everything nicely into the "stage" # directory. I still need to write the two rules to move that into # the "cdrom" and "ftp" directories. # I also need to "make ports" and install those, but I'm not going to do # that on a 14.4 line just yet... # # please note: the vn driver has to be compiled into your kernel, # otherwise the target 'release.8' and possibly others will fail. # # SET THIS !!! BUILDNAME=3.0-970418-CNL CHROOTDIR=/pauling1/freebsd-3.0-970418-CNL # If this is a RELEASE, then set #RELEASETAG=RELENG_2_2 CVSROOT=/pauling1/freebsd-cvs /pauling1 is a locally mounted 1GB disk. My CVS repository is in /pauling1/freebsd-cvs. The dir I want the release to be built in is /pauling1/freebsd-3.0-970418-CNL I've arbitrarily chosen the value for BUILDNAME to be something meaningful (I assume this is what I'll see in a 'uname -a' in place of 3.0-CURRENT). But I did not set a value for RELEASETAG. What should I do to help isolate and solve my problem here? I noticed that Jordan Hubbard said he plans make a snapshot of -current soon but expects there may be some build issues to overcome. Perhaps this is one of those issues? Thanx much, Tom