Skytools из ebuild [solved]

Доброго времени суток.
В Gentoo новичек, не ругайтесь ;)

Ставлю sktools 3.1.5. из ebuild (отсюда http://data.gpo.zugaina.org/barzog-overlay/dev-db/skytools/ )
Ядро 4.0.5-gentoo

при #ebuild skytools-3.1.5.ebuild compile

Appending /usr/local/portage to PORTDIR_OVERLAY...
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
>>> Existing ${T}/environment for 'skytools-3.1.5' will be sourced. Run
>>> 'clean' to start with a fresh environment.
>>> Checking skytools-3.1.5.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
 * checking ebuild checksums ;-) ...                                                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                              [ ok ]
>>> It appears that 'setup' has already executed for 'skytools-3.1.5'; skipping.
>>> Remove '/var/tmp/portage/dev-db/skytools-3.1.5/.setuped' to force setup.
>>> It appears that 'unpack' has already executed for 'skytools-3.1.5'; skipping.
>>> Remove '/var/tmp/portage/dev-db/skytools-3.1.5/.unpacked' to force unpack.
>>> It appears that 'prepare' has already executed for 'skytools-3.1.5'; skipping.
>>> Remove '/var/tmp/portage/dev-db/skytools-3.1.5/.prepared' to force prepare.
>>> It appears that 'configure' has already executed for 'skytools-3.1.5'; skipping.
>>> Remove '/var/tmp/portage/dev-db/skytools-3.1.5/.configured' to force configure.
>>> Compiling source in /var/tmp/portage/dev-db/skytools-3.1.5/work/skytools-3.1.5 ...
make -j1 
/usr/bin/python setup_skytools.py build
running build
running build_py
running build_ext
building 'skytools._cquoting' extension
i686-pc-linux-gnu-gcc -pthread -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Wstrict-prototypes -Wundef -Wformat=2 -Wuninitialized -fPIC -I/usr/include/python3.4 -c python/modules/cquoting.c -o build.sk3/temp.linux-i686-3.4/python/modules/cquoting.o
python/modules/cquoting.c: In function 'buf_pystr':
python/modules/cquoting.c:108:2: warning: implicit declaration of function 'PyString_FromStringAndSize' [-Wimplicit-function-declaration]
  res = PyString_FromStringAndSize((char *)buf->ptr + start_pos, buf->pos - start_pos);
  ^
python/modules/cquoting.c:108:6: warning: assignment makes pointer from integer without a cast [enabled by default]
  res = PyString_FromStringAndSize((char *)buf->ptr + start_pos, buf->pos - start_pos);
      ^
python/modules/cquoting.c: In function 'get_buffer':
python/modules/cquoting.c:130:2: warning: implicit declaration of function 'PyString_Check' [-Wimplicit-function-declaration]
  if (PyString_Check(obj) || PyUnicode_Check(obj)) {
  ^
python/modules/cquoting.c:131:3: warning: implicit declaration of function 'PyString_AsStringAndSize' [-Wimplicit-function-declaration]
   if (PyString_AsStringAndSize(obj, (char**)buf_p, &res) < 0)
   ^
python/modules/cquoting.c:138:16: error: 'PyBufferProcs' has no member named 'bf_getsegcount'
  if (bfp && bfp->bf_getsegcount && bfp->bf_getreadbuffer) {
                ^
python/modules/cquoting.c:138:39: error: 'PyBufferProcs' has no member named 'bf_getreadbuffer'
  if (bfp && bfp->bf_getsegcount && bfp->bf_getreadbuffer) {
                                       ^
python/modules/cquoting.c:139:10: error: 'PyBufferProcs' has no member named 'bf_getsegcount'
   if (bfp->bf_getsegcount(obj, NULL) == 1)
          ^
python/modules/cquoting.c:140:14: error: 'PyBufferProcs' has no member named 'bf_getreadbuffer'
    return bfp->bf_getreadbuffer(obj, 0, (void**)buf_p);
              ^
python/modules/cquoting.c: In function 'quote_literal_body':
python/modules/cquoting.c:209:3: warning: implicit declaration of function 'PyString_FromString' [-Wimplicit-function-declaration]
   return PyString_FromString("null");
   ^
python/modules/cquoting.c:209:3: warning: return makes pointer from integer without a cast [enabled by default]
python/modules/cquoting.c: In function 'quote_copy_body':
python/modules/cquoting.c:248:3: warning: return makes pointer from integer without a cast [enabled by default]
   return PyString_FromString("\\N");
   ^
python/modules/cquoting.c: In function 'do_dolq':
python/modules/cquoting.c:416:2: warning: return makes pointer from integer without a cast [enabled by default]
  return PyString_FromStringAndSize((char *)p1, p2 - p1);
  ^
python/modules/cquoting.c: In function 'get_elem':
python/modules/cquoting.c:692:2: warning: return makes pointer from integer without a cast [enabled by default]
  return PyString_FromStringAndSize((char *)buf, dst - buf);
  ^
python/modules/cquoting.c: In function 'db_urldecode':
python/modules/cquoting.c:749:3: warning: implicit declaration of function 'PyString_InternInPlace' [-Wimplicit-function-declaration]
   PyString_InternInPlace(&key);
   ^
python/modules/cquoting.c: At top level:
python/modules/cquoting.c:783:1: warning: no previous prototype for 'init_cquoting' [-Wmissing-prototypes]
 init_cquoting(void)
 ^
python/modules/cquoting.c: In function 'init_cquoting':
python/modules/cquoting.c:786:2: warning: implicit declaration of function 'Py_InitModule' [-Wimplicit-function-declaration]
  module = Py_InitModule("_cquoting", cquoting_methods);
  ^
python/modules/cquoting.c:786:9: warning: assignment makes pointer from integer without a cast [enabled by default]
  module = Py_InitModule("_cquoting", cquoting_methods);
         ^
python/modules/cquoting.c:788:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
Makefile:29: recipe for target 'python-all' failed
make: *** [python-all] Error 1
emake failed
 * ERROR: dev-db/skytools-3.1.5::x-portage failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 5194:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of `emerge --info '=dev-db/skytools-3.1.5::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/skytools-3.1.5::x-portage'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/skytools-3.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/skytools-3.1.5/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/skytools-3.1.5/work/skytools-3.1.5'
 * S: '/var/tmp/portage/dev-db/skytools-3.1.5/work/skytools-3.1.5'

Все ответы тут: https://github.com/markokr/skytools/issues/42

Попробуйте alias

Попробуйте
alias python=python2.7

Спасибо! помогло!

Спасибо! помогло!

Всё не

Всё не так...
/usr/tmp/portage/dev-db/skytools-3.1.5/work/skytools-3.1.5/config.mak
PYTHON = /usr/bin/python2.7
и всё...

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

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