Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2023 09:19:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273283] Trying to build world (upgrade from 13.1 to 13.2) from source fails
Message-ID:  <bug-273283-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273283

            Bug ID: 273283
           Summary: Trying to build world (upgrade from 13.1 to 13.2) from
                    source fails
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: info@babaei.net

I have been upgrading this server since 12.2-RELEASE using source and all h=
as
been working fine up to 13.1-RELEASE. I had 13.1-RELEASE-p6 so I built one =
last
time after git pull to 13.1-RELEASE-p9 and it worked fine.

Then, I decided to update to 13.2-RELEASE by doing:

$ git pull
$ git checkout releng/13.2
$ cd /usr/src/ && make clean
$ cd /usr/obj/ && rm -rf *
$ cd /usr/src/ && make buildworld -j3 && make buildkernel -j3 KERNCONF=3DCU=
STOM

It fails with the following:

--- _bootstrap-tools ---
--------------------------------------------------------------
>>> stage 1.2: bootstrap tools
--------------------------------------------------------------
cd /usr/src; INSTALL=3D"sh /usr/src/tools/install.sh"=20
TOOLS_PREFIX=3D/usr/obj/usr/src/amd64.amd64/tmp=20
PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/am=
d64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/u=
sr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr=
/bin
 WORLDTMP=3D/usr/obj/usr/src/amd64.amd64/tmp  MAKEFLAGS=3D"-m
/usr/src/tools/build/mk  -j 3 -J 15,16 -m /usr/src/share/mk" make  -f
Makefile.inc1  DESTDIR=3D  OBJTOP=3D'/usr/obj/usr/src/amd64.amd64/tmp/obj-t=
ools'=20
OBJROOT=3D'${OBJTOP}/'  MAKEOBJDIRPREFIX=3D  BOOTSTRAPPING=3D1301000=20
BWPHASE=3Dbootstrap-tools  -DNO_CPU_CFLAGS  -DNO_LINT  -DNO_PIC  -DNO_SHARE=
D=20
MK_CTF=3Dno  MK_CLANG_EXTRAS=3Dno  MK_CLANG_FORMAT=3Dno  MK_CLANG_FULL=3Dno=
  MK_HTML=3Dno
 MK_MAN=3Dno  MK_PROFILE=3Dno  MK_RETPOLINE=3Dno  MK_SSP=3Dno  MK_TESTS=3Dn=
