From chinsan@chinsan.twbbs.org  Sat May 26 13:08:53 2007
Return-Path: <chinsan@chinsan.twbbs.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 64B3016A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 May 2007 13:08:53 +0000 (UTC)
	(envelope-from chinsan@chinsan.twbbs.org)
Received: from chinsan.twbbs.org (220-132-119-51.HINET-IP.hinet.net [220.132.119.51])
	by mx1.freebsd.org (Postfix) with ESMTP id CDF4313C4CB
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 May 2007 13:08:52 +0000 (UTC)
	(envelope-from chinsan@chinsan.twbbs.org)
Received: by chinsan.twbbs.org (Postfix, from userid 1001)
	id 36CAA11435; Sat, 26 May 2007 21:08:51 +0800 (CST)
Message-Id: <20070526130851.36CAA11435@chinsan.twbbs.org>
Date: Sat, 26 May 2007 21:08:51 +0800 (CST)
From: chinsan <chinsan@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: B.Candler@pobox.com,araujo@FreeBSD.org
Subject: [PATCH] textproc/docbook-utils: Fix build and run error
X-Send-Pr-Version: 3.113
X-GNATS-Notify: B.Candler@pobox.com

>Number:         113028
>Category:       ports
>Synopsis:       [PATCH] textproc/docbook-utils: Fix build and run error
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    araujo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 26 13:10:02 GMT 2007
>Closed-Date:    Tue May 29 11:28:46 GMT 2007
>Last-Modified:  Tue May 29 11:28:46 GMT 2007
>Originator:     chinsan
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon May 14 02:30:40 CST 2007
>Description:
- Fix build error [1]
- Fix run error on docbook2* [2]
- As far as I looked into ports/112785, the maintainer seems like have some
  trouble to keep maintaining his ports.
  If nobody wants to maintain this port, I am willing to be the maintainer 
  for a while until somebody wants to be.

Port maintainer (B.Candler@pobox.com) is cc'd.

[1] see How-To-Repeat #1 report
[2] see How-To-Repeat #2 report

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
- Report #1
 % cd /usr/ports/textproc/docbook-utils
 % make install clean
   :
   :
 /usr/bin/install -c -m 644 ./api.html
/usr/local/share/doc/docbook-utils/html/api.html
install: ./api.html: No such file or directory
 /usr/bin/install -c -m 644 ./backend-spec.html
/usr/local/share/doc/docbook-utils/html/backend-spec.html
install: ./backend-spec.html: No such file or directory
 /usr/bin/install -c -m 644 ./docbook2man.html
/usr/local/share/doc/docbook-utils/html/docbook2man.html
install: ./docbook2man.html: No such file or directory
 /usr/bin/install -c -m 644 ./docbook2texi.html
/usr/local/share/doc/docbook-utils/html/docbook2texi.html
install: ./docbook2texi.html: No such file or directory
 /usr/bin/install -c -m 644 ./fdl.html
/usr/local/share/doc/docbook-utils/html/fdl.html
install: ./fdl.html: No such file or directory
 /usr/bin/install -c -m 644 ./frontend-spec.html
/usr/local/share/doc/docbook-utils/html/frontend-spec.html
install: ./frontend-spec.html: No such file or directory
 /usr/bin/install -c -m 644 ./helpers.html
/usr/local/share/doc/docbook-utils/html/helpers.html
install: ./helpers.html: No such file or directory
 /usr/bin/install -c -m 644 ./index.html
/usr/local/share/doc/docbook-utils/html/index.html
install: ./index.html: No such file or directory
 /usr/bin/install -c -m 644 ./introduction.html
/usr/local/share/doc/docbook-utils/html/introduction.html
install: ./introduction.html: No such file or directory
 /usr/bin/install -c -m 644 ./intro-jw.html
/usr/local/share/doc/docbook-utils/html/intro-jw.html
install: ./intro-jw.html: No such file or directory
 /usr/bin/install -c -m 644 ./intro-sgmldiff.html
/usr/local/share/doc/docbook-utils/html/intro-sgmldiff.html
install: ./intro-sgmldiff.html: No such file or directory
 /usr/bin/install -c -m 644 ./jw.html
/usr/local/share/doc/docbook-utils/html/jw.html
install: ./jw.html: No such file or directory
 /usr/bin/install -c -m 644 ./sgmldiff.html
/usr/local/share/doc/docbook-utils/html/sgmldiff.html
install: ./sgmldiff.html: No such file or directory
gmake[3]: *** [install-htmlDATA] Error 71
gmake[3]: Leaving directory
`/usr/ports/textproc/docbook-utils/work/docbook-utils-0.6.14/doc/HTML'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory
`/usr/ports/textproc/docbook-utils/work/docbook-utils-0.6.14/doc/HTML'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/textproc/docbook-utils/work/docbook-utils-0.6.14/doc'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/textproc/docbook-utils.


- Report #2 
 Run error with old version of docbook-utils-0.6.14,2:
 for example:
 % docbook2man foo.sgml
jw: There is no frontend called
"/usr/local/share/sgml/docbook/utils-0.6.14/frontends/docbook".

 This will make x11-fonts/fontconfig cann't build..
 
>Fix:

