• [gentoo-user] problem emerging virt-manager 4.0.0

    From John Covici@21:1/5 to All on Wed Apr 6 14:40:01 2022
    Hi. In today's world update, I get the following strange output when
    trying to emerge virt-manager. I am not even sure what this means.

    Configuring source in
    /var/tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0 >>> ...
    python3.9 setup.py configure --default-graphics=spice
    error: Multiple top-level packages discovered in a flat-layout: ['po',
    'ui', 'man', 'data', 'virtinst', 'virtManager'].

    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: app-emulation/virt-manager-4.0.0::gentoo failed (configure
    phase):
    * (no error message)

    Thanks in advance for any suggestions.

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David M. Fellows@21:1/5 to All on Wed Apr 6 17:50:01 2022
    Hi. In today's world update, I get the following strange output when
    trying to emerge virt-manager. I am not even sure what this means.

    Small consolation, no great help, but you are not alone. See https://bugs.gentoo.org/836645

    From the bug title maybe downgrading dev-python/setuptools would be
    a workaround.

    DaveF

    Configuring source in
    /var/tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0 >>>> ...
    python3.9 setup.py configure --default-graphics=spice
    error: Multiple top-level packages discovered in a flat-layout: ['po',
    'ui', 'man', 'data', 'virtinst', 'virtManager'].

    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: app-emulation/virt-manager-4.0.0::gentoo failed (configure
    phase):
    * (no error message)

    Thanks in advance for any suggestions.

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)