Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2012 08:33:29 GMT
From:      Kalten <kalten@gmx.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/169627: audio/lash: texi2html 
Message-ID:  <201207030833.q638XTfI028229@red.freebsd.org>
Resent-Message-ID: <201207030840.q638eAae008786@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169627
>Category:       ports
>Synopsis:       audio/lash: texi2html
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 03 08:40:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kalten
>Release:        9.0-RELEASE-p3
>Organization:
>Environment:
FreeBSD freeKwasir.Walhalla.Leben 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When compiling audio/lash compilation fails because there is
``texi2html --number'' used, but there is no ``--number'' (any more?).

---SCHNIPP---

gmake[3]: Entering directory `/usr/ports/audio/lash/work/lash-0.5.4/docs'
if test ! -d lash-manual-html-one-page; then \
  mkdir lash-manual-html-one-page; \
fi
if test ! -d lash-manual-html-split; then \
  mkdir -lash-manual-html-split; \
fi
cd lash-manual-html-one-page && \
  texi2html --number ../../docs/lash-manual.texi
Option number is ambiguous (number-footnotes, number-sections)
Try `texi2html --help' for more information.
gmake[3]: *** [html-manual-stamp] Error 2
gmake[3]: Leaving directory `/usr/ports/audio/lash/work/lash-0.5.4/docs'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/audio/lash/work/lash-0.5.4/docs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/audio/lash/work/lash-0.5.4'
gmake: *** [all] Error 2
*** Error code 1
---schnapp---
>How-To-Repeat:
cd /usr/ports/audio/lash
make
>Fix:
I have added some patch that generates two patch-files for the port,
that simply remove the ``--number'' entries from docs/Makefile.am as
well as from docs/Makefile.in as this option has been displaced by
``--number-footnotes!'' and ``--number-sections!'' which both default to
``on'' in version 5.0 of texi2html (see ``texi2html --help'')---further
more the error text did mention that ``Option number is ambiguous
(number-footnotes, number-sections)''.

Patch attached with submission follows:

--- /dev/null	2012-07-03 10:04:23.000000000 +0200
+++ files/patch-docs-Makefile.am	2012-07-03 10:02:35.000000000 +0200
@@ -0,0 +1,14 @@
+--- docs/Makefile.am.orig	2006-10-05 10:28:28.000000000 +0200
++++ docs/Makefile.am	2012-07-03 09:59:46.000000000 +0200
+@@ -18,9 +18,9 @@
+ 	  mkdir -lash-manual-html-split; \
+ 	fi
+ 	cd lash-manual-html-one-page && \
+-	  texi2html --number ../$(top_srcdir)/docs/lash-manual.texi
++	  texi2html ../$(top_srcdir)/docs/lash-manual.texi
+ 	cd lash-manual-html-split && \
+-	  texi2html --number --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
++	  texi2html --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
+ 	touch html-manual-stamp
+ 
+ CLEANFILES = html-manual-stamp lash-manual.cps
--- /dev/null	2012-07-03 10:04:23.000000000 +0200
+++ files/patch-docs-Makefile.in	2012-07-03 10:02:49.000000000 +0200
@@ -0,0 +1,14 @@
+--- docs/Makefile.in.orig	2012-07-03 08:08:09.000000000 +0200
++++ docs/Makefile.in	2012-07-03 10:01:11.000000000 +0200
+@@ -532,9 +532,9 @@
+ @HAVE_TEXI2HTML_TRUE@	  mkdir -lash-manual-html-split; \
+ @HAVE_TEXI2HTML_TRUE@	fi
+ @HAVE_TEXI2HTML_TRUE@	cd lash-manual-html-one-page && \
+-@HAVE_TEXI2HTML_TRUE@	  texi2html --number ../$(top_srcdir)/docs/lash-manual.texi
++@HAVE_TEXI2HTML_TRUE@	  texi2html ../$(top_srcdir)/docs/lash-manual.texi
+ @HAVE_TEXI2HTML_TRUE@	cd lash-manual-html-split && \
+-@HAVE_TEXI2HTML_TRUE@	  texi2html --number --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
++@HAVE_TEXI2HTML_TRUE@	  texi2html --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
+ @HAVE_TEXI2HTML_TRUE@	touch html-manual-stamp
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207030833.q638XTfI028229>