-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
dev-python/pyzmq-26.0.0 fails with
error: Multiple top-level packages discovered in a flat-layout: ['zmq', 'perf', 'cmake', 'packaging', 'RELICENSE', 'mypy_tests', 'buildutils'].
>>> Emerging (4 of 7) dev-python/pyzmq-26.0.0::python-modules-kit >>> Failed to emerge dev-python/pyzmq-26.0.0, Log file: >>> '/var/tmp/portage/dev-python/pyzmq-26.0.0/temp/build.log' >>> Jobs: 3 of 7 complete, 1 failed Load avg: 1.60, 1.32, 0.87 * Package: dev-python/pyzmq-26.0.0 * Repository: python-modules-kit * USE: amd64 elibc_glibc kernel_linux python_targets_python3_9 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pyzmq-26.0.0.tar.gz to /var/tmp/portage/dev-python/pyzmq-26.0.0/work >>> Source unpacked in /var/tmp/portage/dev-python/pyzmq-26.0.0/work >>> Preparing source in /var/tmp/portage/dev-python/pyzmq-26.0.0/work/pyzmq-26.0.0 ... * Build system packages: * dev-python/setuptools : 69.5.1 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pyzmq-26.0.0/work/pyzmq-26.0.0 ... * Using python3.9 in global scope * python3_9: running distutils-r1_run_phase python_configure_all >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pyzmq-26.0.0/work/pyzmq-26.0.0 ... * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 64 error: Multiple top-level packages discovered in a flat-layout: ['zmq', 'perf', 'cmake', 'packaging', 'RELICENSE', 'mypy_tests', 'buildutils']. To avoid accidental inclusion of unwanted files or directories, setuptools will not proceed with this build. If you are trying to create a single distribution with multiple packages on purpose, you should not rely on automatic discovery. Instead, consider the following options: 1. set up custom discovery (`find` directive with `include` or `exclude`) 2. use a `src-layout` 3. explicitly set `py_modules` or `packages` with a list of names To find more information, look for "package discovery" on setuptools docs. * ERROR: dev-python/pyzmq-26.0.0::python-modules-kit failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 4014: Called distutils-r1_src_compile * environment, line 1744: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 701: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3534: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2953: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2951: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1150: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1726: Called distutils-r1_python_compile * environment, line 1533: Called esetup.py 'build' '-j' '64' * environment, line 2363: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/pyzmq-26.0.0::python-modules-kit'`, * the complete build log and the output of `emerge -pqv '=dev-python/pyzmq-26.0.0::python-modules-kit'`. * The complete build log is located at '/var/tmp/portage/dev-python/pyzmq-26.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyzmq-26.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pyzmq-26.0.0/work/pyzmq-26.0.0' * S: '/var/tmp/portage/dev-python/pyzmq-26.0.0/work/pyzmq-26.0.0' * Messages for package dev-python/pyzmq-26.0.0: * ERROR: dev-python/pyzmq-26.0.0::python-modules-kit failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 4014: Called distutils-r1_src_compile * environment, line 1744: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 701: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3534: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2953: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2951: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1150: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1726: Called distutils-r1_python_compile * environment, line 1533: Called esetup.py 'build' '-j' '64' * environment, line 2363: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/pyzmq-26.0.0::python-modules-kit'`, * the complete build log and the output of `emerge -pqv '=dev-python/pyzmq-26.0.0::python-modules-kit'`. * The complete build log is located at '/var/tmp/portage/dev-python/pyzmq-26.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyzmq-26.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pyzmq-26.0.0/work/pyzmq-26.0.0' * S: '/var/tmp/portage/dev-python/pyzmq-26.0.0/work/pyzmq-26.0.0' * GNU info directory index is up-to-date. * After world updates, it is important to remove obsolete packages with * emerge --depclean. Refer to `man emerge` for more information.