Bug 31225

Summary: "make release" fails if TERMCAP environment variable not set
Product: Base System Reporter: Chuck Cranor <chuck>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   

Description Chuck Cranor 2001-10-11 21:40:04 UTC
	"make release" fails if $TERMCAP not set:


make release BUILDNAME=4.4-RELEASE CHROOTDIR=/a/build/sep01/root RELEASETAG=RE
LENG_4_4_0_RELEASE
rm -rf /a/build/sep01/root 2>/dev/null
chflags -R noschg /a/build/sep01/root/.
chflags: /a/build/sep01/root/.: No such file or directory
*** Error code 1 (ignored)
rm -rf /a/build/sep01/root
mkdir -p /a/build/sep01/root

Fix: 

make release really shouldn't require a terminal database,
but you can set it in the "/mk" script in the chroot area.
How-To-Repeat: 
	unsetenv TERMCAP
	cd /usr/src/release
	make release ...
Comment 1 Makoto Matsushita 2002-02-24 03:10:16 UTC
This problem still occurs?

BTW termcap database *should* be there in the chroot sandbox; if
missing, there is a problem about building a sandbox.

-- -
Makoto `MAR' Matsushita
Comment 2 matusita freebsd_committer freebsd_triage 2002-03-25 14:27:22 UTC
State Changed
From-To: open->feedback

Still awaiting submitter's feedback.  Again, it would be a temporary 
error (already fixed) or just a local configuration error.
Comment 3 matusita freebsd_committer freebsd_triage 2002-04-02 07:02:49 UTC
State Changed
From-To: feedback->closed

The original submitter said (in a private email): I have not attempted a make 
release since i sent in the PR.  if it works properly for you now, then PR 
can be closed. 

I don't see such a failure with recent FreeBSD source code, so I can safely 
close this PR.  Thank you for your cooperation, and if you find the same 
failure again, feel free to re-submit a new PR.