Source: flite
Version: 2.2-5
Severity: important
Tags: ftbfs patch
Usertags: texinfo70

the package fails to build from source when using TeX Info 7.0.x. This
happens due to this change:

,----
| 7.0 (7 November 2022)
| * texi2any
|  . HTML output:
|      . use manual_name_html as output directory for split HTML instead of
|        manual_name or manual_name.html
`----

The easiest solution is probably to add option "--output=flite" to
the "texi2any" call in doc/Makefile. A proposed patch is attached,
please make sure it does not break compatibility to TeXInfo 6.8.

For now TeXInfo 7.0 is available in experimental. This bug is not RC
for now, but after bookworm we'll upload TeXInfo 7.0 to unstable and
the bug will become RC.

Hilmar

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
sigmentation fault
--- flite-2.2.orig/doc/Makefile
+++ flite-2.2/doc/Makefile
@@ -50,7 +50,7 @@
 flite.html: flite.texi
        @ if [ ! -d html ] ; \
           then mkdir -p html ; fi
-       (cd html; texi2any --set-customization-variable TEXI2HTML=1  
--split=chapter ../flite.texi)
+       (cd html; texi2any --set-customization-variable TEXI2HTML=1 
--output=flite --split=chapter ../flite.texi)
        @ if [ -d html/flite ] ; \
          then mv html/flite/*.html html ; \
                rmdir html/flite; fi

Attachment: signature.asc
Description: PGP signature

Reply via email to