Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2013 15:02:38 GMT
From:      John Marino <draco@marino.st>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178535: textproc/docbook-sk: RUN_DEPENDS misconfigured for pkgng
Message-ID:  <201305121502.r4CF2coe084163@oldred.FreeBSD.org>
Resent-Message-ID: <201305121510.r4CFA0R2019712@freefall.freebsd.org>

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

>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@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:



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