Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2007 21:08:51 +0800 (CST)
From:      chinsan <chinsan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        araujo@FreeBSD.org, B.Candler@pobox.com
Subject:   ports/113028: [PATCH] textproc/docbook-utils: Fix build and run error
Message-ID:  <20070526130851.36CAA11435@chinsan.twbbs.org>
Resent-Message-ID: <200705261310.l4QDA2Ii029584@freefall.freebsd.org>

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

>Number:         113028
>Category:       ports
>Synopsis:       [PATCH] textproc/docbook-utils: Fix build and run error
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 26 13:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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