-r321371: "installworld distrib-dirs distribute DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist" failed: target directory `/base/usr/lib/' does not exist

From: Mark Millard <markmi_at_dsl-only.net>
Date: Sat, 22 Jul 2017 21:21:16 -0700
[Note: This is actually after the -j8 report that I sent but the
failure may well be related despite happening much later.]

After buildworld buildkernel installkernel installkernel reboot to
upgrade to -r321371 (from -r321109 ) I attempted:

~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh installworld distrib-dirs distribute DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist

(where clang-amd64-installworld-dist was to be updated
from -r321109 ) I got:

===> lib (distribute)
===> lib/csu (distribute)
===> lib/csu/amd64 (distribute)
cd /usr/src/lib/csu/amd64;  make install installconfig -DNO_SUBDIR DESTDIR=/base SHARED=copies
install  -o root -g wheel  -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o /base/usr/lib/
install: target directory `/base/usr/lib/' does not exist
usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
               [-M log] [-D dest] [-h hash] [-T tags]
               [-B suffix] [-l linkflags] [-N dbdir]
               file1 file2
       install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
               [-M log] [-D dest] [-h hash] [-T tags]
               [-B suffix] [-l linkflags] [-N dbdir]
               file1 ... fileN directory
       install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]
               [-M log] [-D dest] [-h hash] [-T tags]
               directory ...
*** Error code 64

Stop.
make[5]: stopped in /usr/src/lib/csu/amd64
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib/csu/amd64
*** Error code 1

Stop.
make[3]: stopped in /usr/src/lib/csu
*** Error code 1

Stop.
make[2]: stopped in /usr/src/lib
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src



Build Context:

# svnlite info /usr/src/ | grep "Re[plv]"
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 321371
Last Changed Rev: 321371

# more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
kldload -n filemon && \
script ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \
env __MAKE_CONF="/root/src.configs/make.conf" SRCCONF="/dev/null" SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang.amd64-host" \
WITH_META_MODE=yes \
MAKEOBJDIRPREFIX="/usr/obj/amd64_clang/amd64.amd64" \
make $*

# more /root/src.configs/make.conf
CFLAGS.gcc+= -v

# more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
kldload -n filemon && \
script ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \
env __MAKE_CONF="/root/src.configs/make.conf" SRCCONF="/dev/null" SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang.amd64-host" \
WITH_META_MODE=yes \
MAKEOBJDIRPREFIX="/usr/obj/amd64_clang/amd64.amd64" \
make $*

#WITH_META_MODE=yes \
#
FreeBSDx64OPC# more /root/src.configs/src.conf.amd64-clang.amd64-host
TO_TYPE=amd64
#
KERNCONF=GENERIC-NODBG
TARGET=${TO_TYPE}
.if ${.MAKE.LEVEL} == 0
TARGET_ARCH=${TO_TYPE}
.export TARGET_ARCH
.endif
#
#WITH_CROSS_COMPILER=
WITH_SYSTEM_COMPILER=
#
WITH_LIBCPLUSPLUS=
WITH_BINUTILS_BOOTSTRAP=
WITH_ELFTOOLCHAIN_BOOTSTRAP=
#WITH_CLANG_BOOTSTRAP=
WITH_CLANG=
WITH_CLANG_IS_CC=
WITH_CLANG_FULL=
WITH_CLANG_EXTRAS=
WITH_LLD=
WITHOUT_LLD_IS_LD=
WITH_LLVM_LIBUNWIND=
WITH_LLDB=
#PORTS_MODULES=emulators/virtualbox-ose-additions
#
WITH_BOOT=
WITH_LIB32=
#
WITHOUT_GCC_BOOTSTRAP=
WITHOUT_GCC=
WITHOUT_GCC_IS_CC=
WITHOUT_GNUCXX=
#
NO_WERROR=
#WERROR=
MALLOC_PRODUCTION=
#
WITH_REPRODUCIBLE_BUILD=


# svnlite status /usr/src/lib | sort
M       /usr/src/lib/Makefile
M       /usr/src/lib/libkvm/kvm_powerpc.c
M       /usr/src/lib/libkvm/kvm_private.c

# svnlite diff /usr/src/lib/Makefile
Index: /usr/src/lib/Makefile
===================================================================
--- /usr/src/lib/Makefile	(revision 321371)
+++ /usr/src/lib/Makefile	(working copy)
_at__at_ -158,7 +158,7 _at__at_
 .if ${MK_LIBCPLUSPLUS} != "no"
 _libcxxrt=	libcxxrt
 _libcplusplus=	libc++
-.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips"
+.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "powerpc"
 _libcplusplus+=	libc++experimental
 .endif
 .endif


===
Mark Millard
markmi_at_dsl-only.net
Received on Sun Jul 23 2017 - 02:21:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC