[Bug 258128] buildworld fails in rescue/rescue

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 Aug 2021 01:42:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258128

            Bug ID: 258128
           Summary: buildworld fails in rescue/rescue
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: mi@FreeBSD.org

Created attachment 227520
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227520&action=edit
The full build-log

Building the stable/13 sources on a stable/11 system (trying to upgrade from
source):

make MAKEOBJDIRPREFIX=/mnt/cache -DNO_CLEAN -DDB_FROM_SRC DESTDIR=/mnt
buildworld -j5

Fails with:

>>> stage 1.1: legacy release compatibility shims
--------------------------------------------------------------
cd /green/src/13; INSTALL="sh /green/src/13/tools/install.sh" 
TOOLS_PREFIX=/mnt/cache/green/src/13/tmp 
PATH=/mnt/cache/green/src/13/tmp/legacy/usr/sbin:/mnt/cache/green/src/13/tmp/legacy/usr/bin:/mnt/cache/green/src/13/tmp/legacy/bin:/mnt/cache/green/src/13/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=/mnt/cache/green/src/13/tmp  MAKEFLAGS="-m
/green/src/13/tools/build/mk  -D NO_CLEAN -D DB_FROM_SRC -j 5 -J 15,16 -m
/green/src/13/share/mk" make  -f Makefile.inc1  DESTDIR= 
OBJTOP='/mnt/cache/green/src/13/tmp/obj-tools'  OBJROOT='${OBJTOP}/' 
MAKEOBJDIRPREFIX=  BOOTSTRAPPING=1104511  BWPHASE=legacy  -DNO_CPU_CFLAGS 
-DNO_LINT  -DNO_PIC  -DNO_SHARED  MK_CTF=no  MK_CLANG_EXTRAS=no 
MK_CLANG_FORMAT=no  MK_CLANG_FULL=no  MK_HTML=no  MK_LLDB=no  MK_MAN=no 
MK_PROFILE=no  MK_RETPOLINE=no  MK_SSP=no  MK_TESTS=no  MK_WERROR=no 
MK_INCLUDES=yes  MK_MAN_UTILS=yes MK_LLVM_TARGET_ALL=no legacy
[Creating objdir /mnt/cache/green/src/13/tmp/obj-tools...]
make[2]: "/green/src/13/Makefile.inc1" line 454: The src.conf WITHOUT_CLEAN
option can now be used instead of NO_CLEAN.
--- legacy ---
===> tools/build (obj,includes,all,install)
[Creating objdir /mnt/cache/green/src/13/tmp/obj-tools/tools/build...]
--- _INCSINS ---
--- _SYSINCSINS ---
...skipping...
--- iscsid_stub.o ---
cc -target x86_64-unknown-freebsd13.0 --sysroot=/mnt/cache/green/src/13/tmp
-B/mnt/cache/green/src/13/tmp/usr/bin -O2 -pipe -fno-common -march=core2  
-std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -W
return-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
-Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
 -Qunused-arguments  
   -static    -O2 -pipe -fno-common -c iscsid_stub.c -o iscsid_stub.o
--- cat.lo ---
cc -target x86_64-unknown-freebsd13.0 --sysroot=/mnt/cache/green/src/13/tmp
-B/mnt/cache/green/src/13/tmp/usr/bin -O2 -pipe -fno-common -march=core2  
-std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -W
return-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
-Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
 -Qunused-arguments  
   -static   -nostdlib -Wl,-dc -r -o cat.lo cat_stub.o
/mnt/cache/green/src/13/rescue/rescue//green/src/13/bin/cat/cat.o
cc: error: no such file or directory:
'/mnt/cache/green/src/13/rescue/rescue//green/src/13/bin/cat/cat.o'
*** [cat.lo] Error code 1

make[5]: stopped in /mnt/cache/green/src/13/rescue/rescue
...

When this happens, the only two subdirectories under the
/mnt/cache/green/src/13/rescue/rescue/green/src/13/bin/ are csh and sh.

-- 
You are receiving this mail because:
You are the assignee for the bug.