Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 716524

Summary: app-emulation/virtualbox-6.1.4-r2: Failed build on kernel 5.6
Product: Gentoo Linux Reporter: kmyuan2006 <kmyuan2008>
Component: New packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebulid file
patch file

Description kmyuan2006 2020-04-07 07:01:23 UTC
Created attachment 630950 [details]
ebulid file

1.Corresponding to the version of app-emulation/virtualbox-6.1.4-r2
2.According to https://www.virtualbox.org/ticket/19312 time.patch and ioremap_nocache replacement patches are required
Comment 1 kmyuan2006 2020-04-07 07:03:56 UTC
Created attachment 630952 [details, diff]
patch file

No patch compilation error:
/var/tmp/portage/app-emulation/virtualbox-modules-6.1.4-r2/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1465:32: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
 1465 |                              ? ioremap_nocache(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub)
      |                                ^~~~~~~~~~~~~~~
      |                                ioremap_cache


/var/tmp/portage/app-emulation/virtualbox-modules-6.1.4-r2/work/vboxdrv/include/iprt/time.h:379:13: error: dereferencing pointer to incomplete type ‘struct timeval’
  379 |     pTimeval->tv_sec = (time_t)i64;
      |             ^~
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-07 07:06:49 UTC
Thanks for the report. In this instance, it looks like a duplicate. Have a look at the bug I've marked it as a dup of.

*** This bug has been marked as a duplicate of bug 715726 ***
Comment 3 kmyuan2006 2020-04-07 07:39:39 UTC
thanks
Comment 4 kmyuan2006 2020-04-07 07:40:10 UTC
(In reply to Sam James (sam_c) (security padawan) from comment #2)
> Thanks for the report. In this instance, it looks like a duplicate. Have a
> look at the bug I've marked it as a dup of.
> 
> *** This bug has been marked as a duplicate of bug 715726 ***

tanks