o=20
MK_WERROR=3Dno  MK_INCLUDES=3Dyes  MK_MAN_UTILS=3Dyes MK_LLVM_TARGET_ALL=3D=
no
bootstrap-tools
--- _bootstrap-tools-link-m4 ---
--- _bootstrap-tools-link-lex ---
--- _bootstrap-tools-link-mtree ---
--- _bootstrap-tools-link-cat ---
--- _bootstrap-tools-link-crunchide ---
--- _bootstrap-tools-link-crunchgen ---
--- _bootstrap-tools-link-mkimg ---
--- _bootstrap-tools-link-sysctl ---
--- _bootstrap-tools-link-cut ---
--- _bootstrap-tools-link-expr ---
--- _bootstrap-tools-link-gencat ---
--- _bootstrap-tools-link-join ---
--- _bootstrap-tools-link-mktemp ---
--- _bootstrap-tools-link-realpath ---
--- _bootstrap-tools-link-rmdir ---
--- _bootstrap-tools-link-sed ---
--- _bootstrap-tools-link-sort ---
--- _bootstrap-tools-link-truncate ---
--- _bootstrap-tools-link-tsort ---
--- _bootstrap-tools-link-file2c ---
--- _bootstrap-tools-link-uuencode ---
--- _bootstrap-tools-link-uudecode ---
--- _bootstrap-tools-link-xargs ---
--- _bootstrap-tools-link-cap_mkdb ---
--- _bootstrap-tools-link-services_mkdb ---
--- _bootstrap-tools-link-pwd_mkdb ---
--- _bootstrap-tools-link-ldd ---
--- _bootstrap-tools-link-chflags ---
--- _bootstrap-tools-link-mkfifo ---
--- _bootstrap-tools-link-jot ---
--- _bootstrap-tools-link-md5 ---
--- _bootstrap-tools-link-tzsetup ---
--- _bootstrap-tools-link-grep ---
--- _bootstrap-tools-link-egrep ---
--- _bootstrap-tools-link-fgrep ---
--- _bootstrap-tools-link-test ---
--- _bootstrap-tools-link-[ ---
--- _bootstrap-tools-link-awk ---
--- _bootstrap-tools-link-nawk ---
--- _bootstrap-tools-lib/clang/libllvmminimal ---
--- _bootstrap-tools-usr.bin/dtc ---
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
--- _bootstrap-tools-lib/clang/libllvmminimal ---
=3D=3D=3D> lib/clang/libllvmminimal (obj,all,install)
--- _bootstrap-tools-usr.bin/dtc ---
=3D=3D=3D> usr.bin/dtc (obj,all,install)
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
=3D=3D=3D> usr.sbin/kbdcontrol (obj,all,install)
--- _bootstrap-tools-lib/clang/libllvmminimal ---
[Creating objdir
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal...]
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
[Creating objdir
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.sbin/kbdcontrol...]
--- _bootstrap-tools-usr.bin/dtc ---
[Creating objdir /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/dtc...]
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
--- lex.c ---
--- _bootstrap-tools-usr.bin/dtc ---
--- .depend ---
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
lex   -olex.c /usr/src/usr.sbin/kbdcontrol/lex.l
--- _bootstrap-tools-lib/clang/libllvmminimal ---
make[3]: "/usr/src/lib/clang/llvm.pre.mk" line 8: warning: "which llvm-tblg=
en"
returned non-zero status
--- _bootstrap-tools-usr.bin/dtc ---
echo dtc: /usr/lib/libc.a
/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib/libegacy.a >> .depend
echo dtc: /usr/lib/libc++.a >> .depend
--- dtc.o ---
/usr/local/bin/ccache c++  -O2 -pipe -fno-common -DNDEBUG -MD -MF.depend.dt=
c.o
-MTdtc.o -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=3Dunused-but-set-variable -Wno-tautological-compare -Wno-unused-=
value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments
-I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -fno-rtti -fno-except=
ions
 -std=3Dc++11    -Wno-c++11-extensions   -c /usr/src/usr.bin/dtc/dtc.cc -o =
dtc.o
--- _bootstrap-tools-lib/clang/libllvmminimal ---
[Creating nested objdir
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/Demangl=
e...]
[Creating nested objdir
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/Support=
...]
[Creating nested objdir
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/TableGe=
n...]
--- Demangle/ItaniumDemangle.o ---
/usr/local/bin/ccache c++  -O2 -pipe -fno-common -I/usr/src/lib/clang/inclu=
de
-I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG
-DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd13.2\"
-DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd13.2\"
-DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/amd64.amd64/tmp\" -DLLVM_TARGET_ENAB=
LE_X86
-DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser
-DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeX86Disassembler
-DLLVM_NATIVE_TARGET=3DLLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo
-DLLVM_NATIVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections
-fdata-sections -DNDEBUG -MD -MF.depend.Demangle_ItaniumDemangle.o
-MTDemangle/ItaniumDemangle.o -Wno-format-zero-length -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=3Dunused-but-set-variable -Wno-tautological-compare -Wno-unused-=
value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch
-Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses
-Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include=20
-fno-exceptions -fno-rtti -std=3Dc++14    -stdlib=3Dlibc++ -Wno-c++11-exten=
sions=20=20
-c /usr/src/contrib/llvm-project/llvm/lib/Demangle/ItaniumDemangle.cpp -o
Demangle/ItaniumDemangle.o
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
--- .depend ---
--- _bootstrap-tools-usr.bin/dtc ---
--- input_buffer.o ---
/usr/local/bin/ccache c++  -O2 -pipe -fno-common -DNDEBUG -MD
-MF.depend.input_buffer.o -MTinput_buffer.o -Wno-format-zero-length
-Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-a=
rith
-Wno-uninitialized -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
-Wno-address-of-packed-member -Qunused-arguments
-I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -fno-rtti -fno-except=
ions
 -std=3Dc++11    -Wno-c++11-extensions   -c /usr/src/usr.bin/dtc/input_buff=
er.cc
-o input_buffer.o
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
echo kbdcontrol: /usr/lib/libc.a
/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib/libegacy.a >> .depend
--- kbdcontrol.o ---
/usr/local/bin/ccache cc  -O2 -pipe -fno-common -I/usr/src/usr.sbin/kbdcont=
rol=20
-DNDEBUG -MD  -MF.depend.kbdcontrol.o -MTkbdcontrol.o -std=3Dgnu99
-Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar=
ith
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parame=
ter
-Wcast-align -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=3Dunused-but-set-variable  -Qunused-arguments=20=20=20
-I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -c
/usr/src/usr.sbin/kbdcontrol/kbdcontrol.c -o kbdcontrol.o
--- _bootstrap-tools-lib/clang/libllvmminimal ---
--- Support/ABIBreak.o ---
/usr/local/bin/ccache c++  -O2 -pipe -fno-common -I/usr/src/lib/clang/inclu=
de
-I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG
-DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd13.2\"
-DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd13.2\"
-DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/amd64.amd64/tmp\" -DLLVM_TARGET_ENAB=
LE_X86
-DLLVM_NATIVE_ASMPARSER=3DLLVMInitializeX86AsmParser
-DLLVM_NATIVE_ASMPRINTER=3DLLVMInitializeX86AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=3DLLVMInitializeX86Disassembler
-DLLVM_NATIVE_TARGET=3DLLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=3DLLVMInitializeX86TargetInfo
-DLLVM_NATIVE_TARGETMC=3DLLVMInitializeX86TargetMC -ffunction-sections
-fdata-sections -DNDEBUG -MD -MF.depend.Support_ABIBreak.o
-MTSupport/ABIBreak.o -Wno-format-zero-length -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=3Dunused-but-set-variable -Wno-tautological-compare -Wno-unused-=
value
-Wno-parentheses-equality -Wno-un--- _bootstrap-tools-usr.bin/dtc ---
--- string.o ---
/usr/local/bin/ccache c++  -O2 -pipe -fno-common -DNDEBUG -MD
-MF.depend.string.o -MTstring.o -Wno-format-zero-length -Wsystem-headers -W=
all
-Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=3Dunused-but-set-variable -Wno-tautological-compare -Wno-unused-=
value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments
-I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -fno-rtti -fno-except=
ions
 -std=3Dc++11    -Wno-c++11-extensions   -c /usr/src/usr.bin/dtc/string.cc =
-o
string.o
--- _bootstrap-tools-lib/clang/libllvmminimal ---
used-function -Wno-enum-conversion -Wno-unused-local-typedef
-Wno-address-of-packed-member -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments
-I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include  -fno-exceptions
-fno-rtti -std=3Dc++14    -stdlib=3Dlibc++ -Wno-c++11-extensions   -c
/usr/src/contrib/llvm-project/llvm/lib/Support/ABIBreak.cpp -o
Support/ABIBreak.o
--- _bootstrap-tools-usr.bin/dtc ---
--- dtb.o ---
/usr/local/bin/ccache c++  -O2 -pipe -fno-common -DNDEBUG -MD -MF.depend.dt=
b.o
-MTdtb.o -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=3Dunused-but-set-variable -Wno-tautological-compare -Wno-unused-=
value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments
-I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -fno-rtti -fno-except=
ions
 -std=3Dc++11    -Wno-c++11-extensions   -c /usr/src/usr.bin/dtc/dtb.cc -o =
dtb.o
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
/usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:822:37: error: unknown type name
'oaccentmap_t'; did you mean 'accentmap_t'?
to_old_accentmap(accentmap_t *from, oaccentmap_t *to)
                                    ^~~~~~~~~~~~
                                    accentmap_t
/usr/include/sys/kbio.h:210:26: note: 'accentmap_t' declared here
typedef struct accentmap accentmap_t;
                         ^
/usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:841:2: error: unknown type name
'oaccentmap_t'; did you mean 'accentmap_t'?
        oaccentmap_t oaccentmap;
        ^~~~~~~~~~~~
        accentmap_t
/usr/include/sys/kbio.h:210:26: note: 'accentmap_t' declared here
typedef struct accentmap accentmap_t;
                         ^
/usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:902:16: error: use of undeclared
identifier 'OPIO_DEADKEYMAP'
                if (ioctl(0, OPIO_DEADKEYMAP, &oaccentmap) < 0) {
                             ^
/usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:911:18: error: unknown type name
'oaccentmap_t'; did you mean 'accentmap_t'?
to_new_accentmap(oaccentmap_t *from, accentmap_t *to)
                 ^~~~~~~~~~~~
                 accentmap_t
/usr/include/sys/kbio.h:210:26: note: 'accentmap_t' declared here
typedef struct accentmap accentmap_t;
                         ^
/usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:930:2: error: unknown type name
'oaccentmap_t'; did you mean 'accentmap_t'?
        oaccentmap_t oaccentmap;
        ^~~~~~~~~~~~
        accentmap_t
/usr/include/sys/kbio.h:210:26: note: 'accentmap_t' declared here
typedef struct accentmap accentmap_t;
                         ^
/usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:936:16: error: use of undeclared
identifier 'OGIO_DEADKEYMAP'
                if (ioctl(0, OGIO_DEADKEYMAP, &oaccentmap) =3D=3D 0)
                             ^
6 errors generated.
*** [kbdcontrol.o] Error code 1

make[3]: stopped in /usr/src/usr.sbin/kbdcontrol
1 error

make[3]: stopped in /usr/src/usr.sbin/kbdcontrol

make[2]: stopped in /usr/src
--- _bootstrap-tools-usr.bin/dtc ---

make[2]: stopped in /usr/src
--- _bootstrap-tools-lib/clang/libllvmminimal ---
--- Support/APFloat.o ---

make[2]: stopped in /usr/src

make[1]: stopped in /usr/src

make: stopped in /usr/src

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273283-227>