Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 1997 10:59:36 -0700 (PDT)
From:      Tom Bartol <bartol@salk.edu>
To:        freebsd-current@freebsd.org
Subject:   Trouble with make release
Message-ID:  <Pine.BSF.3.95.970423103925.21991B-100000@pauling.salk.edu>

index | next in thread | raw e-mail



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=<lots of disk> [ 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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970423103925.21991B-100000>