buildworld b?rkedinlibpam
Dag-Erling Smorgrav
des at ofug.org
Thu May 8 14:48:42 PDT 2003
Mark Murray <mark at grondar.org> writes:
> "Poul-Henning Kamp" writes:
> > But to add to the confusion, my make universe just spat out ia64 buildworld
> > with the same error again :-(
> I think the problem is to order the library build.
> Can .ORDER be applied to subdirs (or something?)
The order in Makefile.inc1 is correct, but if the libraries are built
in parallel, there is a race between libkrb5 and libpam. I've always
assumed the libraries *weren't* built in parallel. You could try the
following in case I'm wrong:
Index: Makefile.inc1
===================================================================
RCS file: /home/ncvs/src/Makefile.inc1,v
retrieving revision 1.356
diff -u -r1.356 Makefile.inc1
--- Makefile.inc1 5 May 2003 12:54:26 -0000 1.356
+++ Makefile.inc1 8 May 2003 21:47:24 -0000
@@ -816,7 +816,9 @@
_generic_libs+= usr.sbin/pcvt/keycap
.endif
-.for _lib in ${_startup_libs} ${_prebuild_libs:Nlib/libpam} ${_generic_libs}
+_lib_order= ${_startup_libs} ${_prebuild_libs:Nlib/libpam} ${_generic_libs}
+.ORDER: ${_lib_order}
+.for _lib in ${_lib_order}
${_lib}__L: .PHONY
.if exists(${.CURDIR}/${_lib})
@${ECHODIR} "===> ${_lib}"; \
DES
--
Dag-Erling Smorgrav - des at ofug.org
More information about the freebsd-current
mailing list