Похожие чаты

>>> Failed to emerge net-firewall/ufw-0.36.1, Log file: >>> '/var/tmp/portage/net-firewall/ufw-0.36.1/temp/build.log' *

Messages for package net-firewall/ufw-0.36.1:

* ERROR: net-firewall/ufw-0.36.1::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 4746: Called distutils-r1_src_compile
* environment, line 2186: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 772: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 4270: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3717: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3715: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1241: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 2168: Called distutils-r1_python_compile
* environment, line 1954: Called esetup.py 'build' '-j' '2'
* environment, line 2868: Called die
* The specific snippet of code:
* "${@}" || die -n;
*
* If you need support, post the output of `emerge --info '=net-firewall/ufw-0.36.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-firewall/ufw-0.36.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-firewall/ufw-0.36.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-firewall/ufw-0.36.1/temp/environment'.
* Working directory: '/var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_12'
* S: '/var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1' Вылазит ошибка , куда копать?

5 ответов

40 просмотров

cat /var/tmp/portage/net-firewall/ufw-0.36.1/temp/build.log Впусти кошку и покажи что она расскажет

РDV- Автор вопроса
Куроя
cat /var/tmp/portage/net-firewall/ufw-0.36.1/temp/...

pdv@dn7 ~ $ sudo cat /var/tmp/portage/net-firewall/ufw-0.36.1/temp/build.log * Package: net-firewall/ufw-0.36.1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux python_targets_python3_11 python_targets_python3_12 * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 6.6.30-gentoo-dist >>> Unpacking source... >>> Unpacking ufw-0.36.1.tar.gz to /var/tmp/portage/net-firewall/ufw-0.36.1/work >>> Source unpacked in /var/tmp/portage/net-firewall/ufw-0.36.1/work >>> Preparing source in /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1 ... * Applying ufw-0.36.1-move-path.patch ... [ ok ] * Applying ufw-0.36.1-dont-check-iptables.patch ... [ ok ] * Applying ufw-0.36.1-shebang.patch ... [ ok ] * Applying ufw-0.36-bash-completion.patch ... [ ok ] * Non-PEP517 builds are deprecated for ebuilds using plain distutils. * Please migrate to DISTUTILS_USE_PEP517=setuptools. * Please see Python Guide for more details: * https://projects.gentoo.org/python/guide/distutils.html * Will copy sources from /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1 * python3_11: copying to /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11 * python3_12: copying to /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_12 >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1 ... * python3_11: running distutils-r1_run_phase distutils-r1_python_compile python3.11 setup.py build -j 2 /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/setup.py:28: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.command.install import install as _install running build running build_py creating /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/build/lib/ufw copying staging/__init__.py -> /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/build/lib/ufw copying staging/backend.py -> /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/build/lib/ufw copying staging/backend_iptables.py -> /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/build/lib/ufw copying staging/common.py -> /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/build/lib/ufw copying staging/frontend.py -> /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/build/lib/ufw copying staging/util.py -> /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/build/lib/ufw copying staging/applications.py -> /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/build/lib/ufw copying staging/parser.py -> /var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_11/build/lib/ufw warning: build_py: byte-compiling is disabled, skipping.

РDV- Автор вопроса
Куроя
cat /var/tmp/portage/net-firewall/ufw-0.36.1/temp/...

* python3_12: running distutils-r1_run_phase distutils-r1_python_compile python3.12 setup.py build -j 2 Traceback (most recent call last): File "/var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_12/setup.py", line 28, in <module> from distutils.command.install import install as _install ModuleNotFoundError: No module named 'distutils' * ERROR: net-firewall/ufw-0.36.1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4746: Called distutils-r1_src_compile * environment, line 2186: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 772: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 4270: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3717: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3715: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1241: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 2168: Called distutils-r1_python_compile * environment, line 1954: Called esetup.py 'build' '-j' '2' * environment, line 2868: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=net-firewall/ufw-0.36.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-firewall/ufw-0.36.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-firewall/ufw-0.36.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ufw-0.36.1/temp/environment'. * Working directory: '/var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1-python3_12' * S: '/var/tmp/portage/net-firewall/ufw-0.36.1/work/ufw-0.36.1' pdv@dn7 ~ $

РDV
* python3_12: running distutils-r1_run_phase di...

У тебя собран dev-python/setuptools с PYTHON_TARGETS=python3_12 ?

РDV- Автор вопроса

Похожие вопросы

Обсуждают сегодня

Карта сайта