On Wed, Feb 02, 2000 at 11:54:50AM -0500, Jim Bloom wrote:
> 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:
> 
[...]
> 
> 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
>  
Damn, you're right, except the correct patch would be (see attached).
Please also note, that if we fix bsd.lib.mk, the current workaround
in src/UPDATING will not work for people who have /usr/bin/install
linked with libutil (compiled with .../xinstall/Makefile,v 1.7-1.9).

> 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?
> >

-- 
Ruslan Ermilov          Sysadmin and DBA of the
[EMAIL PROTECTED]        United Commercial Bank,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.247.647        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age
Index: bsd.lib.mk
===================================================================
RCS file: /usr/FreeBSD-CVS/src/share/mk/bsd.lib.mk,v
retrieving revision 1.90
diff -u -p -r1.90 bsd.lib.mk
--- bsd.lib.mk  2000/01/14 07:41:10     1.90
+++ bsd.lib.mk  2000/02/02 17:10:04
@@ -280,7 +280,7 @@ _INSTALLFLAGS:=     ${INSTALLFLAGS}
 .for ie in ${INSTALLFLAGS_EDIT}
 _INSTALLFLAGS:=        ${_INSTALLFLAGS${ie}}
 .endfor
-_SHLINSTALLFLAGS:=     ${INSTALLFLAGS}
+_SHLINSTALLFLAGS:=     ${SHLINSTALLFLAGS}
 .for ie in ${INSTALLFLAGS_EDIT}
 _SHLINSTALLFLAGS:=     ${_SHLINSTALLFLAGS${ie}}
 .endfor

Reply via email to