Package: dh-python
Version: 4.20190722
Severity: serious
Control: affects -1 src:python-asdf
Control: affects -1 src:python-can
Control: block 947020 by -1
X-Debbugs-Cc: umlae...@debian.org

Hi,

when I try to build the python-asdf package, some subdirectories are not
copied; namely `asdf/external`:

----------------------------8<----------------------------------
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python3 setup.py build
running build
running build_py
creating /build/python-asdf-2.4.2/.pybuild/cpython3_3.7_asdf/build/asdf
[...]
----------------------------8<----------------------------------

The subdir `asdf/external` which is in the source is not created and not
filled during this process.

However, when I run `python3 setup.py build` or `pybuild --build`
manually, everything is correct:

----------------------------8<----------------------------------
$ python3 setup.py build -vvv
running build
running build_py
creating build
creating build/lib
creating build/lib/asdf
copying asdf/yamlutil.py -> build/lib/asdf
[...]
creating build/lib/asdf/extern
copying asdf/extern/RangeHTTPServer.py -> build/lib/asdf/extern
copying asdf/extern/__init__.py -> build/lib/asdf/extern
copying asdf/extern/atomicfile.py -> build/lib/asdf/extern
copying asdf/extern/decorators.py -> build/lib/asdf/extern
[...]
----------------------------8<----------------------------------

This was also reported on the debian-python mailing list:

https://lists.debian.org/debian-python/2019/09/msg00040.html

A similar problem was reported on the mailing list for the python-can
package (IOhannes put into cc, and set python-can as affected):

https://lists.debian.org/debian-python/2019/09/msg00071.html

Best regards

Ole

Reply via email to