[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#822492: marked as done (texinfo: texi2dvi doesn't protect the ~ character in the second pass)



Your message dated Mon, 23 May 2016 06:34:30 +0000
with message-id <E1b4jRe-00038Y-Bc@franck.debian.org>
and subject line Bug#822492: fixed in texinfo 6.1.0.dfsg.1-7
has caused the Debian Bug report #822492,
regarding texinfo: texi2dvi doesn't protect the ~ character in the second pass
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 owner@bugs.debian.org
immediately.)


-- 
822492: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822492
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: e2fsprogs
Version: 1.43~WIP.2016.03.15-2
Severity: important
Tags: patch

Hello,

When building e2fsprogs from source having texlive installed, creation of
libext2fs.dvi with texi2dvi fails when running pdfTeX the second time (two-stage 
compile). This is caused by the ~ character in the source directory: e2fsprogs-
1.43~WIP.2016.03.15, resulting in a compile of the absolute path
file/home/user/.../e2fsprogs- 1.43~WIP.2016.03.15/doc/libext2fs.texinfo.

Since the ~ character is an active character, it has to be escaped, i.e. with
\~. The attached patch fixes this by compiling the source file locally in the
target directory .../e2fsprogs-1.43~WIP.2016.03.15/debian/BUILD-STD/doc using
the --clean option to texi2dvi. This is the same as the --tidy option including
cleaning out generated files from the compile.

On buildds this problem does not occur, since TeX is not a dependency for
e2fsprogs, only texinfo, and errors are ignored, see e.g.
https://buildd.debian.org/status/fetch.php?pkg=e2fsprogs&arch=amd64&ver=1.43~WIP
.2016.03.15-2&stamp=1458274729
...
texi2dvi /«PKGBUILDDIR»/doc/libext2fs.texinfo
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://tug.org/texlive,
or do a web search for TeX and your operating system or distro.

On Debian you can install a working TeX system with
  apt-get install texlive
Makefile:347: recipe for target 'libext2fs.dvi' failed
...

With the patch the .dvi file builds OK, but it is never installed. Only the
.info and .html versions are installed in the e2fslibs-dev package. However, it
would maybe be better to go on to build the .pdf file instead, by replacing
libext2fs.dvi by libext2fs.pdf in the all:: target list, and install that one.
(The patch is still needed.) Of course at the cost of needing e.g. texlive
installed also on the buildds. Otherwise the .dvi file might be removed from the
all:: target list.

Thanks!
Index: e2fsprogs-1.43~WIP.2016.03.15/doc/Makefile.in
===================================================================
--- e2fsprogs-1.43~WIP.2016.03.15.orig/doc/Makefile.in
+++ e2fsprogs-1.43~WIP.2016.03.15/doc/Makefile.in
@@ -11,7 +11,7 @@ INSTALL = @INSTALL@
 
 @MCONFIG@
 
-DVI=texi2dvi
+DVI=texi2dvi --clean
 DVIPS=dvips -o "$@"
 INFO=@MAKEINFO@
 HTML=makeinfo --html --no-split

--- End Message ---
--- Begin Message ---
Source: texinfo
Source-Version: 6.1.0.dfsg.1-7

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

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated texinfo 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: SHA512

Format: 1.8
Date: Mon, 23 May 2016 14:58:59 +0900
Source: texinfo
Binary: texinfo info install-info
Architecture: source amd64
Version: 6.1.0.dfsg.1-7
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description:
 info       - Standalone GNU Info documentation browser
 install-info - Manage installed documentation in info format
 texinfo    - Documentation system for on-line information and printed output
