[Bug 2009133] [NEW] ex2-hibinit-agent FTBFS on lunar

Simon Chopin 2009133 at bugs.launchpad.net
Fri Mar 3 09:24:05 UTC 2023


Public bug reported:

The package fails to build from source with the following error:

error: Multiple top-level packages discovered in a flat-layout: ['etc',
'agent', 'debian'].

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.
E: pybuild pybuild:388: clean: plugin distutils failed with: exit code=1: python3.11 setup.py clean

** Affects: ec2-hibinit-agent (Ubuntu)
     Importance: High
     Assignee: Simon Chopin (schopin)
         Status: In Progress


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ec2-hibinit-agent in Ubuntu.
https://bugs.launchpad.net/bugs/2009133

Title:
  ex2-hibinit-agent FTBFS on lunar

Status in ec2-hibinit-agent package in Ubuntu:
  In Progress

Bug description:
  The package fails to build from source with the following error:

  error: Multiple top-level packages discovered in a flat-layout:
  ['etc', 'agent', 'debian'].

  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.
  E: pybuild pybuild:388: clean: plugin distutils failed with: exit code=1: python3.11 setup.py clean

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2009133/+subscriptions




More information about the foundations-bugs mailing list