virtual box и kbuild
olegon 10 сентября, 2008 - 13:36
Что-то появился kbuild в зависимостях, пытаюсь собрать (amd64 размаскировал), kbuild падает :(
* ERROR: dev-util/kbuild-0.1.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2570: Called die
* The specific snippet of code:
* kBuild/env.sh --full make -f bootstrap.gmk || die "bootstrap failed"
* The die message:
* bootstrap failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-util/kbuild-0.1.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/kbuild-0.1.3/temp/environment'.
есть лекарство?
»
- Для комментирования войдите или зарегистрируйтесь
нет ошибки - нет
нет ошибки - нет лекарства
/var/tmp/portage/dev-util/kbu
/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c:52:23: error: sys/acl.h: No such file or directory
/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c: In function ‘user_from_uid’:
/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c:110: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘uid_t’
/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c:107: warning: unused parameter ‘x’
/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c: In function ‘group_from_gid’:
/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c:119: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘gid_t’
/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c:116: warning: unused parameter ‘x’
/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c: In function ‘kmk_builtin_mv’:
/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c:126: warning: unused parameter ‘envp’
make[3]: *** [mv.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/out/linux.amd64/release/bootstrap/kmk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/out/linux.amd64/release/bootstrap/kmk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/out/linux.amd64/release/bootstrap/kmk'
make: *** [/var/tmp/portage/dev-util/kbuild-0.1.3/work/kBuild-0.1.3/out/linux.amd64/release/bootstrap/kmk/kmk] Error 2
kBuild/env.sh: info: rc=2: make -f bootstrap.gmk
Неужели у всех
Неужели у всех vbox собрался нормально?
Лучше всего
Лучше всего приводить первую ошибку. Но судя по тому что тут написано, скорее всего не хватает sys-apps/acl. Как действовать:
1. emerge --sync или аналоги (например emerge-delta-webrsync)
2. emerge -uDN --with-bdeps y world (обновление)
3. etc-update (или альтернативы)
4. revdep-rebuild
5. emerge -1 acl
6. emerge virtualbox-ose
действовать
действовать очень просто
--- kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c.orig 2008-09-13 18:38:44.000000000 +0400*/
+++ kBuild-0.1.3/src/kmk/kmkbuiltin/mv.c 2008-09-13 18:36:44.000000000 +0400
@@ -49,7 +49,7 @@
#include
#ifndef _MSC_VER
# ifndef __OS2__
-# include
+/*# include
# endif
# include
# include