Не собирается virtualbox (xf86-input-virtualbox проблемы)

Хотел поставить Virtualbox.
Не собирается x11-drivers/xf86-input-virtualbox-3.0.0, при сборке выдает следующее:

>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE ...
kmk -j5 TOOL_YASM_AS=yasm KBUILD_PATH=/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/kBuild
../../../Config.kmk:1675: /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/out/linux.amd64/release/GCCConfig.kmk: No such file or directory
../../../Config.kmk:3811: /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/out/linux.amd64/release/revision.kmk: No such file or directory
GEN {O}/revision.kmk
/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/out/linux.amd64/release/revision.kmk.ts -> /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/out/linux.amd64/release/revision.kmk
GEN {O}/GCCConfig.kmk

[...]

/lib/modules/2.6.30-gentoo-r1/build/arch/x86/include/asm/posix_types_64.h: In function ‘void __FD_ZERO(__kernel_fd_set*)’:
/lib/modules/2.6.30-gentoo-r1/build/arch/x86/include/asm/posix_types_64.h:82: error: expected primary-expression before ‘.’ token
/lib/modules/2.6.30-gentoo-r1/build/arch/x86/include/asm/posix_types_64.h:82: error: expected primary-expression before ‘.’ token
/lib/modules/2.6.30-gentoo-r1/build/arch/x86/include/asm/posix_types_64.h:82: error: expected primary-expression before ‘.’ token
In file included from /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/include/iprt/mem.h:38,
from /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/include/iprt/alloc.h:35,
from /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/src/VBox/Runtime/common/alloc/alloc.cpp:36:
/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/include/iprt/autores.h: In destructor ‘RTAutoRes::~RTAutoRes()’:
/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/include/iprt/autores.h:139: error: expected primary-expression before ‘.’ token

[...]

/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/src/VBox/Runtime/common/alloc/heapsimple.cpp:933: error: expected primary-expression before ‘.’ token
kmk: *** [/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o] Error 1
The failing command:
@g++ -c -O2 -nostdinc -iwithprefix include -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -Wno-sign-compare -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fno-common -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-reorder-blocks -fno-asynchronous-unwind-tables -funit-at-a-time -Wno-sign-compare -fno-exceptions -fno-rtti -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/src/VBox/Runtime/r0drv/linux -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/src/VBox/Runtime -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/src/VBox/Runtime/include -I/lib/modules/2.6.30-gentoo-r1/build/include -I/lib/modules/2.6.30-gentoo-r1/build/include/asm-i386/mach-default -I/lib/modules/2.6.30-gentoo-r1/build/include/asm-x86/mach-default -I/lib/modules/2.6.30-gentoo-r1/build/arch/x86/include -I/lib/modules/2.6.30-gentoo-r1/build/arch/x86/include/asm/mach-default -I/lib/modules/2.6.30-gentoo-r1/build/include -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/include -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -D__KERNEL__ -DMODULE -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_RT_R0 -DRT_WITH_VBOX -DRT_WITHOUT_NOCRT_WRAPPERS -DMODULE -DKBUILD_MODNAME=KBUILD_STR\(vboxdrv\) -DKBUILD_BASENAME=KBUILD_STR\(vboxdrv\) -DIN_SUP_R0 -Wp,-MD,/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o.dep -Wp,-MT,/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o -Wp,-MP -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/src/VBox/Runtime/common/alloc/heapsimple.cpp
kmk: *** Exiting with status 2
*
* ERROR: x11-drivers/xf86-input-virtualbox-3.0.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3187: Called die
* The specific snippet of code:
* MAKE="kmk" emake TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" || die "kmk failed";
* The die message:
* kmk failed

оверлей

переустанови system или просто GCC

а если не против чужих бинарников:

layman -a sabayon

(git должен быть установлен)

установи из оверлея этого

torn написал(а):переустанови

torn написал(а):
переустанови system или просто GCC

Это не помогло, хотя я и сомневался изначально что будет толк, но мало ли чем черт не шутит. )

torn написал(а):
а если не против чужих бинарников:

layman -a sabayon

(git должен быть установлен)

установи из оверлея этого

Именно от сюда и пытаюсь поставить, и собственно сабж. Т.к. в официальном дереве 3 версии нет.

xf86-input-virtualbox - оно

xf86-input-virtualbox - оно для гостевой машины. не для хоста.
убрать из INPUT_DEVICES и забить

P.S.: Linux - это красная таблетка :-) Windows - синяя...

Aladdin

Aladdin написал(а):
xf86-input-virtualbox - оно для гостевой машины. не для хоста.
убрать из INPUT_DEVICES и забить

Не совсем понял мысль.
в make.conf стоит: INPUT_DEVICES="keyboard mouse evdev"

кусок вашего

кусок вашего лога:

Цитата:
/var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/

P.S.: Linux - это красная таблетка :-) Windows - синяя...

# Log file generated by

# Log file generated by
#
# './configure --nofatal --disable-xpcom --disable-sdl-ttf --disable-pulse --disable-alsa --build-headless'
#

***** Checking environment *****
Determined build machine: linux.amd64, target machine: linux.amd64

***** Checking kBuild *****
found

***** Checking gcc *****
found version 4.3.3

***** Checking as86 *****
found version 0.16.17

***** Checking bcc *****
compiling the following source file:
int foo(a)
int a;
{
return 0;
}
using the following command line:
bcc -B /usr/bin/ -C-c -3 -S -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.c
found version 0.16.17

***** Checking iasl *****
found version 20090521