--- docbook-utils-0.6.14_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/docbook-utils/Makefile /usr/home/chinsan/project/docbook-utils/Makefile
--- /usr/ports/textproc/docbook-utils/Makefile	Thu May 24 22:01:22 2007
+++ /usr/home/chinsan/project/docbook-utils/Makefile	Sat May 26 04:38:59 2007
@@ -7,7 +7,7 @@
 
 PORTNAME=	docbook-utils
 PORTVERSION=	0.6.14
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEWARE}
 MASTER_SITE_SUBDIR=	docbook-tools/new-trials/SOURCES
@@ -41,6 +41,10 @@
 .if !defined(NOPORTDOCS)
 PORTDOCS=	*
 .endif
+
+post-patch:
+	 @${REINPLACE_CMD} -e '254 s/install-htmlDATA//' \
+		${WRKSRC}/doc/HTML/Makefile.in
 
 pre-configure:
 	${RM} -f ${WRKSRC}/config.cache
--- docbook-utils-0.6.14_3.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat May 26 13:10:08 UTC 2007 
Responsible-Changed-Why:  
rafan@ wants this PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113028 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat May 26 13:10:15 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

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

From: Brian Candler <B.Candler@pobox.com>
To: bug-followup@FreeBSD.org
Cc: edwin@freebsd.org
Subject: Re: ports/113028: [PATCH] textproc/docbook-utils: Fix build and run error
Date: Sat, 26 May 2007 14:35:14 +0100

 --IS0zKkzwUGydFO0o
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Sat, May 26, 2007 at 01:10:13PM +0000, Edwin Groothuis wrote:
 > Maintainer of textproc/docbook-utils,
 > 
 > Please note that PR ports/113028 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/113028
 
 Please see my reply to 112785
 
 --IS0zKkzwUGydFO0o
 Content-Type: message/rfc822
 Content-Disposition: inline
 
 Date: Sat, 19 May 2007 13:51:25 +0100
 From: Brian Candler <B.Candler@pobox.com>
 To: bug-followup@FreeBSD.org
 Subject: Re: ports/112785: [PATCH] textproc/docbook-utils add rundep on www/lynx
 Message-ID: <20070519125125.GA30159@uk.tiscali.com>
 References: <20070519124008.66B5016A402@hub.freebsd.org>
 MIME-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 In-Reply-To: <20070519124008.66B5016A402@hub.freebsd.org>
 User-Agent: Mutt/1.5.11
 
 On Sat, May 19, 2007 at 12:40:08PM +0000, Edwin Groothuis wrote:
 > Maintainer of textproc/docbook-utils,
 > 
 > Please note that PR ports/112785 has just been submitted.
 
 This says "No PRs matched query" when I follow the link you gave, or try to
 enter this PR number manually in the web interface.
 
 > 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/112785
 
 Whatever the patch is, I agree. You can remove me from any ports I'm marked
 as maintainer on; I'm afraid I'm not even using FreeBSD at the moment, so
 I'm not much use as a maintainer :-)
 
 Regards,
 
 Brian.
 
 --IS0zKkzwUGydFO0o--
Responsible-Changed-From-To: rafan->araujo 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Sat May 26 18:10:53 UTC 2007 
Responsible-Changed-Why:  
araujo handles 112785, so forwards this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113028 
State-Changed-From-To: feedback->open 
State-Changed-By: edwin 
State-Changed-When: Sat May 26 22:21:08 UTC 2007 
State-Changed-Why:  
maintainer approved 

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

From: Edwin Groothuis <edwin@mavetju.org>
To: Brian Candler <B.Candler@pobox.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/113028: [PATCH] textproc/docbook-utils: Fix build and run error
Date: Sun, 27 May 2007 08:23:02 +1000

 On Sat, May 26, 2007 at 02:35:14PM +0100, Brian Candler wrote:
 > On Sat, May 26, 2007 at 01:10:13PM +0000, Edwin Groothuis wrote:
 > > Maintainer of textproc/docbook-utils,
 > > 
 > > Please note that PR ports/113028 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/113028
 > 
 > Please see my reply to 112785
 
 Done.
 
 > Date: Sat, 19 May 2007 13:51:25 +0100
 > From: Brian Candler <B.Candler@pobox.com>
 > To: bug-followup@FreeBSD.org
 > Subject: Re: ports/112785: [PATCH] textproc/docbook-utils add rundep on www/lynx
 > 
 > On Sat, May 19, 2007 at 12:40:08PM +0000, Edwin Groothuis wrote:
 > > Maintainer of textproc/docbook-utils,
 > > 
 > > Please note that PR ports/112785 has just been submitted.
 > 
 > This says "No PRs matched query" when I follow the link you gave, or try to
 > enter this PR number manually in the web interface.
 
 Sometimes there is a lag between the two databases.
 
 > > 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/112785
 > 
 > Whatever the patch is, I agree. You can remove me from any ports I'm marked
 > as maintainer on; I'm afraid I'm not even using FreeBSD at the moment, so
 > I'm not much use as a maintainer :-)
 
 Can you send-pr (or use the webinterface at
 http://www.freebsd.org/send-pr.html) with this information?
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/
State-Changed-From-To: open->closed 
State-Changed-By: araujo 
State-Changed-When: Tue May 29 11:28:41 UTC 2007 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113028 
>Unformatted:
