Bug#1022496: pulsemixer: FTBFS: error: Multiple top-level packages discovered in a flat-layout: ['snap', 'debian'].

2022-12-03 Thread Diederik de Haas
Control: tag -1 upstream patch
Control: forwarded -1 https://github.com/GeorgeFilipkin/pulsemixer/pull/71

On Sun, 23 Oct 2022 15:41:02 +0200 Lucas Nussbaum  wrote:
> Source: pulsemixer
> Version: 1.5.1-1
> Severity: serious
> Justification: FTBFS

I submitted a patch upstream, but upstream seems kind of dead.

So I also created a MR on salsa with the same fix:
https://salsa.debian.org/debian/pulsemixer/-/merge_requests/1

signature.asc
Description: This is a digitally signed message part.


Bug#1022496: pulsemixer: FTBFS: error: Multiple top-level packages discovered in a flat-layout: ['snap', 'debian'].

2022-10-23 Thread Lucas Nussbaum
Source: pulsemixer
Version: 1.5.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>  fakeroot debian/rules clean
> dh clean --with=python3 --buildsystem=pybuild
>dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py clean 
> error: Multiple top-level packages discovered in a flat-layout: ['snap', 
> '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:379: clean: plugin distutils failed with: exit code=1: 
> python3.10 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.10 returned 
> exit code 13
> make: *** [debian/rules:4: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/pulsemixer_1.5.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20221023=lu...@debian.org=1=1=1=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.