ports/154624: tinyproxy bugfixs for xmllint build failure
Roger Marquis
marquis at roble.com
Wed Feb 9 20:40:10 UTC 2011
>Number: 154624
>Category: ports
>Synopsis: tinyproxy bugfixs for xmllint build failure
>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: Wed Feb 09 20:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Roger Marquis
>Release: 8.1-REL
>Organization:
Roble Systems
>Environment:
8.1-RELEASE-p2
>Description:
Tinyproxy recently switched to using a2x and xmllint for man pages. This new and IMO useless dependency breaks on 8.1-REL systems when xmllint is unable to validate the resulting file. Adding "-L" to the xmllint flags skips the validation step, allowing the build to complete, and has no effect on the validity of the resulting man page.
>How-To-Repeat:
cd /usr/ports/www/tinyproxy && make
..
gmake[2]: Entering directory `/usr/ports/www/tinyproxy/work/tinyproxy-1.8.2/docs'
Making all in man5
gmake[3]: Entering directory `/usr/ports/www/tinyproxy/work/tinyproxy-1.8.2/docs/man5'
/usr/local/bin/a2x -d manpage -f manpage tinyproxy.conf.txt
a2x: ERROR: xmllint --nonet --noout --valid /usr/ports/www/tinyproxy/work/tinyproxy-1.8.2/docs/man5/tinyproxy.conf.xml returned non-zero exit status 4
gmake[3]: *** [tinyproxy.conf.5] Error 1
gmake[3]: Leaving directory `/usr/ports/www/tinyproxy/work/tinyproxy-1.8.2/docs/man5'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/www/tinyproxy/work/tinyproxy-1.8.2/docs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/www/tinyproxy/work/tinyproxy-1.8.2'
gmake: *** [all] Error 2
*** Error code 1
Stop in /usr/ports/www/tinyproxy.
*** Error code 1
Stop in /usr/ports/www/tinyproxy.
>Fix:
Patch attached with submission follows:
--- docs/man5/Makefile.am.orig 2011-02-09 12:11:57.000000000 -0800
+++ docs/man5/Makefile.am 2011-02-09 12:12:10.000000000 -0800
@@ -3,7 +3,8 @@
A2X_ARGS = \
-d manpage \
- -f manpage
+ -f manpage \
+ -L
man_MANS = \
$(MAN5_FILES:.txt=.5)
--- docs/man8/Makefile.am.orig 2011-02-09 12:10:50.000000000 -0800
+++ docs/man8/Makefile.am 2011-02-09 12:11:05.000000000 -0800
@@ -3,7 +3,8 @@
A2X_ARGS = \
-d manpage \
- -f manpage
+ -f manpage \
+ -L
man_MANS = \
$(MAN8_FILES:.txt=.8)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list