From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 13 16:41:56 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A698416A52D for ; Mon, 13 Nov 2006 16:41:56 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9323E43D6D for ; Mon, 13 Nov 2006 16:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kADGe2FB026976 for ; Mon, 13 Nov 2006 16:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kADGe2gD026975; Mon, 13 Nov 2006 16:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 13 Nov 2006 16:40:02 GMT Resent-Message-Id: <200611131640.kADGe2gD026975@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, chinsan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B17D816A47C; Mon, 13 Nov 2006 16:31:10 +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 2B15943E11; Mon, 13 Nov 2006 16:30:14 +0000 (GMT) (envelope-from chinsan@chinsan.twbbs.org) Received: by chinsan.twbbs.org (Postfix, from userid 1001) id 0508711452; Tue, 14 Nov 2006 00:29:33 +0800 (CST) Message-Id: <20061113162933.0508711452@chinsan.twbbs.org> Date: Tue, 14 Nov 2006 00:29:33 +0800 (CST) From: chinsan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: des@FreeBSD.org Subject: ports/105484: [PATCH] textproc/docbook-xsl: Fix COPYDIRS by adding new directory: highlighting X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 16:41:56 -0000 >Number: 105484 >Category: ports >Synopsis: [PATCH] textproc/docbook-xsl: Fix COPYDIRS by adding new directory: highlighting >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 13 16:40:01 GMT 2006 >Closed-Date: >Last-Modified: >Originator: chinsan >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: Taiwan >Environment: System: FreeBSD chinsan.twbbs.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Sun Nov 12 00:43:51 CST 2006 >Description: - Fix COPYDIRS by adding new directory: highlighting - The line 20 in /usr/local/share/xsl/docbook/html/verbatim.xsl shows: But we didn't install /usr/local/share/xsl/docbook/highlighting/common.xsl. This patch will fix for this. Port maintainer (des@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: chinsan@chinsan sudo make ===> Vulnerability check disabled, database not found ===> Extracting for xmlto-0.0.18 => MD5 Checksum OK for xmlto-0.0.18.tar.bz2. => SHA256 Checksum OK for xmlto-0.0.18.tar.bz2. ===> Patching for xmlto-0.0.18 ===> Applying FreeBSD patches for xmlto-0.0.18 /usr/bin/sed -i.bak -e '/format\/fo\//d' /usr/ports/textproc/xmlto/work/xmlto-0.0.18/Makefile.in ===> xmlto-0.0.18 depends on file: /usr/local/bin/bash - found ===> xmlto-0.0.18 depends on file: /usr/local/bin/getopt - found ===> xmlto-0.0.18 depends on executable in : xmllint - found ===> xmlto-0.0.18 depends on executable in : xsltproc - found ===> xmlto-0.0.18 depends on file: /usr/local/share/xsl/docbook - found ===> Configuring for xmlto-0.0.18 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether cc understands -c and -o together... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for mktemp program... mktemp checking for GNU find program... find checking for bash... /usr/local/bin/bash checking for getopt program... /usr/local/bin/getopt checking whether getopt handles long options... yes configure: creating ./config.status config.status: creating Makefile config.status: creating xmlto config.status: creating xmlto.spec config.status: creating config.h config.status: executing depfiles commands ===> Building for xmlto-0.0.18 make all-am if cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=i686 -march=pentium4 -MT xmlif/xmlif.o -MD -MP -MF "xmlif/.deps/xmlif.Tpo" -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c; then mv -f "xmlif/.deps/xmlif.Tpo" "xmlif/.deps/xmlif.Po"; else rm -f "xmlif/.deps/xmlif.Tpo"; exit 1; fi cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=i686 -march=pentium4 -o xmlif/xmlif xmlif/xmlif.o for xml in xmlif.xml xmlto.xml; do FORMAT_DIR=./format XSL_DIR=./xsl bash ./xmlto -o man/man1 man ./doc/$xml ; done || ( RC=$?; cat ./FAQ; exit $RC ) warning: failed to load external entity "file:///usr/local/share/xsl/docbook/highlighting/common.xsl" compilation error: file file:///usr/local/share/xsl/docbook/html/verbatim.xsl line 20 element include xsl:include : unable to load file:///usr/local/share/xsl/docbook/highlighting/common.xsl warning: failed to load external entity "file:///usr/local/share/xsl/docbook/highlighting/common.xsl" compilation error: file file:///usr/local/share/xsl/docbook/html/verbatim.xsl line 20 element include xsl:include : unable to load file:///usr/local/share/xsl/docbook/highlighting/common.xsl Q: I'm trying to build xmlto on my Debian box, but it doesn't work. A: If you get `Attempt to load network entity' errors when building xmlto, your system does not have the required support for XML Catalogs (http://www.oasis-open.org/committees/entity/spec-2001-08-06.html). In particular, Debian has no support for these. Try the Fedora Project . *** Error code 1 Stop in /usr/ports/textproc/xmlto/work/xmlto-0.0.18. *** Error code 1 Stop in /usr/ports/textproc/xmlto/work/xmlto-0.0.18. *** Error code 1 Stop in /usr/ports/textproc/xmlto. >Fix: --- docbook-xsl-1.71.1_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/docbook-xsl/Makefile /usr/home/chinsan/project/docbook-xsl/Makefile --- /usr/ports/textproc/docbook-xsl/Makefile Sat Nov 11 18:31:29 2006 +++ /usr/home/chinsan/project/docbook-xsl/Makefile Tue Nov 14 00:14:40 2006 @@ -7,6 +7,7 @@ PORTNAME= docbook-xsl PORTVERSION= 1.71.1 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= docbook @@ -28,7 +29,7 @@ XMLDIR= ${LOCALBASE}/share/xml INSTDIR= share/xsl/docbook PINSTDIR= ${PREFIX}/${INSTDIR} -COPYDIRS= common extensions fo html htmlhelp images \ +COPYDIRS= common extensions fo highlighting html htmlhelp images \ javahelp lib manpages params profiling slides \ template tools wordml xhtml PKGINSTALL= ${WRKDIR}/pkg-install diff -ruN --exclude=CVS /usr/ports/textproc/docbook-xsl/pkg-plist /usr/home/chinsan/project/docbook-xsl/pkg-plist --- /usr/ports/textproc/docbook-xsl/pkg-plist Sat Nov 11 18:31:29 2006 +++ /usr/home/chinsan/project/docbook-xsl/pkg-plist Tue Nov 14 00:18:54 2006 @@ -1073,6 +1073,14 @@ share/xsl/docbook/fo/verbatim.xsl share/xsl/docbook/fo/xep.xsl share/xsl/docbook/fo/xref.xsl +share/xsl/docbook/highlighting/delphi-hl.xml +share/xsl/docbook/highlighting/ini-hl.xml +share/xsl/docbook/highlighting/java-hl.xml +share/xsl/docbook/highlighting/xslthl-config.xml +share/xsl/docbook/highlighting/myxml-hl.xml +share/xsl/docbook/highlighting/php-hl.xml +share/xsl/docbook/highlighting/common.xsl +share/xsl/docbook/highlighting/m2-hl.xml share/xsl/docbook/html/admon.xsl share/xsl/docbook/html/annotations.xsl share/xsl/docbook/html/autoidx-kimber.xsl @@ -1907,6 +1915,7 @@ @dirrm share/xsl/docbook/images @dirrm share/xsl/docbook/htmlhelp @dirrm share/xsl/docbook/html +@dirrm share/xsl/docbook/highlighting @dirrm share/xsl/docbook/fo @dirrm share/xsl/docbook/extensions @dirrm share/xsl/docbook/common --- docbook-xsl-1.71.1_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: