Summary: | app-emulation/virtualbox-guest-additions-5.0.16 fails to build - VBox/Runtime/r3/linux/sysfs.cpp:308:48: error: 'makedev' was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tomáš Mózes <hydrapolic> |
Component: | [OLD] Unspecified | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anthonyryan1, bugs-gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 575232 | ||
Attachments: |
build.log.bz2
emerge-info.txt app-emulation:virtualbox-guest-additions-5.1.18:20170316-204305.log.bz2 emerge-history.txt environment etc.portage.tbz2 temp.tbz2 |
Description
Tomáš Mózes
2016-04-14 07:19:02 UTC
Created attachment 430358 [details]
build.log.bz2
The makedev macro is defined in sys/sysmacros.h: #define makedev(maj, min) gnu_dev_makedev (maj, min) With this patch it compiles and runs: --- VirtualBox-5.0.16/src/VBox/Runtime/r3/linux/sysfs.cpp.orig 2016-03-04 19:30:03.000000000 +0000 +++ VirtualBox-5.0.16/src/VBox/Runtime/r3/linux/sysfs.cpp 2016-04-14 07:23:14.659880738 +0000 @@ -43,6 +43,7 @@ #include <sys/sysctl.h> #include <sys/stat.h> #include <sys/fcntl.h> +#include <sys/sysmacros.h> #include <errno.h> /** @todo r=bird: This whole API should be rewritten to use IPRT status codes. *** Bug 579970 has been marked as a duplicate of this bug. *** confirming the bug as well as the working patch :) Hello there! Sorry, but how to add fix in mentioned file? Please help. Thank You same at the tinderbox image gnome-systemd_20170301-222559 Created attachment 467268 [details]
emerge-info.txt
Created attachment 467270 [details]
app-emulation:virtualbox-guest-additions-5.1.18:20170316-204305.log.bz2
Created attachment 467272 [details]
emerge-history.txt
Created attachment 467274 [details]
environment
Created attachment 467276 [details]
etc.portage.tbz2
Created attachment 467278 [details]
temp.tbz2
commit fbb4e03fbd53bd42e46d0ce64e66dca3d8154f79 (HEAD -> master, origin/master, origin/HEAD) Author: Kacper Kołodziej <kacper@kolodziej.in> Date: Wed Jun 14 22:06:17 2017 x11-drivers/xf86-video-virtualbox: fix bug 579910 Package-Manager: Portage-2.3.6, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4932 |