tf-models-official-2.5.0 build failure #300

Open
opened 6 months ago by onkelbeh · 0 comments
Owner
root@g18-hasstest:/usr/portage/homeassistant/dev-python/tf-models-official # rpmm -tc
 * generating manifest: dev-python/tf-models-official::HomeAssistantRepository

 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] dev-python/tf-models-official-2.5.0::HomeAssistantRepository  USE="test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/tf-models-official-2.5.0::HomeAssistantRepository
>>> Failed to emerge dev-python/tf-models-official-2.5.0, Log file:
>>>  '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.39, 0.42, 0.46
 * Package:    dev-python/tf-models-official-2.5.0:0
 * Repository: HomeAssistantRepository
 * Maintainer: b@edevau.net
 * Upstream:   no-reply@google.com
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 test userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking tf-models-official-2.5.0.tar.gz to /var/tmp/portage/dev-python/tf-models-official-2.5.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/tf-models-official-2.5.0/work
>>> Preparing source in /var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0 ...
 * Build system packages:
 *   dev-python/setuptools         : 65.3.0
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0 ...
 * python3_10: running distutils-r1_run_phase distutils-r1_python_compile
python3.10 -c from setuptools import setup; setup() build -j 6
error: Multiple top-level packages discovered in a flat-layout: ['orbit', 'official'].

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/tf-models-official-2.5.0::HomeAssistantRepository failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  122:  Called src_compile
 *   environment, line 3303:  Called distutils-r1_src_compile
 *   environment, line 1533:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  679:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2995:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2558:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2556:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1006:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1515:  Called distutils-r1_python_compile
 *   environment, line 1324:  Called esetup.py 'build' '-j' '6'
 *   environment, line 2097:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 *
 * If you need support, post the output of `emerge --info '=dev-python/tf-models-official-2.5.0::HomeAssistantRepository'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/tf-models-official-2.5.0::HomeAssistantRepository'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0'
 * S: '/var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0'

 * Messages for package dev-python/tf-models-official-2.5.0:

 * ERROR: dev-python/tf-models-official-2.5.0::HomeAssistantRepository failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  122:  Called src_compile
 *   environment, line 3303:  Called distutils-r1_src_compile
 *   environment, line 1533:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  679:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2995:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2558:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2556:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1006:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1515:  Called distutils-r1_python_compile
 *   environment, line 1324:  Called esetup.py 'build' '-j' '6'
 *   environment, line 2097:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 *
 * If you need support, post the output of `emerge --info '=dev-python/tf-models-official-2.5.0::HomeAssistantRepository'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/tf-models-official-2.5.0::HomeAssistantRepository'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0'
 * S: '/var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0'
Emerge failed, commit skipped.
``` root@g18-hasstest:/usr/portage/homeassistant/dev-python/tf-models-official # rpmm -tc * generating manifest: dev-python/tf-models-official::HomeAssistantRepository * IMPORTANT: 2 config files in '/etc/portage' need updating. * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS * sections of the emerge man page to learn how to update config files. Local copy of remote index is up-to-date and will be used. These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] dev-python/tf-models-official-2.5.0::HomeAssistantRepository USE="test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-python/tf-models-official-2.5.0::HomeAssistantRepository >>> Failed to emerge dev-python/tf-models-official-2.5.0, Log file: >>> '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/build.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.39, 0.42, 0.46 * Package: dev-python/tf-models-official-2.5.0:0 * Repository: HomeAssistantRepository * Maintainer: b@edevau.net * Upstream: no-reply@google.com * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tf-models-official-2.5.0.tar.gz to /var/tmp/portage/dev-python/tf-models-official-2.5.0/work >>> Source unpacked in /var/tmp/portage/dev-python/tf-models-official-2.5.0/work >>> Preparing source in /var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0 ... * Build system packages: * dev-python/setuptools : 65.3.0 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile python3.10 -c from setuptools import setup; setup() build -j 6 error: Multiple top-level packages discovered in a flat-layout: ['orbit', 'official']. 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/tf-models-official-2.5.0::HomeAssistantRepository failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3303: Called distutils-r1_src_compile * environment, line 1533: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 679: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2995: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2558: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2556: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1006: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1515: Called distutils-r1_python_compile * environment, line 1324: Called esetup.py 'build' '-j' '6' * environment, line 2097: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=dev-python/tf-models-official-2.5.0::HomeAssistantRepository'`, * the complete build log and the output of `emerge -pqv '=dev-python/tf-models-official-2.5.0::HomeAssistantRepository'`. * The complete build log is located at '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0' * S: '/var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0' * Messages for package dev-python/tf-models-official-2.5.0: * ERROR: dev-python/tf-models-official-2.5.0::HomeAssistantRepository failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3303: Called distutils-r1_src_compile * environment, line 1533: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 679: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2995: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2558: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2556: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1006: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1515: Called distutils-r1_python_compile * environment, line 1324: Called esetup.py 'build' '-j' '6' * environment, line 2097: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=dev-python/tf-models-official-2.5.0::HomeAssistantRepository'`, * the complete build log and the output of `emerge -pqv '=dev-python/tf-models-official-2.5.0::HomeAssistantRepository'`. * The complete build log is located at '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/tf-models-official-2.5.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0' * S: '/var/tmp/portage/dev-python/tf-models-official-2.5.0/work/tf-models-official-2.5.0' Emerge failed, commit skipped. ```
onkelbeh self-assigned this 6 months ago
onkelbeh added the Bug label 5 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#300
Loading…
There is no content yet.