-
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c: In function ‘vbox_ttm_tt_create’:
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:218:22: error: passing argument 2 of ‘ttm_tt_init’ from incompatible pointer type [-Werror=incompatible-pointer-types]
- if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
- ^~~~
- In file included from ./include/drm/ttm/ttm_bo_driver.h:45:0,
- from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:68,
- from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
- ./include/drm/ttm/ttm_tt.h:161:5: note: expected ‘struct ttm_buffer_object *’ but argument is of type ‘struct ttm_bo_device *’
- int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
- ^~~~~~~~~~~
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:218:6: error: too many arguments to function ‘ttm_tt_init’
- if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
- ^~~~~~~~~~~
- In file included from ./include/drm/ttm/ttm_bo_driver.h:45:0,
- from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:68,
- from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
- ./include/drm/ttm/ttm_tt.h:161:5: note: declared here
- int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
- ^~~~~~~~~~~
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c: At top level:
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:247:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
- .ttm_tt_create = vbox_ttm_tt_create,
- ^~~~~~~~~~~~~~~~~~
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:247:19: note: (near initialization for ‘vbox_bo_driver.ttm_tt_create’)
- In file included from ./include/uapi/linux/posix_types.h:5:0,
- from ./include/uapi/linux/types.h:14,
- from ./include/linux/types.h:6,
- from ./include/linux/genalloc.h:33,
- from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:42,
- from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c: In function ‘vbox_bo_create’:
- ./include/linux/stddef.h:8:14: warning: passing argument 8 of ‘ttm_bo_init’ makes integer from pointer without a cast [-Wint-conversion]
- #define NULL ((void *)0)
- ^
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:399:34: note: in expansion of macro ‘NULL’
- align >> PAGE_SHIFT, false, NULL, acc_size,
- ^~~~
- In file included from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:67:0,
- from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
- ./include/drm/ttm/ttm_bo_api.h:544:5: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘void *’
- int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
- ^~~~~~~~~~~
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:399:40: warning: passing argument 9 of ‘ttm_bo_init’ makes pointer from integer without a cast [-Wint-conversion]
- align >> PAGE_SHIFT, false, NULL, acc_size,
- ^~~~~~~~
- In file included from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:67:0,
- from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
- ./include/drm/ttm/ttm_bo_api.h:544:5: note: expected ‘struct sg_table *’ but argument is of type ‘size_t {aka long unsigned int}’
- int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
- ^~~~~~~~~~~
- /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:397:8: error: too many arguments to function ‘ttm_bo_init’
- ret = ttm_bo_init(&vbox->ttm.bdev, &vboxbo->bo, size,
- ^~~~~~~~~~~
- In file included from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:67:0,
- from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
- ./include/drm/ttm/ttm_bo_api.h:544:5: note: declared here
- int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
- ^~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:312: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- ./tools/objtool/objtool orc generate --module --no-fp "/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/.tmp_vbox_mode.o";
- ./tools/objtool/objtool orc generate --module --no-fp "/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/.tmp_vbva_base.o";
- ./tools/objtool/objtool orc generate --module --no-fp "/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/.tmp_vbox_prime.o";
- make[1]: *** [Makefile:1571: _module_/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo] Error 2
- make[1]: Leaving directory '/usr/src/linux-4.17.0-gentoo'
- make: *** [/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/Makefile.include.footer:101: vboxvideo] Error 2
- * ERROR: app-emulation/virtualbox-guest-additions-5.2.12::gentoo failed (compile phase):
- * emake failed
- *
- * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-guest-additions-5.2.12::gentoo'`,
- * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-guest-additions-5.2.12::gentoo'`.
- * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/environment'.
- * Working directory: '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo'
- * S: '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/VirtualBox-5.2.12'
-
- >>> Failed to emerge app-emulation/virtualbox-guest-additions-5.2.12, Log file:
-
- >>> '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/build.log'
-
- * Messages for package app-emulation/virtualbox-guest-additions-5.2.12:
-
- * ERROR: app-emulation/virtualbox-guest-additions-5.2.12::gentoo failed (compile phase):
- * emake failed
- *
- * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-guest-additions-5.2.12::gentoo'`,
- * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-guest-additions-5.2.12::gentoo'`.
- * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/environment'.
- * Working directory: '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo'
- * S: '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/VirtualBox-5.2.12'
-