***** Checking xslt *****
found

***** Checking pthread *****
compiling the following source file:
#include
#include
extern "C" int main(void)
{
pthread_mutex_t mutex;
if (pthread_mutex_init(&mutex, NULL)) {
printf("pthread_mutex_init() failed\n");
return 1;
}
if (pthread_mutex_lock(&mutex)) {
printf("pthread_mutex_lock() failed\n");
return 1;
}
if (pthread_mutex_unlock(&mutex)) {
printf("pthread_mutex_unlock() failed\n");
return 1;
}
printf("found, OK.\n");
}
using the following command line:
g++ -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc "-lpthread"
executing the binary
found, OK.

***** Checking libIDL *****
found version 0.8.13

***** Checking ssl *****
compiling the following source file:
#include
#include
extern "C" int main(void)
{
printf("found version %s", OPENSSL_VERSION_TEXT);
#if OPENSSL_VERSION_NUMBER >= 0x0090700
printf(", OK.\n");
return 0;
#else
printf(", expected version 0.9.7 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc "-lcrypto"
executing the binary
found version OpenSSL 0.9.8k 25 Mar 2009, OK.

***** Checking zlib *****
compiling the following source file:
#include
#include
extern "C" int main(void)
{
printf("found version %s", ZLIB_VERSION);
#if ZLIB_VERNUM >= 0x1210
printf(", OK.\n");
return 0;
#else
printf(", expected version 1.2.1 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc "-lz "
executing the binary
found version 1.2.3, OK.

***** Checking libpng *****
compiling the following source file:
#include
#include
extern "C" int main(void)
{
printf("found version %s", PNG_LIBPNG_VER_STRING);
#if PNG_LIBPNG_VER >= 10205
printf(", OK.\n");
return 0;
#else
printf(", expected version 1.2.5 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc "-lpng "
executing the binary
found version 1.2.37, OK.

***** Checking libcurl *****
compiling the following source file:
#include
#include
extern "C" int main(void)
{
printf("found version %s", LIBCURL_VERSION);
#if 10000*LIBCURL_VERSION_MAJOR + 100*LIBCURL_VERSION_MINOR >= 71500
printf(", OK.\n");
return 0;
#else
printf(", expected version 7.15.0 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc "-lcurl "
executing the binary
found version 7.19.4, OK.

***** Checking python support *****
compiling the following source file:
#include
#include
extern "C" int main(void)
{
Py_Initialize();
printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
printf(", OK.\n");
return 0;
#else
printf(", expected version 2.3 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc -I/usr/include/python2.6 /usr/lib64/libpython2.6.so
In file included from /usr/include/python2.6/Python.h:8,
from /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc:2:
/usr/include/python2.6/pyconfig.h:1052:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4/x86_64-pc-linux-gnu/bits/os_defines.h:44,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h:40,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4/cstdio:48,
from /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc:1:
/usr/include/features.h:158:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.6/Python.h:8,
from /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc:2:
/usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4/x86_64-pc-linux-gnu/bits/os_defines.h:44,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h:40,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4/cstdio:48,
from /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc:1:
/usr/include/features.h:160:1: warning: this is the location of the previous definition
executing the binary
found version 2.6.2, OK.

***** Checking static stc++ library *****
compiling the following source file:
#include

extern "C" int main(void)
{
std::string s = "test";
return 0;
}
using the following command line:
g++ -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.a"
found

***** Checking Linux kernel sources *****
compiling the following source file:
#include
int printf(const char *format, ...);
int main(void)
{
printf("found version %d.%d.%d", LINUX_VERSION_CODE / 65536,
(LINUX_VERSION_CODE % 65536) / 256,
LINUX_VERSION_CODE % 256);
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,0)
printf(", OK.\n");
return 0;
#else
printf(", expected version 2.4.0 or higher\n");
return 1;
#endif
}
using the following command line:
gcc -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.c -nostdinc -I/lib/modules/2.6.30-gentoo-r1/build/include
executing the binary
found version 2.6.30, OK.

***** Checking libcap library *****
compiling the following source file:
#include
#include
#include

extern "C" int main(void)
{
char buf[1024];
cap_t caps = cap_get_proc();
snprintf(buf, sizeof(buf), "Current caps are '%s'\n", cap_to_text(caps, NULL));
return 0;
}
using the following command line:
g++ -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.cc "-lcap"
executing the binary

found

***** Checking compiler.h *****
compiler.h not found

***** Checking 32-bit support *****
compiling the following source file:
#include
int main(void)
{
return 0;
}
using the following command line:
gcc -m32 -O -Wall -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_out /var/tmp/portage/x11-drivers/xf86-input-virtualbox-3.0.0/work/VirtualBox-3.0.0_OSE/.tmp_src.c

Вы лучше расскажите зачем Вам

Вы лучше расскажите зачем Вам xf86-input-virtualbox?

kaf1 написал(а):Вы лучше

kaf1 написал(а):
Вы лучше расскажите зачем Вам xf86-input-virtualbox?

его и видео драйвер тянет за собой virtualbox-guest-additions и не более того.

А зачем вам

А зачем вам virtualbox-guest-additions? Вы разве систему внутри virtualbox ставите? Этот пакет как раз для такого случая, а не наоборот!

ccache/distcc иногда глючат.

ccache/distcc иногда глючат. Недавно при сборке виртуалбокса их пришлось выключить.

Ну проверил отключил ccache

Ну проверил отключил ccache это не помогло.
Я знаю, что глюки бывают, но виртуал бох собирал впервые.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".