Source: unattended-upgrades
Version: 2.9.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Sanity-check before upload.
> for i in $(md5sum data/50unattended-upgrades.* | grep -v md5sum | cut -d" " 
> -f1); do \
>       if ! grep -q $i data/50unattended-upgrades.md5sum ; then \
>               echo "ERROR: $i is missing from 
> data/50unattended-upgrades.md5sum"; \
>               exit 1; \
>       fi; \
> done
> if sort data/50unattended-upgrades.md5sum | uniq -c  | grep -v " 1 " ; then \
>       echo "ERROR:  ^ duplicate lines in data/50unattended-upgrades.md5sum"; \
>       exit 1; \
> fi
> set -e; for f in unattended-upgrade unattended-upgrade-shutdown; do \
>       ln -nsf $f $f.py; \
>       py3compile $f.py; \
>       rm -f $f.py; \
> done
> python3 setup.py clean -a
> error: Multiple top-level packages discovered in a flat-layout: ['pm', 'po', 
> 'man', 'data', 'debian', 'kernel', 'spread_tests'].
> 
> 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.
> make[1]: *** [debian/rules:33: override_dh_auto_clean] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/unattended-upgrades_2.9.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to