On Sun, 20 Nov 2022 14:55:17 -0800 Vagrant Cascadian <vagrant@reproducible-
builds.org> wrote:
> Source: python-tomli-w
> Severity: normal
> User: reproducible-bui...@lists.alioth.debian.org
> Usertags: buildpath
> X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
> 
> The build path is present in directories of the python3-tomli-w .deb:
> 
>   https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/
diffoscope-results/python-tomli-w.html
> 
>   ./build/1st/python-tomli-w-1.0.0/debian/python3-tomli-w/usr/bin/
>   vs.
>   ./build/2/python-tomli-w-1.0.0/2nd/debian/python3-tomli-w/usr/bin/
> 
> I suspect a toolchain change of some kind, as it only recently started
> failing with 1.0.0-1; the first failure to build reproducibly is from
> 2022-11-18:
> 
>   https://tests.reproducible-builds.org/debian/history/python-tomli-w.html
> 
> At first, I suspected a change in "flit" due to the timing of when the
> failure started happening, but I tried downgrading to the older version
> and it exhibited the same issue, so that seems unlikely.
> 
> The folks on #debian-python suggest it is using an older build system,
> and possibly updating to the newer build system would help fix or
> troubleshoot the issue.
> 
> Thanks for maintaining python-tomli-w!

It looks like it is related to python3.11.  Stopping the build after 
dh_auto_build and as you can see, they stray /usr/bin directory is present for 
the 3.11 build and not the 3.10 build:

python-tomli-w-1.0.0$ ls -R .pybuild/
.pybuild/:
cpython3_3.10  cpython3_3.11

.pybuild/cpython3_3.10:
build

.pybuild/cpython3_3.10/build:
home  tomli_w  tomli_w-1.0.0.dist-info

.pybuild/cpython3_3.10/build/home:
python-tomli-w-1.0.0

.pybuild/cpython3_3.10/build/home/python-tomli-w-1.0.0:

.pybuild/cpython3_3.10/build/tomli_w:
__init__.py  _writer.py  py.typed

.pybuild/cpython3_3.10/build/tomli_w-1.0.0.dist-info:
INSTALLER  METADATA  RECORD  REQUESTED

.pybuild/cpython3_3.11:
build

.pybuild/cpython3_3.11/build:
tomli_w  tomli_w-1.0.0.dist-info  usr

.pybuild/cpython3_3.11/build/tomli_w:
__init__.py  _writer.py  py.typed

.pybuild/cpython3_3.11/build/tomli_w-1.0.0.dist-info:
INSTALLER  METADATA  RECORD  REQUESTED

.pybuild/cpython3_3.11/build/usr:
bin

.pybuild/cpython3_3.11/build/usr/bin:

Not clear if it's an intentional change in 3.11 that dh-python needs to adapt 
to or a bug.

Scott K

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

Reply via email to