[vboxsf] build error with 4.19.87-1
Currently we face a build error:
DKMS make.log for vboxsf-6.0.14_OSE for kernel 4.19.87-1-MANJARO (x86_64)
Sun Dec 1 11:15:16 CET 2019
make: Entering directory '/usr/lib/modules/4.19.87-1-MANJARO/build'
CC [M] /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/dir.o
CC [M] /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/file.o
CC [M] /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/utils.o
CC [M] /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.o
CC [M] /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/super.o
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/super.c:14:10: fatal error: linux/fs_parser.h: No such file or directory
14 | #include <linux/fs_parser.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:304: /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/super.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c: In function 'vboxsf_connect':
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:15:3: error: 'VMMDEV_REQUESTOR_KERNEL' undeclared (first use in this function)
15 | (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro 'SHFL_REQUEST'
33 | err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:15:3: note: each undeclared identifier is reported only once for each function it appears in
15 | (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro 'SHFL_REQUEST'
33 | err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:15:29: error: 'VMMDEV_REQUESTOR_USR_DRV_OTHER' undeclared (first use in this function)
15 | (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro 'SHFL_REQUEST'
33 | err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:16:3: error: 'VMMDEV_REQUESTOR_CON_DONT_KNOW' undeclared (first use in this function)
16 | VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro 'SHFL_REQUEST'
33 | err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:16:36: error: 'VMMDEV_REQUESTOR_TRUST_NOT_GIVEN' undeclared (first use in this function)
16 | VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro 'SHFL_REQUEST'
33 | err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:33:45: error: passing argument 3 of 'vbg_hgcm_connect' from incompatible pointer type [-Werror=incompatible-pointer-types]
33 | err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
| ^~~~
| |
| struct vmmdev_hgcm_service_location *
In file included from /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:29:13: note: expected 'u32 *' {aka 'unsigned int *'} but argument is of type 'struct vmmdev_hgcm_service_location *'
29 | u32 *client_id, int *vbox_status);
| ~~~~~^~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:33:8: error: too many arguments to function 'vbg_hgcm_connect'
33 | err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
| ^~~~~~~~~~~~~~~~
In file included from /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:27:5: note: declared here
27 | int vbg_hgcm_connect(struct vbg_dev *gdev,
| ^~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c: In function 'vboxsf_disconnect':
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:15:3: error: 'VMMDEV_REQUESTOR_KERNEL' undeclared (first use in this function)
15 | (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:49:28: note: in expansion of macro 'SHFL_REQUEST'
49 | vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:15:29: error: 'VMMDEV_REQUESTOR_USR_DRV_OTHER' undeclared (first use in this function)
15 | (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:49:28: note: in expansion of macro 'SHFL_REQUEST'
49 | vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:16:3: error: 'VMMDEV_REQUESTOR_CON_DONT_KNOW' undeclared (first use in this function)
16 | VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:49:28: note: in expansion of macro 'SHFL_REQUEST'
49 | vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:16:36: error: 'VMMDEV_REQUESTOR_TRUST_NOT_GIVEN' undeclared (first use in this function)
16 | VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:49:28: note: in expansion of macro 'SHFL_REQUEST'
49 | vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:49:42: warning: passing argument 3 of 'vbg_hgcm_disconnect' makes pointer from integer without a cast [-Wint-conversion]
49 | vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
| ^~~~~~~~~~~~~~~~
| |
| u32 {aka unsigned int}
In file included from /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:31:67: note: expected 'int *' but argument is of type 'u32' {aka 'unsigned int'}
31 | int vbg_hgcm_disconnect(struct vbg_dev *gdev, u32 client_id, int *vbox_status);
| ~~~~~^~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:49:2: error: too many arguments to function 'vbg_hgcm_disconnect'
49 | vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:31:5: note: declared here
31 | int vbg_hgcm_disconnect(struct vbg_dev *gdev, u32 client_id, int *vbox_status);
| ^~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c: In function 'vboxsf_call':
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:15:3: error: 'VMMDEV_REQUESTOR_KERNEL' undeclared (first use in this function)
15 | (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:62:28: note: in expansion of macro 'SHFL_REQUEST'
62 | err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:15:29: error: 'VMMDEV_REQUESTOR_USR_DRV_OTHER' undeclared (first use in this function)
15 | (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:62:28: note: in expansion of macro 'SHFL_REQUEST'
62 | err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:16:3: error: 'VMMDEV_REQUESTOR_CON_DONT_KNOW' undeclared (first use in this function)
16 | VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:62:28: note: in expansion of macro 'SHFL_REQUEST'
62 | err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
| ^~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:16:36: error: 'VMMDEV_REQUESTOR_TRUST_NOT_GIVEN' undeclared (first use in this function)
16 | VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:62:28: note: in expansion of macro 'SHFL_REQUEST'
62 | err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
| ^~~~~~~~~~~~
In file included from ./include/asm-generic/bug.h:18,
from ./arch/x86/include/asm/bug.h:83,
from ./include/linux/bug.h:5,
from ./include/linux/mmdebug.h:5,
from ./include/linux/mm.h:9,
from /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:8:
./include/linux/kernel.h:40:18: warning: passing argument 5 of 'vbg_hgcm_call' makes pointer from integer without a cast [-Wint-conversion]
40 | #define U32_MAX ((u32)~0U)
| ^~~~~~~~~~
| |
| unsigned int
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:63:8: note: in expansion of macro 'U32_MAX'
63 | U32_MAX, parms, parm_count, &vbox_status);
| ^~~~~~~
In file included from /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:34:60: note: expected 'struct vmmdev_hgcm_function_parameter64 *' but argument is of type 'unsigned int'
34 | u32 timeout_ms, struct vmmdev_hgcm_function_parameter *parms,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:63:17: warning: passing argument 6 of 'vbg_hgcm_call' makes integer from pointer without a cast [-Wint-conversion]
63 | U32_MAX, parms, parm_count, &vbox_status);
| ^~~~~
| |
| void *
In file included from /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:35:9: note: expected 'u32' {aka 'unsigned int'} but argument is of type 'void *'
35 | u32 parm_count, int *vbox_status);
| ~~~~^~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:63:24: warning: passing argument 7 of 'vbg_hgcm_call' makes pointer from integer without a cast [-Wint-conversion]
63 | U32_MAX, parms, parm_count, &vbox_status);
| ^~~~~~~~~~
| |
| u32 {aka unsigned int}
In file included from /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:35:26: note: expected 'int *' but argument is of type 'u32' {aka 'unsigned int'}
35 | u32 parm_count, int *vbox_status);
| ~~~~~^~~~~~~~~~~
/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:62:8: error: too many arguments to function 'vbg_hgcm_call'
62 | err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
| ^~~~~~~~~~~~~
In file included from /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:33:5: note: declared here
33 | int vbg_hgcm_call(struct vbg_dev *gdev, u32 client_id, u32 function,
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:303: /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf/vboxsf_wrappers.o] Error 1
make[1]: *** [scripts/Makefile.build:544: /home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build/vboxsf] Error 2
make: *** [Makefile:1525: _module_/home/phil/dev/git/manjaro/repositories/gitlab/extra/linux419-extramodules/virtualbox-modules/src/dkms/vboxsf/6.0.14_OSE/build] Error 2
make: Leaving directory '/usr/lib/modules/4.19.87-1-MANJARO/build'