From nobody Sun May 21 10:34:30 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QPH531FtGz4CLp1 for ; Sun, 21 May 2023 10:34:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QPH530CJRz45qV for ; Sun, 21 May 2023 10:34:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684665271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YUgpMAEtDP+w5IdYDWyCpVj+Zftqy3J4mHiNUnxitqM=; b=PI7q0jg9fJUkw+AzjeMHTdAxkxheZCYOcVH8xyK+LWenv7YYqKPRtwEkpfc1BS0Xl/cso+ sy/OVYhVzAesn0Y5ZeCDpA+pyebynTBEtsLgqa/N0qfWCcbzilyCvHkChDeuSYCAVtQrXt ciYw/Z2zL0Ufh2+DH11mrSPpOgjI8fcufnkxCt/gFKQT/ezT+GgYIEeuAK0iMcxYb4Unn2 952VL4UFgGbbJ9KohouVdWLtjp9ERy2lUcEO9GRQ/5sTAmjymXID2fIy4isa6EU47vkFim 2ZQg7FabrYFSwHB9T3ewbfCXuBoQ7bBZxDBUhYfcab6mwixDR4lCSrPwV4jWIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684665271; a=rsa-sha256; cv=none; b=MWzOFENgCuwcSE42wnnc+zmuykCDSlM7JdkaMlksEtMV0sTF1tnH0cVTtpx9IdWzn84d5f Xe4Ei551gTUO3wppIbckFAEG2pRg7T/XgKLHbdmqsV+4xrGF+vq+YIslZOudop7pBoYZfZ 2frPQSZuKp36J7XQxwgiNzc6ZfrrDCimkqwwJClXTiWuc/QEn8nnchs642zJEAaTrbeunw G/4/XTThItdyqu5PLSqlzMIQ62RWE6GquEQMlgDpevqUjkE+LQJc1tSAp6GHPxI4OO7guQ rKZO/nh8b2wGyQBzaF3BFK2e4CWhE7kvwdHA3Z9CD2mk8YDTI9MnFkI7ZUGc3w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QPH526MQhzp7S for ; Sun, 21 May 2023 10:34:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34LAYUlE018455 for ; Sun, 21 May 2023 10:34:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34LAYUsF018454 for bugs@FreeBSD.org; Sun, 21 May 2023 10:34:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270812] Buildworld fails caused by kbdcontrol Date: Sun, 21 May 2023 10:34:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vsasjason@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270812 --- Comment #2 from Anton Saietskii --- Same issue here: $ time make -C /usr/src/ -sj2 buildworld buildkernel make[1] warning: /usr/src/: Permission denied. make[1]: "/usr/src/Makefile.inc1" line 340: SYSTEM_COMPILER: libclang will = be built for bootstrapping a cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 345: SYSTEM_LINKER: libclang will be built for bootstrapping a cross-linker. -------------------------------------------------------------- >>> World build started on Sun May 21 13:07:33 EEST 2023 -------------------------------------------------------------- -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- Linking host tools into /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin -------------------------------------------------------------- >>> stage 1.1: legacy release compatibility shims -------------------------------------------------------------- =3D=3D=3D> tools/build (obj,includes,all,install) -------------------------------------------------------------- >>> stage 1.2: bootstrap tools -------------------------------------------------------------- =3D=3D=3D> lib/clang/libllvmminimal (obj,all,install) =3D=3D=3D> usr.bin/dtc (obj,all,install) make[3]: "/usr/src/lib/clang/llvm.pre.mk" line 8: warning: "which llvm-tblg= en" returned non-zero status =3D=3D=3D> usr.sbin/kbdcontrol (obj,all,install) /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 --- *** [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 --- _bootstrap-tools-usr.sbin/kbdcontrol --- make[2]: stopped in /usr/src --- _bootstrap-tools-lib/clang/libllvmminimal --- make[2]: stopped in /usr/src --- _bootstrap-tools --- make[1]: stopped in /usr/src --- buildworld --- make: stopped in /usr/src/ 10.189u 4.423s 0:07.68 190.1% 26395+411k 127+251io 156pf+0w jason@freebsdvm:~$ rm -rf /usr/obj/ rm: /usr/obj/: Operation not permitted jason@freebsdvm:~$ jason@freebsdvm:~$ time make -C /usr/src/ -s buildworld buildkernel make[1] warning: /usr/src/: Permission denied. make[1]: "/usr/src/Makefile.inc1" line 340: SYSTEM_COMPILER: libclang will = be built for bootstrapping a cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 345: SYSTEM_LINKER: libclang will be built for bootstrapping a cross-linker. -------------------------------------------------------------- >>> World build started on Sun May 21 13:07:48 EEST 2023 -------------------------------------------------------------- -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- Linking host tools into /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin -------------------------------------------------------------- >>> stage 1.1: legacy release compatibility shims -------------------------------------------------------------- =3D=3D=3D> tools/build (obj,includes,all,install) -------------------------------------------------------------- >>> stage 1.2: bootstrap tools -------------------------------------------------------------- =3D=3D=3D> lib/clang/libllvmminimal (obj,all,install) make[3]: "/usr/src/lib/clang/llvm.pre.mk" line 8: warning: "which llvm-tblg= en" returned non-zero status make[3]: "/usr/src/lib/clang/llvm.pre.mk" line 8: warning: "which llvm-tblg= en" returned non-zero status =3D=3D=3D> usr.bin/clang/llvm-tblgen (obj,all,install) make[3]: "/usr/src/lib/clang/llvm.pre.mk" line 8: warning: "which llvm-tblg= en" returned non-zero status make[3]: "/usr/src/lib/clang/llvm.pre.mk" line 8: warning: "which llvm-tblg= en" returned non-zero status =3D=3D=3D> usr.bin/clang/clang-tblgen (obj,all,install) =3D=3D=3D> usr.bin/dtc (obj,all,install) =3D=3D=3D> usr.sbin/kbdcontrol (obj,all,install) /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. *** Error code 1 Stop. make[3]: stopped in /usr/src/usr.sbin/kbdcontrol *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src/ 379.516u 33.563s 6:54.53 99.6% 59866+719k 571+2560io 137pf+0w I've been using WITHOUT_LEGACY_CONSOLE=3D for ages and it always worked. releng/12.1 -> releng/12.2 -> releng/12.3 -> releng/12.4 -> releng/13.1 -> = -> releng/13.2 --=20 You are receiving this mail because: You are the assignee for the bug.=