Re: DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed

2020-06-18 Thread Jeffrey Walton
On Fri, Jun 19, 2020 at 12:27 AM Valdis Klētnieks
 wrote:
>
> On Thu, 18 Jun 2020 08:13:00 +0200, Greg KH said:
> > On Thu, Jun 18, 2020 at 01:41:23AM -0400, Jeffrey Walton wrote:
> > > Hi Everyone,
> > >
> > > I recently upgraded Ubuntu 18.04 x86_64 to the 5.4.0-37 kernel.
> > > VirtualBox died, and I am trying to reinstall virtualbox-dkms. The
> > > reinstall fails because the build fails. The log is below.
> > >
> > > Is there anything I can do to solve the problem?
> >
> > Ask the out-of-tree virtualbox developers to fix their code to work with
> > the newer kernel source.  Nothing we can do about that, sorry.
>
> Won't do any good, because...
>
> > cat /var/lib/dkms/virtualbox/5.2.34/build/make.log
>
> 5.2.34 is a few releases back. 6.1.10 is out, and supports the 5.7 kernel (and
> most of the fixes to support 5.8-rc1 have already landed for 6.1.12).
> They fixed that problem probably close to a year ago.

Thanks Valdis .

A quick question... Why is a 5.4 kernel using 5.2 dkms source code? It
seems to me if Ubuntu used the proper source code, then the problem
would not exist.

Jeff

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed

2020-06-18 Thread Valdis Klētnieks
On Thu, 18 Jun 2020 08:13:00 +0200, Greg KH said:
> On Thu, Jun 18, 2020 at 01:41:23AM -0400, Jeffrey Walton wrote:
> > Hi Everyone,
> >
> > I recently upgraded Ubuntu 18.04 x86_64 to the 5.4.0-37 kernel.
> > VirtualBox died, and I am trying to reinstall virtualbox-dkms. The
> > reinstall fails because the build fails. The log is below.
> >
> > Is there anything I can do to solve the problem?
>
> Ask the out-of-tree virtualbox developers to fix their code to work with
> the newer kernel source.  Nothing we can do about that, sorry.

Won't do any good, because...

> cat /var/lib/dkms/virtualbox/5.2.34/build/make.log

5.2.34 is a few releases back. 6.1.10 is out, and supports the 5.7 kernel (and
most of the fixes to support 5.8-rc1 have already landed for 6.1.12).
They fixed that problem probably close to a year ago.


pgpIIsORkcqFE.pgp
Description: PGP signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed

2020-06-18 Thread Greg KH
On Thu, Jun 18, 2020 at 01:41:23AM -0400, Jeffrey Walton wrote:
> Hi Everyone,
> 
> I recently upgraded Ubuntu 18.04 x86_64 to the 5.4.0-37 kernel.
> VirtualBox died, and I am trying to reinstall virtualbox-dkms. The
> reinstall fails because the build fails. The log is below.
> 
> Is there anything I can do to solve the problem?

Ask the out-of-tree virtualbox developers to fix their code to work with
the newer kernel source.  Nothing we can do about that, sorry.

good luck!

greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed

2020-06-17 Thread Jeffrey Walton
Hi Everyone,

I recently upgraded Ubuntu 18.04 x86_64 to the 5.4.0-37 kernel.
VirtualBox died, and I am trying to reinstall virtualbox-dkms. The
reinstall fails because the build fails. The log is below.

Is there anything I can do to solve the problem?

==

$ cat /var/lib/dkms/virtualbox/5.2.34/build/make.log
DKMS make.log for virtualbox-5.2.34 for kernel 5.4.0-37-generic (x86_64)
Thu Jun 18 01:35:43 EDT 2020
make: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
  CC [M]  /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrv.o
  CC [M]  /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.o
  CC [M]  /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvTracer.o
  CC [M]  /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPLibAll.o
  CC [M]  /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvSem.o
  CC [M]  /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/alloc-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/initterm-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/memobj-r0drv.o
  CC [M]  
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/mpnotification-r0drv.o
  CC [M]  
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/powernotification-r0drv.o
  CC [M]  
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
  CC [M]  
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
In file included from ././include/linux/compiler_types.h:59:0,
 from :0:
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c: In function
‘supdrvTscDeltaThread’:
./include/linux/compiler_attributes.h:200:41: error: expected ‘)’
before ‘__attribute__’
 # define fallthrough__attribute__((__fallthrough__))
 ^
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1116:48:
note: in expansion of macro ‘fallthrough’
 # define RT_FALL_THROUGH()  __attribute__((fallthrough))
^~~
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1123:33:
note: in expansion of macro ‘RT_FALL_THROUGH’
 #define RT_FALL_THRU()  RT_FALL_THROUGH()
 ^~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4198:17:
note: in expansion of macro ‘RT_FALL_THRU’
 RT_FALL_THRU();
 ^~~~
In file included from
/var/lib/dkms/virtualbox/5.2.34/build/include/VBox/cdefs.h:29:0,
 from
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvInternal.h:34,
 from
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:33:
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1116:60:
error: expected identifier or ‘(’ before ‘)’ token
 # define RT_FALL_THROUGH()  __attribute__((fallthrough))
^
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1123:33:
note: in expansion of macro ‘RT_FALL_THROUGH’
 #define RT_FALL_THRU()  RT_FALL_THROUGH()
 ^~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4198:17:
note: in expansion of macro ‘RT_FALL_THRU’
 RT_FALL_THRU();
 ^~~~
In file included from ././include/linux/compiler_types.h:59:0,
 from :0:
./include/linux/compiler_attributes.h:200:41: error: expected ‘)’
before ‘__attribute__’
 # define fallthrough__attribute__((__fallthrough__))
 ^
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1116:48:
note: in expansion of macro ‘fallthrough’
 # define RT_FALL_THROUGH()  __attribute__((fallthrough))
^~~
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1123:33:
note: in expansion of macro ‘RT_FALL_THROUGH’
 #define RT_FALL_THRU()  RT_FALL_THROUGH()
 ^~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4227:17:
note: in expansion of macro ‘RT_FALL_THRU’
 RT_FALL_THRU();
 ^~~~
In file included from
/var/lib/dkms/virtualbox/5.2.34/build/include/VBox/cdefs.h:29:0,
 from
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvInternal.h:34,
 from
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:33:
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1116:60:
error: expected identifier or ‘(’ before ‘)’ token
 # define RT_FALL_THROUGH()  __attribute__((fallthrough))
^
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1123:33:
note: in expansion of macro ‘RT_FALL_THROUGH’
 #define RT_FALL_THRU()  RT_FALL_THROUGH()