From nobody Wed Aug 10 16:06:21 2022 X-Original-To: virtualization@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 4M2vv12vh0z4Y7pw for ; Wed, 10 Aug 2022 16:06:21 +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 4M2vv11nRZz4D3F for ; Wed, 10 Aug 2022 16:06:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4M2vv10vwtzH7Q for ; Wed, 10 Aug 2022 16:06:21 +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 27AG6L1a017435 for ; Wed, 10 Aug 2022 16:06:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27AG6Ljg017434 for virtualization@FreeBSD.org; Wed, 10 Aug 2022 16:06:21 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: virtualization@FreeBSD.org Subject: [Bug 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC. Date: Wed, 10 Aug 2022 16:06:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@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: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660147581; 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=wZ2GBToxPM+S04dV1thkfCrAq4Ymet5UwsflqCYlens=; b=cJTaEJcdNgge/1Mix+F08yVW4lO0itgBDjLALgcJVASFIXY9NehEDLZmli+L6HmQLHZgnN t+CWESr+qVWzgUvBlDMYWTNhmPnBgM2yw3J6+aK5O/y1Be4ib84+4CT9McxIfPghoQGq1c 1y7VPip/Y7JUqq/oeQyH0TATwVtqf5sehWArZDcS2hU4/r6iJxY7CvCWlS1BZ9T36McEOq pMeVvd++Cji4XS86WMd1chSPYrGffnrla/QaA0nVrEQL6uzNSFOKz3BJRSac8i1lGXW1r/ IR58l1XGuCUS3oPONF6/Ph9YV0Ysc0C0tuNkTeEz/WWSiUsEuv2AjVV+JYHFCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660147581; a=rsa-sha256; cv=none; b=Ck11UF+Lk8zDgFmBAZz8nxof7Zm9PpM+K48oepKFISu44H0lxZBMpuV0UN3mabKoBb3hKS aAX6Q0PUt5zx/WzYgoC6DvqOYbDa8Vt0Tn1FkPYNSm+t6DbbSwJb4M0jA5hJNMsUy/sBbJ 3A/be/K7pyqum2RWiz35lZNfXp9YpDOJGsYHp5Fjda8e7Z5iYYhjLoXOClkFuhi5S0cjYG dQopKtsN1crAlq8xvzqkmeXeETAvNzRqf90+GmkZQTsuBlPuwGS33Jhz+wgGkFhjq0om/+ MLSX0Tnvleky7yKer8+apV/DUgUJmjZ+WN9AmRrKCAu1PjsbuNiy0O2JpD5ZwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246121 --- Comment #36 from mario felicioni --- Hello. actually I'm running FreeBSD 13.1-RELEASE. I've tried to apply this patch u= sing two approach : 1) I've applied the patches to the 13.1-RELEASE files 2) I've copied the files already patched that Ive used on the 13.0-RELEASE = on the=20 /usr/src/usr.sbin folder of the 13.1-RELEASE and then I gave a "make" In both cases I've got the same error. case 1) # patch -u < /home/marietto/Desktop/Files/Scripts/FreeBSD/bhyve-corvin/bhyve_keyboard_la= yout_patch/qemu_ext_keyevent_msg/bhyve_qemu_ext_key_event_msg_fbsd130r.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -uprN bhyve_orig/console.c bhyve/console.c |--- bhyve_orig/console.c 2021-04-09 09:24:13.000000000 +0900 |+++ bhyve/console.c 2021-05-03 13:11:57.869902000 +0900 -------------------------- Patching file bhyve/console.c using Plan A... Hunk #1 succeeded at 106. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -uprN bhyve_orig/console.h bhyve/console.h |--- bhyve_orig/console.h 2021-04-09 09:24:13.000000000 +0900 |+++ bhyve/console.h 2021-05-03 13:11:57.870288000 +0900 -------------------------- Patching file bhyve/console.h using Plan A... Hunk #1 succeeded at 34. Hunk #2 succeeded at 47. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -uprN bhyve_orig/ps2kbd.c bhyve/ps2kbd.c |--- bhyve_orig/ps2kbd.c 2021-04-09 09:24:13.000000000 +0900 |+++ bhyve/ps2kbd.c 2021-05-03 13:11:57.870908000 +0900 -------------------------- Patching file bhyve/ps2kbd.c using Plan A... Hunk #1 succeeded at 181. Hunk #2 succeeded at 335. Hunk #3 succeeded at 378. Hunk #4 succeeded at 389. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -uprN bhyve_orig/rfb.c bhyve/rfb.c |--- bhyve_orig/rfb.c 2021-04-09 09:24:13.000000000 +0900 |+++ bhyve/rfb.c 2021-05-03 13:13:08.713857000 +0900 -------------------------- Patching file bhyve/rfb.c using Plan A... Hunk #1 succeeded at 98. Hunk #2 succeeded at 119. Hunk #3 succeeded at 174. Hunk #4 succeeded at 204. Hunk #5 succeeded at 297. Hunk #6 succeeded at 350. Hunk #7 succeeded at 730. Hunk #8 succeeded at 747. Hunk #9 succeeded at 1061. Hunk #10 succeeded at 1098. done ..... make[1]: /usr/obj/usr/src/amd64.amd64/usr.sbin/makefs/.depend, 1: ignoring stale .depend for /usr/obj/usr/src/amd64.amd64/lib/libnetbsd/libnetbsd_pie.a cc -O2 -pipe -fno-common -I/usr/src/usr.sbin/makefs -I/usr/src/sys/fs/cd966= 0/ -DMAKEFS -I/usr/src/sys/fs/msdosfs -I/usr/src/sbin/newfs_msdos -DHAVE_STRUCT_STAT_ST_FLAGS=3D1 -I/usr/src/contrib/mtree -I/usr/src/contrib= /mknod -I/usr/src/lib/libnetbsd -fPIE -g -std=3Dc11 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -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 -Qunused-arguments -pie -o makefs.full cd966= 0.o ffs.o makefs.o msdos.o mtree.o walk.o cd9660_strings.o cd9660_debug.o cd9660_eltorito.o cd9660_write.o cd9660_conversion.o iso9660_rrip.o cd9660_archimedes.o ffs_alloc.o ffs_balloc.o ffs_bswap.o ffs_subr.o ufs_bma= p.o buf.o mkfs.o ffs_tables.o mkfs_msdos.o msdosfs_conv.o msdosfs_denode.o msdosfs_fat.o msdosfs_lookup.o msdosfs_vnops.o msdosfs_vfsops.o getid.o mis= c.o spec.o pack_dev.o -L/usr/obj/usr/src/amd64.amd64/lib/libnetbsd -lnetbsd_pie -L/usr/obj/usr/src/amd64.amd64/lib/libutil -lutil -L/usr/obj/usr/src/amd64.amd64/lib/libsbuf -lsbuf ld: error: unable to find library -lnetbsd_pie cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 case 2) https://pastebin.ubuntu.com/p/4mQyK8yrNT/ --=20 You are receiving this mail because: You are the assignee for the bug.=