Closes: 822492 824876
Changes:
 texinfo (6.1.0.dfsg.1-7) unstable; urgency=medium
 .
   * fix unprotected ~ in second pass (Closes: #822492)
   * demote tl-fonts-recommended to suggests (Closes: #824876)
Checksums-Sha1:
 d23eb792b8f4f7d45691ea2a87cc326997a5fca1 1767 texinfo_6.1.0.dfsg.1-7.dsc
 9b0ee37a535a069a33ee6cd266fe0b6a1375372f 29888 texinfo_6.1.0.dfsg.1-7.debian.tar.xz
 3f7c06d85e4926b9c0a47998e7dbb7657bd510bc 237270 info-dbgsym_6.1.0.dfsg.1-7_amd64.deb
 5570cbad5212daa1fba6ac83366ab69323b30ae2 368378 info_6.1.0.dfsg.1-7_amd64.deb
 4e94ca1a87163ab3e74bc0ee618648c1bfed879c 37162 install-info-dbgsym_6.1.0.dfsg.1-7_amd64.deb
 03e78871b1920b72230d948659f216aa715e8269 292790 install-info_6.1.0.dfsg.1-7_amd64.deb
 effaad99affc6584b36dd3cf4e94b9ee87b6133d 17150 texinfo-dbgsym_6.1.0.dfsg.1-7_amd64.deb
 73f15af65b3648a82679cfaa052ea57edffe33df 1264166 texinfo_6.1.0.dfsg.1-7_amd64.deb
Checksums-Sha256:
 ae2443d8c1d3c8f1123f6908446640177b2e7e8d4e0dd742e549619a949f5d99 1767 texinfo_6.1.0.dfsg.1-7.dsc
 15ab62d9e911d8518f162271c2198cc180f6316d34800cc0daaac7d1e541baa9 29888 texinfo_6.1.0.dfsg.1-7.debian.tar.xz
 e9f96c71ed779d641a90be74c76e5ec4eb6e55855da80987476a985513746acf 237270 info-dbgsym_6.1.0.dfsg.1-7_amd64.deb
 51ae6fdebcfd56d1a3de1f566483fb3038b260dd7428b0e3cc519ca7ab10071a 368378 info_6.1.0.dfsg.1-7_amd64.deb
 0a326d0a3297a3328ed745a06878962b5474d6ec997421c90f73526c4d44d9be 37162 install-info-dbgsym_6.1.0.dfsg.1-7_amd64.deb
 40fb7e268f1a386401960f6725a5c6ee28fca28545341161d8066fa8dfd6a0b1 292790 install-info_6.1.0.dfsg.1-7_amd64.deb
 56c9bb7caba08cc1c3ac0a675a19c906ef66c3c6555672facd7fe7614147860f 17150 texinfo-dbgsym_6.1.0.dfsg.1-7_amd64.deb
 41a42ec77782ccb293c4588a1aedcfd82800596de38d30282659ea5a63541dbb 1264166 texinfo_6.1.0.dfsg.1-7_amd64.deb
Files:
 03c1b0adac27b298aee90392d21359be 1767 doc standard texinfo_6.1.0.dfsg.1-7.dsc
 328406ef63dfc898ef39b71d2dca6e87 29888 doc standard texinfo_6.1.0.dfsg.1-7.debian.tar.xz
 22057e023679d465f9ff64e767d361d2 237270 debug extra info-dbgsym_6.1.0.dfsg.1-7_amd64.deb
 b8b5fafbb2cdac0ee5836a37cce7ab74 368378 doc important info_6.1.0.dfsg.1-7_amd64.deb
 fb455da7466cfb43363a7b29afa156d0 37162 debug extra install-info-dbgsym_6.1.0.dfsg.1-7_amd64.deb
 22561d7b94d6cae17004b3470267b40e 292790 doc important install-info_6.1.0.dfsg.1-7_amd64.deb
 858848545724b6c0af825d7d2d0811da 17150 debug extra texinfo-dbgsym_6.1.0.dfsg.1-7_amd64.deb
 c8eaae4b41df45d11b040d3b6cb86052 1264166 text optional texinfo_6.1.0.dfsg.1-7_amd64.deb

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

iQEcBAEBCgAGBQJXQqMGAAoJEOwAuNrTImaqLNgH/AqECGcmXP1BUIpFjjnJHzuQ
hwNJE6uxbQoZQlVHyC+OYNe0AabNthNsmvbIoXCWEPpPzRDNqFD/kcauA5kmx5up
FEl3shhfsd+7W+TNlJHDoi7S2GE5bJakRifBTSo82YRsnkZY1jlwhw1CdOwzI/9U
Ex7S8UkmFzqXt8dzd2LqkZt760zrKVdS9QZhdJ54Gt9KADu5DOnDJ+Z8pMPG/4N5
WBE2SkUk2pI9zxoQ5MNu8J+42XmobC9IBjSw96mM8spnPHiadV9mDGc7CsaBdiQm
cLZ6Nkdf+JTJWGq9t0NUi/Buu+u0gad4z3qXgf4WqgNyBP6uTmktCOMhLLoK08w=
=fyrg
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: