Bug 154624 - tinyproxy bugfixs for xmllint build failure
Summary: tinyproxy bugfixs for xmllint build failure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 20:40 UTC by marquis
Modified: 2011-02-23 14:00 UTC (History)
0 users

See Also:


Attachments
file.diff (497 bytes, patch)
2011-02-09 20:40 UTC, marquis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marquis 2011-02-09 20:40:09 UTC
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.

Fix: Patch attached with submission follows:
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.
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2011-02-09 22:52:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2011-02-15 07:26:42 UTC
Responsible Changed
From-To: miwi->wxs

over to maintainer
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-02-23 13:56:36 UTC
wxs         2011-02-23 13:56:32 UTC

  FreeBSD ports repository

  Modified files:
    www/tinyproxy        Makefile distinfo 
  Log:
  [1]: Add -L to xmllint invocation when building manpages.
  [2]: Add a patch for "upstream" fix.
  
  PR:             [1]: ports/154624
                  [2]: ports/154623
  Submitted by:   Roger Marquis <marquis@roble.com>
  
  Revision  Changes    Path
  1.33      +1 -0      ports/www/tinyproxy/Makefile
  1.18      +0 -1      ports/www/tinyproxy/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Wesley Shields freebsd_committer freebsd_triage 2011-02-23 13:58:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!