Debian Bug report logs - #844228
ebook-speaker: man page title is wrong if build directory isn't named ${package}-${version}

version graph

Package: src:ebook-speaker; Maintainer for src:ebook-speaker is Debian Accessibility Team <pkg-a11y-devel@alioth-lists.debian.net>;

Reported by: Daniel Shahaf <danielsh@apache.org>

Date: Sun, 13 Nov 2016 16:21:01 UTC

Severity: minor

Tags: fixed-upstream, patch, upstream

Found in version ebook-speaker/4.1.0-1

Fixed in version ebook-speaker/4.1.0-2

Done: Paul Gevers <elbrus@debian.org>

Bug is archived. No further changes may be made.

Forwarded to jos@jlemmens.nl

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, danielsh@apache.org, reproducible-builds@lists.alioth.debian.org, Debian Accessibility Team <debian-accessibility@lists.debian.org>:
Bug#844228; Package src:ebook-speaker. (Sun, 13 Nov 2016 16:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Shahaf <danielsh@apache.org>:
New Bug report received and forwarded. Copy sent to danielsh@apache.org, reproducible-builds@lists.alioth.debian.org, Debian Accessibility Team <debian-accessibility@lists.debian.org>. (Sun, 13 Nov 2016 16:21:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Daniel Shahaf <danielsh@apache.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ebook-speaker: man page title is wrong if build directory isn't named ${package}-${version}
Date: Sun, 13 Nov 2016 16:14:13 +0000
Source: ebook-speaker
Version: 4.1.0-1
Severity: minor
Tags: patch upstream
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath

Dear Maintainer,

Whilst working on the Reproducible Builds effort [0], we noticed
that ebook-speaker could not be built reproducibly, due to `txt2man -p`
parsing the last component of the build directory.

Patch attached.

 [0] https://reproducible-builds.org/

Cheers,

Daniel

P.S. The patch as written is upstreamable.  For Debian it might make
sense to use «$$(cd .. && dpkg-parsechangelog -SVersion)» so as to have
a more detailed version number.


[[[
diff --git a/debian/patches/build-path-agnostic.diff b/debian/patches/build-path-agnostic.diff
new file mode 100644
index 0000000..5d547f3
--- /dev/null
+++ b/debian/patches/build-path-agnostic.diff
@@ -0,0 +1,19 @@
+Description: Make the build reproducible
+  Avoid 'txt2man -p' because it parses the build path.
+Bug-Debian: https://bugs.debian.org/-1
+Last-Update: 2016-11-13
+
+--- a/man/Makefile.am
++++ b/man/Makefile.am
+@@ -3,7 +3,10 @@
+ all: eBook-speaker
+ 
+ eBook-speaker:
+-	@which txt2man > /dev/null && txt2man -p ${srcdir}/../doc/$@.txt > \
++	@which txt2man > /dev/null && txt2man \
++		-t 'eBook-speaker' -s 1 -v "Linux Reference Manual" \
++		-r "ebook-speaker-$(VERSION)" \
++		${srcdir}/../doc/$@.txt > \
+ 	       ${srcdir}/$@.1
+ 	@file ${srcdir}/$@.1 && \
+ 	  man2html ${srcdir}/$@.1 | tail -n +3 > ${srcdir}/../doc/$@.html
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..222072b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build-path-agnostic.diff
]]]



Set Bug forwarded-to-address to 'jos@jlemmens.nl'. Request was from Paul Gevers <elbrus@debian.org> to control@bugs.debian.org. (Sun, 13 Nov 2016 20:21:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Accessibility Team <debian-accessibility@lists.debian.org>:
Bug#844228; Package src:ebook-speaker. (Mon, 14 Nov 2016 18:33:42 GMT) (full text, mbox, link).


Acknowledgement sent to Jos Lemmens <jos@jlemmens.nl>:
Extra info received and forwarded to list. Copy sent to Debian Accessibility Team <debian-accessibility@lists.debian.org>. (Mon, 14 Nov 2016 18:33:42 GMT) (full text, mbox, link).


Message #12 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jos Lemmens <jos@jlemmens.nl>
To: Daniel Shahaf <danielsh@apache.org>, 844228@bugs.debian.org, Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#844228: ebook-speaker: man page title is wrong if build directory isn't named ${package}-${version}
Date: Mon, 14 Nov 2016 19:32:22 +0100
Is changed in the next release of eBook-speaker.

   Thanks.

On Sun, Nov 13, 2016 at 04:14:13PM +0000, Daniel Shahaf wrote:
> Source: ebook-speaker
> Version: 4.1.0-1                              
> Severity: minor
> Tags: patch upstream
> User: reproducible-builds@lists.alioth.debian.org
> Usertags: buildpath
>
> Dear Maintainer,
>
> Whilst working on the Reproducible Builds effort [0], we noticed
> that ebook-speaker could not be built reproducibly, due to `txt2man -p`
> parsing the last component of the build directory.
>
> Patch attached.
>
>  [0] https://reproducible-builds.org/
>
> Cheers,
>
> Daniel
>
> P.S. The patch as written is upstreamable.  For Debian it might make
> sense to use «$$(cd .. && dpkg-parsechangelog -SVersion)» so as to have
> a more detailed version number.
>
>
> [[[
> diff --git a/debian/patches/build-path-agnostic.diff b/debian/patches/build-path-agnostic.diff
> new file mode 100644
> index 0000000..5d547f3
> --- /dev/null
> +++ b/debian/patches/build-path-agnostic.diff
> @@ -0,0 +1,19 @@
> +Description: Make the build reproducible
> +  Avoid 'txt2man -p' because it parses the build path.
> +Bug-Debian: https://bugs.debian.org/-1
> +Last-Update: 2016-11-13
> +
> +--- a/man/Makefile.am
> ++++ b/man/Makefile.am
> +@@ -3,7 +3,10 @@
> + all: eBook-speaker
> +
> + eBook-speaker:
> +-	@which txt2man > /dev/null && txt2man -p ${srcdir}/../doc/$@.txt > \
> ++	@which txt2man > /dev/null && txt2man \
> ++		-t 'eBook-speaker' -s 1 -v "Linux Reference Manual" \
> ++		-r "ebook-speaker-$(VERSION)" \
> ++		${srcdir}/../doc/$@.txt > \
> + 	       ${srcdir}/$@.1
> + 	@file ${srcdir}/$@.1 && \
> + 	  man2html ${srcdir}/$@.1 | tail -n +3 > ${srcdir}/../doc/$@.html
> diff --git a/debian/patches/series b/debian/patches/series
> new file mode 100644
> index 0000000..222072b
> --- /dev/null
> +++ b/debian/patches/series
> @@ -0,0 +1 @@
> +build-path-agnostic.diff
> ]]]

--

   Sent from Ubuntu 16.10

   -------------------------------
   Jos Lemmens
   The Netherlands
   E-mail: jos@jlemmens.nl
   Homepage: www.jlemmens.nl



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Accessibility Team <debian-accessibility@lists.debian.org>:
Bug#844228; Package src:ebook-speaker. (Mon, 14 Nov 2016 18:33:44 GMT) (full text, mbox, link).


Acknowledgement sent to Jos Lemmens <jos@jlemmens.nl>:
Extra info received and forwarded to list. Copy sent to Debian Accessibility Team <debian-accessibility@lists.debian.org>. (Mon, 14 Nov 2016 18:33:44 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from Samuel Thibault <sthibault@debian.org> to control@bugs.debian.org. (Mon, 14 Nov 2016 18:48:07 GMT) (full text, mbox, link).


Reply sent to Paul Gevers <elbrus@debian.org>:
You have taken responsibility. (Sat, 10 Dec 2016 19:36:05 GMT) (full text, mbox, link).


Notification sent to Daniel Shahaf <danielsh@apache.org>:
Bug acknowledged by developer. (Sat, 10 Dec 2016 19:36:05 GMT) (full text, mbox, link).


Message #24 received at 844228-close@bugs.debian.org (full text, mbox, reply):

From: Paul Gevers <elbrus@debian.org>
To: 844228-close@bugs.debian.org
Subject: Bug#844228: fixed in ebook-speaker 4.1.0-2
Date: Sat, 10 Dec 2016 19:33:26 +0000
Source: ebook-speaker
Source-Version: 4.1.0-2

We believe that the bug you reported is fixed in the latest version of
ebook-speaker, 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 844228@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Gevers <elbrus@debian.org> (supplier of updated ebook-speaker 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 10 Dec 2016 10:09:29 +0100
Source: ebook-speaker
Binary: ebook-speaker
Architecture: source
Version: 4.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
Changed-By: Paul Gevers <elbrus@debian.org>
Description:
 ebook-speaker - eBook reader that reads aloud in a synthetic voice
Closes: 844228
Changes:
 ebook-speaker (4.1.0-2) unstable; urgency=medium
 .
   [ Samuel Thibault ]
   * control: Drop html2text suggestion, it is not used any more.
 .
   [ Paul Gevers ]
   * Prevent txt2man -p to pick up the build dir to enable reproducible
     builds. Will be fixed in next upstream release (Closes: #844228)
   * Fix spelling mistake in man page found by Lintian
   * Bump compat level to 10
Checksums-Sha1:
 e0581a5a2aa1b5e670332d0bafc370cdd1b77492 1732 ebook-speaker_4.1.0-2.dsc
 a26efae7cfc6f102cf8b579649c3270ceaa0b674 10124 ebook-speaker_4.1.0-2.debian.tar.xz
Checksums-Sha256:
 ed349d764e7657437093545b912a9d1d6070ec289348e576e253170bcccc6867 1732 ebook-speaker_4.1.0-2.dsc
 cd7839585fc4746afedcd6fd90fc4b1df7ecf4b181d502020cb34b019335b313 10124 ebook-speaker_4.1.0-2.debian.tar.xz
Files:
 41923af7c1697f882272ad1b6e519fb5 1732 sound optional ebook-speaker_4.1.0-2.dsc
 938c193300e4d31f1185ff3780e6bdaa 10124 sound optional ebook-speaker_4.1.0-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlhMUroACgkQnFyZ6wW9
dQqJ0ggAseHhhRIfliZs5Z8enemt+wELa1cX1hY0APxU3JPOfE2PpiSVHNuqlsni
xB2LSUIGXlCsr6rwuBUTmcH4arnQdT/RrUvE4p/zafU93b4WjOikIsgP4BJ2ao5v
bealmY5qEFElbOAgz05HcbfCWwfvTYjlW1asxMmK2dWTLdCT+nhiewno+fydR2L/
D6pEe826PVxBa/IKZZYFaYOu8jStkLZkTmjhZpvBGyQH5d3pT5GZ/fdhGnBYTevU
O2q7iaBWtUOljt+/taqv6eazBJyft4Sr/R9Bjt2IgiuvHpjJo0VhSBgOHpw6inpf
ScQXcKZEnBb8Y00yb+kdji4CIQZygQ==
=gwFV
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 27 Jan 2017 08:44:22 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:58:38 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.