Source: libxmp
Version:  4.6.1-1
Severity: serious
Tags: FTBFS, patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear libxmp maintainer,
The package libxmp build failed on all arch.The crucial buildd log below:
```

ln -sf libxmp.so.4.6.1 lib/libxmp.so.4
ln -sf libxmp.so.4 lib/libxmp.so
rst2html docs/pdfdoc.rst --stylesheet docs/style.css > docs/libxmp.html
rst2man docs/manpage.rst > docs/libxmp.3
rst2pdf docs/pdfdoc.rst -c --smart-quotes=1 -s docs/custom.style
--footer="###Page###" -o docs/libxmp.pdf
/bin/sh: 1: rst2pdf: not found
make[2]: *** [docs/Makefile:34: docs/libxmp.pdf] Error 127
make[2]: Leaving directory '/build/reproducible-path/libxmp-4.6.1'
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/libxmp-4.6.1'
make: *** [debian/rules:6: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2

```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=libxmp&arch=riscv64&ver=4.6.1-1&stamp=1736099789&raw=0

My solution to this issue:
  The build failure was caused by the missing dependency "rst2pdf," so the
issue can be resolved by adding "rst2pdf" as a dependency in debian/control.
I have tested this solution locally, and it works well.The debpatch is in
the attachment.Please let me know whether this solution can be accepted.
Gui-Yue
Best Regards

Attachment: fix_libxmp_build_failure.patch
Description: Binary data

Reply via email to