From nobody@FreeBSD.org  Fri Mar  8 13:20:25 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id E2BEBC75
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Mar 2013 13:20:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id C7CAEDE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Mar 2013 13:20:25 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r28DKPoQ025372
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 8 Mar 2013 13:20:25 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r28DKPjS025371;
	Fri, 8 Mar 2013 13:20:25 GMT
	(envelope-from nobody)
Message-Id: <201303081320.r28DKPjS025371@red.freebsd.org>
Date: Fri, 8 Mar 2013 13:20:25 GMT
From: Oleg Ginzburg <olevole@olevole.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/libxs: missing docbook-xml-450 dependency
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: g.veniamin@googlemail.com

>Number:         176747
>Category:       ports
>Synopsis:       devel/libxs: missing docbook-xml-450 dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 08 13:30:02 UTC 2013
>Closed-Date:    Fri Mar 08 20:30:09 UTC 2013
>Last-Modified:  Fri Mar  8 20:40:00 UTC 2013
>Originator:     Oleg Ginzburg
>Release:        10-current
>Organization:
>Environment:
FreeBSD gizmo.my.domain 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r247893: Wed Mar  6 21:26:40 MSK 2013     root@gizmo.my.domain:/usr/obj/usr/src/sys/G  amd64
>Description:
Without DocBook < 4.5 version some xml files of documentation isn't correct for xmlto:

I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
Document /usr/ports/devel/libxs/work/libxs-1.2.0/doc/xs_bind.xml does not validate
*** [xs_bind.3] Error code 13

>How-To-Repeat:
make -C /usr/ports/devel/libxs on the host without docbook-xml-450
>Fix:


Patch attached with submission follows:

diff -ruN libxs.bak/Makefile libxs/Makefile
--- libxs.bak/Makefile	2013-02-17 18:30:28.000000000 +0400
+++ libxs/Makefile	2013-03-08 17:09:16.721191230 +0400
@@ -31,7 +31,8 @@
 
 .if ${PORT_OPTIONS:MDOCS}
 BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc \
-		xmlto:${PORTSDIR}/textproc/xmlto
+		xmlto:${PORTSDIR}/textproc/xmlto \
+		${LOCALBASE}/share/xml/docbook/4.5/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml-450
 
 MAN3=	\
 	xs_bind.3 \


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Mar 8 13:30:25 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176747 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: g.veniamin@googlemail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/176747: devel/libxs: missing docbook-xml-450 dependency
Date: Fri, 8 Mar 2013 13:30:24 UT

 Maintainer of devel/libxs,
 
 Please note that PR ports/176747 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/176747
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Veniamin Gvozdikov <g.veniamin@googlemail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/176747: devel/libxs: missing docbook-xml-450 dependency
Date: Fri, 8 Mar 2013 17:48:44 +0400

 I agree with changes.
State-Changed-From-To: feedback->open 
State-Changed-By: beech 
State-Changed-When: Fri Mar 8 17:11:36 UTC 2013 
State-Changed-Why:  
Maintainer approved 


Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: beech 
Responsible-Changed-When: Fri Mar 8 17:11:36 UTC 2013 
Responsible-Changed-Why:  
I'll take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176747 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Fri Mar 8 20:29:54 UTC 2013 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176747 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/176747: commit references a PR
Date: Fri,  8 Mar 2013 20:29:47 +0000 (UTC)

 Author: beech
 Date: Fri Mar  8 20:29:35 2013
 New Revision: 313673
 URL: http://svnweb.freebsd.org/changeset/ports/313673
 
 Log:
   - Add missing docbook-xml-450 dependency
   
   PR:		ports/176747
   Submitted by:	Oleg Ginzburg <olevole@olevole.ru>
   Approved by:	Veniamin Gvozdikov <g.veniamin@googlemail.com> (maintainer)
 
 Modified:
   head/devel/libxs/Makefile
 
 Modified: head/devel/libxs/Makefile
 ==============================================================================
 --- head/devel/libxs/Makefile	Fri Mar  8 20:23:38 2013	(r313672)
 +++ head/devel/libxs/Makefile	Fri Mar  8 20:29:35 2013	(r313673)
 @@ -31,7 +31,8 @@ CONFIGURE_ARGS+=	--enable-debug
  
  .if ${PORT_OPTIONS:MDOCS}
  BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc \
 -		xmlto:${PORTSDIR}/textproc/xmlto
 +		xmlto:${PORTSDIR}/textproc/xmlto \
 +		${LOCALBASE}/share/xml/docbook/4.5/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml-450
  
  MAN3=	\
  	xs_bind.3 \
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
