NFS installworld failures

Ian Lepore ian at
Mon Oct 6 15:30:01 UTC 2014

On Sun, 2014-10-05 at 20:37 -0700, Russell L. Carter wrote:
> Hash: SHA1
> Greetings,
> Am I the only one attempting to maintain a local cluster using
> a buildworld server and mounting /usr/src/ and /usr/obj/ via NFS?
> I intermittently run into installworld failures, usually
> in sys/boot/i386 but occasionally e.g. cddl/lib where the
> install targets are apparently out of date, and want to be
> rebuilt, which doesn't work with a read-only mount.
> Is this a reasonable thing to expect to work, or maybe not?
> Every system in the cluster has got ntpd functioning correctly.
> Here's today's 2nd blocker:
> ===> cddl/lib/drti (install)
> /usr/bin/cc  -O2 -pipe
> - -I/usr/src/cddl/lib/drti/../../../sys/cddl/compat/opensolaris
> - -I/usr/src/cddl/lib/drti/../../../cddl/compat/opensolaris/include
> - -I/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/head
> -
> -I/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libctf/common
>  -I/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common  -I/usr/src/cddl/lib/drti/../../../sys/cddl/contrib/opensolaris/uts/common  -DPIC -fpic -DNEED_SOLARIS_BOOLEAN -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-unknown-pragmas -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c -o drti.o
> error: unable to open output file 'drti.o': ''
> Best regards,
> Russell
> Version: GnuPG v2
> CXl0x/a4eSSS38UOa46KIUTFnx68XKElqUFi8eHRcSXe0L0pCNq1UQw5Qrp5Uaj0
> d5GaKpkm3IP/IZtTzIbh60N2oc8einYXHWP5LsDx3Au4b4y0p2CX7ApQr61H7n5G
> 6E8XJ8lSrS13NBI0RvWAVY54+DzuLeoubvpJqMoodb01YToY/e3HHn/K5gbmF/x8
> JK5tsW1XvGsRFxT/NLDKumuaf0JQLrRHD9DjiKTELAvtLdg7k4G4yf0BmobojUrB
> E1RajK8HppmyP0S2UvZMisMfEZ3radl0PKPbk/cCLMLWC1kiLWyZ70OSZ/537umY
> 94fF0irY0TmnsHENpQmtDB7OwPFb80bn9ztuEo54PI8j2rnSuvB4FNkHNTuTtkAi
> JY7V3cu2yjVbuqw7ailutc5We7jEurS+5Gi72KEL9pLs22WFtmtHfAgrZuRE4Ror
> RudQpszK4TIljNgh9tF3g4nMMiabKwHq4Ws2BqrZ3wJCl8tgLdetR/hGHR325dTL
> CnLp8YdoU6gbfbTBWqQrnmV02VMOinK+ZAAy7ATufQhy9tVIwai1gz27ou4tkkmb
> i0vDqv+jQoP7S6/4LfGkBJQ53X1O4L+zRYJ53YCfoH7kM4g4tNbvCDBYYG/EFU3+
> 2EDMkHl04WIJvg1VcaT1
> =N1ME

It was mentioned in another reply, but maybe overlooked... the contents
of /etc/make.conf and /etc/src.conf must be identical between the
systems where you do buildworld and installworld.  For example, if you
buildworld using WITHOUT_CTF and installworld without using that same
setting, it will try to build the missing pieces at install time.

-- Ian

More information about the freebsd-current mailing list