Source: chiaki
Version: 2.1.0-1.1
Severity: serious
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: i...@hack3r.moe

Dear maintainer(s),

chiaki failed to build due to Python module `pkg_resources` not found:

```
[  4%] Generating takion.pb.c, takion.pb.h
cd /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/lib/protobuf && /usr/bin/python3 
/usr/bin/nanopb_generator.py 
/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/lib/protobuf/takion.pb
Traceback (most recent call last):
  File "/usr/bin/nanopb_generator.py", line 53, in <module>
    import proto
  File "/usr/lib/python3/dist-packages/proto/__init__.py", line 10, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
make[3]: *** [lib/protobuf/CMakeFiles/chiaki-pb.dir/build.make:77: 
lib/protobuf/takion.pb.c] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:199: 
lib/protobuf/CMakeFiles/chiaki-pb.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
```

Full buildd log: 
https://buildd.debian.org/status/fetch.php?pkg=chiaki&arch=riscv64&ver=2.1.0-1.1%2Bb3&stamp=1671597777&raw=0

I've included a patch that adds python3-setuptools to d/control, fixing FTBFS.
If more help is needed, please let me know.

Cheers,
Eric
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Bartosz Fenski <fe...@debian.org>
-Build-Depends: debhelper-compat (= 13), cmake, pkg-config, libopus-dev, 
qtmultimedia5-dev, libqt5svg5-dev, libsdl2-dev, libavcodec-dev, libswscale-dev, 
libjerasure-dev, libnanopb-dev, libssl-dev, protobuf-compiler, 
python3-protobuf, libevdev-dev, libudev-dev, libqt5opengl5-dev, python3-dev, 
libgl1-mesa-dev, imagemagick, librsvg2-bin, libpthread-stubs0-dev, 
libpthreadpool-dev, nanopb
+Build-Depends: debhelper-compat (= 13), cmake, pkg-config, libopus-dev, 
qtmultimedia5-dev, libqt5svg5-dev, libsdl2-dev, libavcodec-dev, libswscale-dev, 
libjerasure-dev, libnanopb-dev, libssl-dev, protobuf-compiler, 
python3-protobuf, libevdev-dev, libudev-dev, libqt5opengl5-dev, python3-dev, 
libgl1-mesa-dev, imagemagick, librsvg2-bin, libpthread-stubs0-dev, 
libpthreadpool-dev, nanopb, python3-setuptools
 Standards-Version: 4.5.1
 Homepage: https://git.sr.ht/~thestr4ng3r/chiaki
 Rules-Requires-Root: no

Reply via email to