Unable to install the VirtualBox Guest Additions within Parrot installation updated and patched up to today:
──╼ $sudo ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.6 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.6 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: modprobe vboxsf failed
and within vboxadd-setup.log we have:
Building the main Guest Additions module.
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.18.0-parrot10-amd64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 modules
make[1]: warning: -j2 forced in submake: resetting jobserver mode.
make -C /usr/src/linux-headers-4.18.0-parrot10-amd64 KBUILD_SRC=/usr/src/linux-headers-4.18.0-parrot10-common \
-f /usr/src/linux-headers-4.18.0-parrot10-common/Makefile modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f /usr/src/linux-headers-4.18.0-parrot10-common/scripts/Makefile.build obj=/tmp/vbox.0
(cat /dev/null; echo kernel//tmp/vbox.0/vboxguest.ko;) > /tmp/vbox.0/modules.order
gcc-7 -Wp,-MD,/tmp/vbox.0/.VBoxGuest-linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/src/linux-headers-4.18.0-parrot10-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-4.18.0-parrot10-common/include -I./include -I/usr/src/linux-headers-4.18.0-parrot10-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-4.18.0-parrot10-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.18.0-parrot10-common/include/linux/kconfig.h -include /usr/src/linux-headers-4.18.0-parrot10-common/include/linux/compiler_types.h -I/tmp/vbox.0 -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -mrecord-mcount -Wno-declaration-after-statement -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie -I/lib/modules/4.18.0-parrot10-amd64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ -I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -DKBUILD_BASENAME='"VBoxGuest_linux"' -DKBUILD_MODNAME='"vboxguest"' -c -o /tmp/vbox.0/.tmp_VBoxGuest-linux.o /tmp/vbox.0/VBoxGuest-linux.c
gcc-7 -Wp,-MD,/tmp/vbox.0/.VBoxGuest.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/src/linux-headers-4.18.0-parrot10-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-4.18.0-parrot10-common/include -I./include -I/usr/src/linux-headers-4.18.0-parrot10-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-4.18.0-parrot10-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.18.0-parrot10-common/include/linux/kconfig.h -include /usr/src/linux-headers-4.18.0-parrot10-common/include/linux/compiler_types.h -I/tmp/vbox.0 -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -mrecord-mcount -Wno-declaration-after-statement -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie -I/lib/modules/4.18.0-parrot10-amd64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ -I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -DKBUILD_BASENAME='"VBoxGuest"' -DKBUILD_MODNAME='"vboxguest"' -c -o /tmp/vbox.0/.tmp_VBoxGuest.o /tmp/vbox.0/VBoxGuest.c
In file included from /usr/src/linux-headers-4.18.0-parrot10-common/include/linux/module.h:18:0,
from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
from /tmp/vbox.0/VBoxGuest-linux.c:36:
/tmp/vbox.0/VBoxGuest-linux.c:1165:35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1165:35: note: (near initialization for ‘__param_ops_log.set’)
module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1165:63: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1165:63: note: (near initialization for ‘__param_ops_log.get’)
module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1166:35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(log_flags, vgdrvLinuxParamLogFlagsSet, vgdrvLinuxParamLogFlagsGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1166:35: note: (near initialization for ‘__param_ops_log_flags.set’)
module_param_call(log_flags, vgdrvLinuxParamLogFlagsSet, vgdrvLinuxParamLogFlagsGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1166:63: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(log_flags, vgdrvLinuxParamLogFlagsSet, vgdrvLinuxParamLogFlagsGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1166:63: note: (near initialization for ‘__param_ops_log_flags.get’)
module_param_call(log_flags, vgdrvLinuxParamLogFlagsSet, vgdrvLinuxParamLogFlagsGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1167:35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(log_dest, vgdrvLinuxParamLogDstSet, vgdrvLinuxParamLogDstGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1167:35: note: (near initialization for ‘__param_ops_log_dest.set’)
module_param_call(log_dest, vgdrvLinuxParamLogDstSet, vgdrvLinuxParamLogDstGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1167:63: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(log_dest, vgdrvLinuxParamLogDstSet, vgdrvLinuxParamLogDstGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1167:63: note: (near initialization for ‘__param_ops_log_dest.get’)
module_param_call(log_dest, vgdrvLinuxParamLogDstSet, vgdrvLinuxParamLogDstGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1173:35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(r3_log_to_host, vgdrvLinuxParamR3LogToHostSet, vgdrvLinuxParamR3LogToHostGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1173:35: note: (near initialization for ‘__param_ops_r3_log_to_host.set’)
module_param_call(r3_log_to_host, vgdrvLinuxParamR3LogToHostSet, vgdrvLinuxParamR3LogToHostGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1173:66: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(r3_log_to_host, vgdrvLinuxParamR3LogToHostSet, vgdrvLinuxParamR3LogToHostGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
/tmp/vbox.0/VBoxGuest-linux.c:1173:66: note: (near initialization for ‘__param_ops_r3_log_to_host.get’)
module_param_call(r3_log_to_host, vgdrvLinuxParamR3LogToHostSet, vgdrvLinuxParamR3LogToHostGet, NULL, 0664);
^
/usr/src/linux-headers-4.18.0-parrot10-common/include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
{ .flags = 0, .set = _set, .get = _get }; \
^~~~
cc1: some warnings being treated as errors
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/vbox.0/.tmp_VBoxGuest.o";
make[4]: *** [/usr/src/linux-headers-4.18.0-parrot10-common/scripts/Makefile.build:322: /tmp/vbox.0/VBoxGuest-linux.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-headers-4.18.0-parrot10-common/Makefile:1531: _module_/tmp/vbox.0] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make: *** [/tmp/vbox.0/Makefile.include.footer:101: vboxguest] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
version of Parro:
Linux abvc24725p 4.18.0-parrot10-amd64 #1 SMP Debian 4.18.10-2parrot10 (2018-11-17) x86_64 GNU/Linux
version of VirtualBox:
v5.2.6r - Windows 10 -
I am unable to upgrade the virtualBox to latest as it work Windows 10 (1803, build 17134.345) and software installation is controlled through packages only.
any ideas on how to get Guest Additions installed? I need to share data with vm and outside world