spacepaste

  1.  
  2. /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c: In function ‘vbox_ttm_tt_create’:
  3. /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]
  4. if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
  5. ^~~~
  6. In file included from ./include/drm/ttm/ttm_bo_driver.h:45:0,
  7. from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:68,
  8. from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
  9. ./include/drm/ttm/ttm_tt.h:161:5: note: expected ‘struct ttm_buffer_object *’ but argument is of type ‘struct ttm_bo_device *’
  10. int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
  11. ^~~~~~~~~~~
  12. /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’
  13. if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
  14. ^~~~~~~~~~~
  15. In file included from ./include/drm/ttm/ttm_bo_driver.h:45:0,
  16. from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:68,
  17. from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
  18. ./include/drm/ttm/ttm_tt.h:161:5: note: declared here
  19. int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
  20. ^~~~~~~~~~~
  21. /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c: At top level:
  22. /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]
  23. .ttm_tt_create = vbox_ttm_tt_create,
  24. ^~~~~~~~~~~~~~~~~~
  25. /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’)
  26. In file included from ./include/uapi/linux/posix_types.h:5:0,
  27. from ./include/uapi/linux/types.h:14,
  28. from ./include/linux/types.h:6,
  29. from ./include/linux/genalloc.h:33,
  30. from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:42,
  31. from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
  32. /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c: In function ‘vbox_bo_create’:
  33. ./include/linux/stddef.h:8:14: warning: passing argument 8 of ‘ttm_bo_init’ makes integer from pointer without a cast [-Wint-conversion]
  34. #define NULL ((void *)0)
  35. ^
  36. /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:399:34: note: in expansion of macro ‘NULL’
  37. align >> PAGE_SHIFT, false, NULL, acc_size,
  38. ^~~~
  39. In file included from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:67:0,
  40. from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
  41. ./include/drm/ttm/ttm_bo_api.h:544:5: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘void *’
  42. int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
  43. ^~~~~~~~~~~
  44. /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]
  45. align >> PAGE_SHIFT, false, NULL, acc_size,
  46. ^~~~~~~~
  47. In file included from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:67:0,
  48. from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
  49. ./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}’
  50. int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
  51. ^~~~~~~~~~~
  52. /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’
  53. ret = ttm_bo_init(&vbox->ttm.bdev, &vboxbo->bo, size,
  54. ^~~~~~~~~~~
  55. In file included from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_drv.h:67:0,
  56. from /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.c:30:
  57. ./include/drm/ttm/ttm_bo_api.h:544:5: note: declared here
  58. int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
  59. ^~~~~~~~~~~
  60. cc1: some warnings being treated as errors
  61. make[2]: *** [scripts/Makefile.build:312: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/vbox_ttm.o] Error 1
  62. make[2]: *** Waiting for unfinished jobs....
  63. ./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";
  64. ./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";
  65. ./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";
  66. make[1]: *** [Makefile:1571: _module_/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo] Error 2
  67. make[1]: Leaving directory '/usr/src/linux-4.17.0-gentoo'
  68. make: *** [/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo/Makefile.include.footer:101: vboxvideo] Error 2
  69. * ERROR: app-emulation/virtualbox-guest-additions-5.2.12::gentoo failed (compile phase):
  70. * emake failed
  71. *
  72. * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-guest-additions-5.2.12::gentoo'`,
  73. * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-guest-additions-5.2.12::gentoo'`.
  74. * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/build.log'.
  75. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/environment'.
  76. * Working directory: '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo'
  77. * S: '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/VirtualBox-5.2.12'
  78. >>> Failed to emerge app-emulation/virtualbox-guest-additions-5.2.12, Log file:
  79. >>> '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/build.log'
  80. * Messages for package app-emulation/virtualbox-guest-additions-5.2.12:
  81. * ERROR: app-emulation/virtualbox-guest-additions-5.2.12::gentoo failed (compile phase):
  82. * emake failed
  83. *
  84. * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-guest-additions-5.2.12::gentoo'`,
  85. * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-guest-additions-5.2.12::gentoo'`.
  86. * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/build.log'.
  87. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/temp/environment'.
  88. * Working directory: '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/vboxvideo'
  89. * S: '/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.12/work/VirtualBox-5.2.12'
  90.