Your message dated Sat, 03 Oct 2020 14:50:40 +0000
with message-id <[email protected]>
and subject line Bug#963798: fixed in srt 1.4.2-1
has caused the Debian Bug report #963798,
regarding srt: empty documentation package
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
963798: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963798
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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. Figuring this out, I noticed that libsrt-doc has no files
except of changelog.gz and copyright.
I fixed the issues and provided a doc-base registration of HTML manual.
Please review the attached patches and upload a backportvto buster once fixed.
Vasyl
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-108-generic (SMP w/6 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to
en_US.UTF-8), LANGUAGE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
>From ec7f2e365f90ea8d2d9e7b7f730f902d9b59b6b8 Mon Sep 17 00:00:00 2001
From: Vasyl Gello <[email protected]>
Date: Fri, 19 Jun 2020 08:09:12 +0000
Subject: [PATCH 1/4] debian: move python3-sphinx to Build-Depends-Indep
Fixes FTBFS edge case using pbuilder chroot, when dh_clean invoked
on host system to build source package fails to find debhelper sequence
provided by a package listed in Build-Depends and installed later inside
the chroot.
The solution is adapted from pynfft package:
https://salsa.debian.org/science-team/pynfft/-/commit/4c4c47acc0dba6ee0f3fa6cf4c3fc6f5555fbe41
The "override_dh_auto_build" conflicts with
"override_dh_auto_build-{arch,indep}", so
renaming "override_dh_auto_build" to "override_dh_auto_build-arch".
Thanks-To: to Mattia Rizzolo <[email protected]>
Signed-off-by: Vasyl Gello <[email protected]>
---
debian/control | 2 +-
debian/rules | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 063cae9..58c9ae8 100644
--- a/debian/control
+++ b/debian/control
@@ -8,8 +8,8 @@ Build-Depends: debhelper-compat (= 13),
libgnutls28-dev,
libssl-dev,
pkg-config,
- python3-sphinx,
tclsh
+Build-Depends-Indep: python3-sphinx
Standards-Version: 4.5.0
Section: libs
Homepage: https://github.com/Haivision/srt
diff --git a/debian/rules b/debian/rules
index 7a832ed..081541a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@ include /usr/share/dpkg/default.mk # provides DEB_VERSION
export USE_ENCLIB=gnutls
%:
- dh $@ --with sphinxdoc
+ dh $@
override_dh_auto_clean:
dh_clean
@@ -33,12 +33,14 @@ override_dh_auto_configure:
cd build-openssl && cmake .. $(CMAKE_OPTS) -DUSE_ENCLIB=openssl
cd build-gnutls && cmake .. $(CMAKE_OPTS) -DUSE_ENCLIB=gnutls
-DTARGET_srt=srt-gnutls
-override_dh_auto_build:
+override_dh_auto_build-arch:
#dh_auto_build --builddirectory=debian/build/openssl
#dh_auto_build --builddirectory=debian/build/gnutls
mkdir -p build-openssl build-gnutls
cd build-openssl && $(MAKE)
cd build-gnutls && $(MAKE)
+
+override_dh_auto_build-indep:
http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -c debian -bhtml
docs debian/html
override_dh_auto_install:
--
2.27.0
>From 6a0ca791c0c832dda75f6f00b0453b34933cf4ab Mon Sep 17 00:00:00 2001
From: Vasyl Gello <[email protected]>
Date: Sat, 27 Jun 2020 10:49:24 +0000
Subject: [PATCH 2/4] debian: install HTML documents to libsrt-doc
Documents generated by sphinx were installed nowhere,
and libsrt-doc had no document files at all.
Fixing it by providing debian/libsrt-doc.docs
Signed-off-by: Vasyl Gello <[email protected]>
---
debian/libsrt-doc.docs | 1 +
1 file changed, 1 insertion(+)
create mode 100644 debian/libsrt-doc.docs
diff --git a/debian/libsrt-doc.docs b/debian/libsrt-doc.docs
new file mode 100644
index 0000000..82dbdaf
--- /dev/null
+++ b/debian/libsrt-doc.docs
@@ -0,0 +1 @@
+debian/html
--
2.27.0
>From de168b1ed490295a7fde12fc5db79bee44992044 Mon Sep 17 00:00:00 2001
From: Vasyl Gello <[email protected]>
Date: Sat, 27 Jun 2020 11:48:23 +0000
Subject: [PATCH 3/4] debian: spare Sphinx doctrees into debian/doctrees
* Fixes Lintisn warning 'package-contains-python-doctree-file'
Signed-off-by: Vasyl Gello <[email protected]>
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 081541a..49603f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ export USE_ENCLIB=gnutls
override_dh_auto_clean:
dh_clean
- rm -rf CMakeFiles/ debian/html build-openssl build-gnutls
+ rm -rf CMakeFiles/ debian/doctrees debian/html build-openssl
build-gnutls
override_dh_auto_configure:
#dh_auto_configure --builddirectory=debian/build/openssl \
@@ -41,7 +41,7 @@ override_dh_auto_build-arch:
cd build-gnutls && $(MAKE)
override_dh_auto_build-indep:
- http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -c debian -bhtml
docs debian/html
+ http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -c debian -d
debian/doctrees -bhtml docs debian/html
override_dh_auto_install:
#dh_auto_install
--
2.27.0
>From 0e23af202b32cb2c00e6fe38fc8c8df2bd29fe7e Mon Sep 17 00:00:00 2001
From: Vasyl Gello <[email protected]>
Date: Sat, 27 Jun 2020 12:11:01 +0000
Subject: [PATCH 4/4] debian: Add doc-base registration
Signed-off-by: Vasyl Gello <[email protected]>
---
debian/libsrt-doc.doc-base | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 debian/libsrt-doc.doc-base
diff --git a/debian/libsrt-doc.doc-base b/debian/libsrt-doc.doc-base
new file mode 100644
index 0000000..e8a2295
--- /dev/null
+++ b/debian/libsrt-doc.doc-base
@@ -0,0 +1,10 @@
+Document: libsrt-doc
+Title: Documentation for SRT (Secure Reliable Transport) library
+Author: Haivision, Inc
+Abstract: This manual describes the Secure Reliable Transport
+ protocol and application development using libsrt.
+Section: Programming/C++
+
+Format: HTML
+Index: /usr/share/doc/libsrt-doc/html/API.html
+Files: /usr/share/doc/libsrt-doc/html/*.html
--
2.27.0
--- End Message ---
--- Begin Message ---
Source: srt
Source-Version: 1.4.2-1
Done: Federico Ceratto <[email protected]>
We believe that the bug you reported is fixed in the latest version of
srt, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Federico Ceratto <[email protected]> (supplier of updated srt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 03 Oct 2020 11:40:07 +0100
Source: srt
Architecture: source
Version: 1.4.2-1
Distribution: unstable
Urgency: medium
Maintainer: Federico Ceratto <[email protected]>
Changed-By: Federico Ceratto <[email protected]>
Closes: 963798
Changes:
srt (1.4.2-1) unstable; urgency=medium
.
* New upstream release (Closes: #963798)
Thanks to Vasyl Gello <[email protected]>
Checksums-Sha1:
d201dd5da4fba8078b955c5151ba07bb49e81f1e 2215 srt_1.4.2-1.dsc
ca01029dc42e95a8ce17f979b607295e126c813e 1538044 srt_1.4.2.orig.tar.gz
19d6d2e92853b28b2e6173b6af176f86ae0d9186 9044 srt_1.4.2-1.debian.tar.xz
005d9a4a09fadbec6d7486e1516279034c27da89 10556 srt_1.4.2-1_amd64.buildinfo
Checksums-Sha256:
e6233e3d63f1c67f6995124befad2b56948bc4732d7eab78c5857fd8438fd068 2215
srt_1.4.2-1.dsc
bd137ac8732838d5020e936ad32f3b2f34e2e82756e2cb0702e27261754ee895 1538044
srt_1.4.2.orig.tar.gz
ac1906caacc7305d4e93316b84a5349d33585fee3574efcf2c76c409007818e4 9044
srt_1.4.2-1.debian.tar.xz
d4cc9a448157f521e5e363eeb5b40d85486d454539507c6036c15aba734e753e 10556
srt_1.4.2-1_amd64.buildinfo
Files:
0cc5bd7769e959fc80e7b6e9fbb7ce3f 2215 libs optional srt_1.4.2-1.dsc
fbcaa7929324209fc46cb23f6c1d6468 1538044 libs optional srt_1.4.2.orig.tar.gz
ee9f256633466d20077be4df38ab9a9e 9044 libs optional srt_1.4.2-1.debian.tar.xz
900b7f464784141125c847f6f3d6851b 10556 libs optional
srt_1.4.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfKfd+zM5IUCMbyuWbzG8RPUXfaoFAl94jLsACgkQbzG8RPUX
fap4qg/+ImcHwssF0mkp/KqJ/JmsJBKl+JC0EMiH4mgZghcZs27RVRj+1dh/iyWG
bo8zSiH8BgMu4YxCDiaUdlXQLcHxBVLQLO6YAEB/q5G8rz0Bv8bARN+U3ILemTgV
6JJmNrdsPxR3hLHtHFp3y31Ffx8npEegY59V9K5Kk14kA6v1rOohmw4KvMMXwc22
GnYmuisayg0DgH1M0hKioJNFeBEtEsT06nYs4ZVMl7kfviX/97ZPJC1b/lEYut0X
d4zV8sSzhMIajjOYMjUSzrk6HtaUJVyVfiZDoa6rWBN4LqmX1qIVyQWheBydu56M
sJetmOP6pWYnY991H7j4S5N6GsP5l7jVRRuXpFTEnfMDCzAbiqqHDAsAGQSqOJnq
1/C/ZxmAQuahKaa9vyuaRMpolkqNPEnvQHZVH21R1emZfgdDMZDOg4NTyM83eaQo
wgu8rnZBz5Lki0NzlB8OH2dHdTf0KC6/NYfhAIqnlbk/QKS5BRDqkG8+UGbdJkp8
13Bc8wBJ4FtpTMRwyEcrnUxr4/H9EddcNKdz6aA4wpwhJf1ttTbAybiXDpZ6HXqk
4CySNPgkq7y8Pr1TcLnZIZdOS/iGjlzNQf3alHTg+l9iBcgClxgqj8Y1VP79p5Vv
Tf8CBpa10NIUi98G6M1Dce51DKGTQhJXpKq1dkP2vO9gVav9NlQ=
=4BoF
-----END PGP SIGNATURE-----
--- End Message ---