Control: tags -1 - ftbfs
Control: retitle -1 srt: empty documentation package

On 2020-06-27 13:04:06 +0000, Vasyl Gello wrote:
> Source: srt
> Version: 1.4.1-5
> Severity: serious
> Tags: patch ftbfs
> Justification: fails to build from source (but built successfully in the past)
> 
> Dear colleagues,
> 
> Doing a no-change rebuild of srt for buster-backports/amd64, I noticed that
> 'gbp buildpackage' fails on 'dh clean --with sphinxdoc':
> 
> dpkg-checkbuilddeps: error: Unmet build dependencies: cmake chrpath help2man 
> libgnutls28-dev libssl-dev pkg-config tclsh
> .[1;33mW: Unmet build-dependency in source.[0m
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: applying 001-multiarch-rpath.patch
> dh clean --with sphinxdoc
> dh: error: unable to load addon sphinxdoc: Can't locate 
> Debian/Debhelper/Sequence/sphinxdoc.pm in @INC (you may need to install the 
> Debian::Debhelper::Sequence
> BEGIN failed--compilation aborted at (eval 14) line 1.
> 
> make: *** [debian/rules:21: clean] Error 25
> 
> The core issue is that sphinxdoc is installed in chroot while dh_clean is 
> first
> called on host system.

Build-Depends and Build-Conflicts must be satisfied for the clean
target. When you run that outside of the pbuilder chroot, you have to
install Build-Depends there as well. See
https://www.debian.org/doc/debian-policy/ch-relationships.html#relationships-between-source-and-binary-packages-build-depends-build-depends-indep-build-depends-arch-build-conflicts-build-conflicts-indep-build-conflicts-arch

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to