Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2022 16:06:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC.
Message-ID:  <bug-246121-27103-K5bu0bJWoR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246121-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246121-27103@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #36 from mario felicioni <marietto2008@gmail.com> ---
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.=



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