No, I don;t have the log.  It has been overwritten by a newer copy.

I looked into PRECIOUSLIB.  It appears to be broken in
/usr/share/mk/bsd.lib.mk.  Review this excerpt from the file:

.if defined(PRECIOUSLIB) && !defined(NOFSCHG)
SHLINSTALLFLAGS+= -fschg
.endif

_INSTALLFLAGS:= ${INSTALLFLAGS}
.for ie in ${INSTALLFLAGS_EDIT}
_INSTALLFLAGS:= ${_INSTALLFLAGS${ie}}
.endfor
_SHLINSTALLFLAGS:=      ${INSTALLFLAGS}
.for ie in ${INSTALLFLAGS_EDIT}
_SHLINSTALLFLAGS:=      ${_SHLINSTALLFLAGS${ie}}
.endfor

First, _SHLINSTALLFLAGS is used for install and not SHLINSTALLFLAGS. 
This then uses uses INSTALLFLAGS twice.  Try the patch below if you want
to fix the problem.  (It may have whitespace errors from cut and paste
and a missing empty line.)

--- bsd.lib.mk.orig     Wed Feb  2 11:50:59 2000
+++ bsd.lib.mk  Wed Feb  2 11:51:31 2000
@@ -280,8 +280,8 @@
 .for ie in ${INSTALLFLAGS_EDIT}
 _INSTALLFLAGS:=        ${_INSTALLFLAGS${ie}}
 .endfor
-_SHLINSTALLFLAGS:=     ${INSTALLFLAGS}
-.for ie in ${INSTALLFLAGS_EDIT}
+_SHLINSTALLFLAGS:=     ${SHLINSTALLFLAGS}
+.for ie in ${SHLINSTALLFLAGS_EDIT}
 _SHLINSTALLFLAGS:=     ${_SHLINSTALLFLAGS${ie}}
 .endfor
 

Jim Bloom
[EMAIL PROTECTED]


Ruslan Ermilov wrote:
> Yeah, just figured this myself, but one thing I still don't understand
> is how the new libc.so.4 gets installed on the first pass?  The problem
> is that it is declared as PRECIOUSLIB in libc/Makefile, this will result
> in -fschg passed to install.  Do you have a log from the first failed
> installworld?
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to