Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 1998 09:03:41 +0100 (MET)
From:      Adrian Steinmann <ast@marabu.ch>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/5963: 'make release' of Mar 10 -stable fails in 'make doRELEASE'
Message-ID:  <199803100803.JAA05884@savacu.marabu.ch>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 10 00:10:01 PST 1998
>Last-Modified:
>Originator:     Adrian Steinmann
>Organization:
Steinmann Consulting
>Release:        FreeBSD styx_2.2.5 i386
>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

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803100803.JAA05884>