From ast@marabu.ch  Tue Mar 10 00:08:20 1998
Received: from coyote.instrumatic.ch (coyote.instrumatic.ch [195.226.4.148])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA07001
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Mar 1998 00:08:15 -0800 (PST)
          (envelope-from ast@marabu.ch)
Received: (from root@localhost)
	by coyote.instrumatic.ch (8.8.7/8.8.7/ast-971024) with UUCP id JAA23107
	for FreeBSD-gnats-submit@freebsd.org; Tue, 10 Mar 1998 09:08:05 +0100 (MET)
Received: (from uucp@localhost)
	by hawk.marabu.ch (8.8.8/8.8.8) with UUCP id JAA26590
	for FreeBSD-gnats-submit@freebsd.org; Tue, 10 Mar 1998 09:06:02 +0100 (MET)
	(envelope-from ast@marabu.ch)
Received: from savacu.marabu.ch by marabu.marabu.ch via ESMTP (8.7.5/970531-ast-7.9) id JAA21453; Tue, 10 Mar 1998 09:03:43 +0100 (CET)
Received: (from ast@localhost)
	by savacu.marabu.ch (8.8.8/8.8.8) id JAA05884;
	Tue, 10 Mar 1998 09:03:41 +0100 (MET)
	(envelope-from ast)
Message-Id: <199803100803.JAA05884@savacu.marabu.ch>
Date: Tue, 10 Mar 1998 09:03:41 +0100 (MET)
From: Adrian Steinmann <ast@marabu.ch>
Reply-To: ast@marabu.ch
To: FreeBSD-gnats-submit@freebsd.org
Subject: 'make release' of Mar 10 -stable fails in 'make doRELEASE'
X-Send-Pr-Version: 3.2

>Number:         5963
>Category:       bin
>Synopsis:       'make release' of Mar 10 -stable fails in 'make doRELEASE'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 10 00:10:01 PST 1998
>Closed-Date:    Wed Mar 11 07:25:05 PST 1998
>Last-Modified:  Wed Mar 11 07:26:22 PST 1998
>Originator:     Adrian Steinmann
>Release:        FreeBSD styx_2.2.5 i386
>Organization:
Steinmann Consulting
>Environment:

RELENG_2_2 CVSUP version of:

# (export TZ=GMT; ls -ld /cvs/CVSROOT)
drwxr-xr-x  5 root  wheel  1536 Mar 10 01:16 /cvs/CVSROOT

>Description:

make release fails for VENDORTAG=RELENG_2_2 when it is making the
/R/stage/trees/bin hierarchy in the final "make doRELEASE" in the
/BUILD/mk script:

>How-To-Repeat:

The

# make -n distribute DISTDIR=/R/stage/trees
cd /usr/src ; make afterdistribute DESTDIR=/R/stage/trees/bin
for entry in  include lib bin games gnu libexec sbin share sys usr.bin usr.sbin secure lkm etc; do  (if test -d /usr/src/${entry}.i386; then  echo "===> ${entry}.i386";  edir=${entry}.i386;  cd /usr/src/${edir};  else  echo "===> $entry";  edir=${entry};  cd /usr/src/${edir};  fi;  make distribute DIRPRFX=$edir/);  done

phase of a make release fails:

install -c -o bin -g bin -m 444   libcom_err.a /R/stage/trees/bin/usr/lib
install -c -o bin -g bin -m 444   libcom_err_p.a /R/stage/trees/bin/usr/lib
install -c -o bin -g bin -m 444     libcom_err.so.2.0  /R/stage/trees/bin/usr/lib
install -c -o bin -g bin -m 444 com_err.3.gz  /R/stage/trees/bin/usr/share/man/man3
===> lib/libcom_err/doc
make: don't know how to make /R/stage/trees/bin/usr/share/info/dir. Stop
*** Error code 2
...

for the entry lib in the subdir /usr/src/lib/libcom_err/doc because
the info directory has not been installed yet (dir-templ and dir
are missing)

>Fix:
	

workaround:

# chroot /BUILD
# cd /usr/src/share/info
# make install DESTDIR=/R/stage/trees/bin
install -c -o bin -g bin -m 444 dir-tmpl  /R/stage/trees/bin/usr/share/info/dir-tmpl
install -c -o bin -g bin -m 444  dir-tmpl /R/stage/trees/bin/usr/share/info/dir
# ls -l /R/stage/trees/bin/usr/share/info
total 2
-r--r--r--  1 bin  bin  676 Mar 10 07:23 dir
-r--r--r--  1 bin  bin  676 Mar 10 07:23 dir-tmpl

and then restart make doRELEASE (i.e. edit the file /BUILD/mk to
skip over the parts already done, and chroot /BUILD /mk)

the real fix is to somehow get the info dependency into the lib hierarchy
or to build info before lib, isn't it?

Adrian
_________________________________________________________________________
Dr. Adrian Steinmann  Steinmann Consulting  Apollostrasse 21  8032 Zurich
   Tel +41 1 380 30 83     Fax +41 1 380 30 85    Mailto:ast@marabu.ch

>Release-Note:
>Audit-Trail:

From: "Jordan K. Hubbard" <jkh@FreeBSD.ORG>
To: ast@marabu.ch
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/5963: 'make release' of Mar 10 -stable fails in 'make doRELEASE' 
Date: Tue, 10 Mar 1998 00:20:36 -0800

 > make release fails for VENDORTAG=RELENG_2_2 when it is making the
 > /R/stage/trees/bin hierarchy in the final "make doRELEASE" in the
 > /BUILD/mk script:
 
 cvsup again and repeat, please:
 
 RCS file: /home/ncvs/src/Makefile,v
 revision 1.109.2.24
 date: 1998/03/09 14:18:02;  author: jkh;  state: Exp;  lines: +8 -1
 Better solution for the dir dependency problem (the "ugly hack" can
 now go away for good).
 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Wed Mar 11 07:25:05 PST 1998 
State-Changed-Why:  
Jordan fixed this in revision 1.109.2.24 of src/Makefile. 
>Unformatted:
