Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718108 - app-emulation/virtualbox-guest-additions-6.1.6 fails to build with ERROR: invalid conversion from ‘int (*)(RTTHREAD, void*)’ {aka ‘int (*)(RTTHREADINT*, void*)’} to ‘PFNRTTHREAD’ {aka ‘int (__attribute__((regparm(0), cdecl)) *)(RTTHREADINT*, void*)
Summary: app-emulation/virtualbox-guest-additions-6.1.6 fails to build with ERROR: inv...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-19 00:53 UTC by Alex Buell
Modified: 2020-05-20 09:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge -info (bug-info,5.54 KB, text/plain)
2020-04-19 00:55 UTC, Alex Buell
Details
build log (gzipped) (build.log.gz,101.65 KB, application/gzip)
2020-04-19 00:57 UTC, Alex Buell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Buell 2020-04-19 00:53:20 UTC
On i586, app-emulation/virtuabox-guest-additions-6.1.6 fails to build with the following error:

var/tmp/portage/app-emulation/virtualbox-guest-additions-6.1.6/work/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp: In function ‘int startX11MonitorThread()’:
/var/tmp/portage/app-emulation/virtualbox-guest-additions-6.1.6/work/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp:313:49: error: invalid conversion from ‘int (*)(RTTHREAD, void*)’ {aka ‘int (*)(RTTHREADINT*, void*)’} to ‘PFNRTTHREAD’ {aka ‘int (__attribute__((regparm(0), cdecl)) *)(RTTHREADINT*, void*)’} [-fpermissive]
  313 |         rc = RTThreadCreate(&mX11MonitorThread, x11MonitorThreadFunction, 0, 0,
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 int (*)(RTTHREAD, void*) {aka int (*)(RTTHREADINT*, void*)}
In file included from /var/tmp/portage/app-emulation/virtualbox-guest-additions-6.1.6/work/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp:49:
/var/tmp/portage/app-emulation/virtualbox-guest-additions-6.1.6/work/VirtualBox-6.1.6/include/iprt/thread.h:279:59: note:   initializing argument 2 of ‘int RTThreadCreate(PRTTHREAD, PFNRTTHREAD, void*, size_t, RTTHREADTYPE, unsigned int, const char*)’
  279 | RTDECL(int) RTThreadCreate(PRTTHREAD pThread, PFNRTTHREAD pfnThread, void *pvUser, size_t cbStack,
      |                                               ~~~~~~~~~~~~^~~~~~~~~


Reproducible: Always
Comment 1 Alex Buell 2020-04-19 00:55:13 UTC
Created attachment 633642 [details]
emerge -info
Comment 2 Alex Buell 2020-04-19 00:57:08 UTC
Created attachment 633648 [details]
build log (gzipped)
Comment 3 Viktor Yu. Kovalskii 2020-05-20 03:19:34 UTC
Maybe these upstream bug is relevant for these bug?

https://www.virtualbox.org/ticket/19494

Bug should be fixed at 6.1.8 (May 15th, 2020 VirtualBox 6.1.8 released!)
Comment 4 Viktor Yu. Kovalskii 2020-05-20 09:29:36 UTC
Maybe these upstream bug is relevant for these bug?

https://www.virtualbox.org/ticket/19494

Bug should be fixed at 6.1.8 (May 15th, 2020 VirtualBox 6.1.8 released!)