ports/178535: textproc/docbook-sk: RUN_DEPENDS misconfigured for pkgng

John Marino draco at marino.st
Sun May 12 15:10:00 UTC 2013


>Number:         178535
>Category:       ports
>Synopsis:       textproc/docbook-sk: RUN_DEPENDS misconfigured for pkgng
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 12 15:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
>Description:
The docbook-sk port defines the RUN_DEPENDS as a full path including the $PREFIX.  pkg doesn't seem to like it and emits an error.  The fix is just give the binary without a path to RUN_DEPENDS

example before the patch is applied:
=============================
===>   Installing existing package /usr/packages/All/docbook-xsl-1.76.1.txz
Installing docbook-xsl-1.76.1...Installing docbook-sk-4.1.2_4...missing dependency xmlcatmgr-2.2
Failed to install the following 1 package(s): /usr/packages/All/docbook-xsl-1.76.1.txz
===>   Returning to build of roxterm-2.7.1


same example after the patch is applied:
=============================
Installing docbook-xsl-1.76.1...Installing docbook-sk-4.1.2_4...Installing xmlcatmgr-2.2... + Creating /usr/local/share/sgml/catalog
 + Registering CATALOG catalog.ports (SGML)
 + Creating /usr/local/share/sgml/catalog.ports
 + Creating /usr/local/share/xml/catalog
 + Registering nextCatalog catalog.ports (XML)
 + Creating /usr/local/share/xml/catalog.ports
 done
 done

>How-To-Repeat:
try to build x11/roxterm in poudriere with pkgng
>Fix:


Patch attached with submission follows:

--- Makefile.orig	2012-11-17 06:01:54.000000000 +0000
+++ Makefile
@@ -15,7 +15,7 @@ DISTNAME=	docbkx${PORTVERSION:S/.//g}
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	XML version of the DocBook DTD version controlled for ScrollKeeper
 
-RUN_DEPENDS=	${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
+RUN_DEPENDS=	xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr
 
 USE_ZIP=	yes
 NO_BUILD=	yes


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list