ports/140088: x11/kdelibs3: error creating package - postscript.ppd.gz not found

Bengt Ahlgren bengta at sics.se
Thu Oct 29 17:30:02 UTC 2009


>Number:         140088
>Category:       ports
>Synopsis:       x11/kdelibs3: error creating package - postscript.ppd.gz not found
>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:   Thu Oct 29 17:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bengt Ahlgren
>Release:        7.2-REL-p4
>Organization:
>Environment:
7.2-REL-p4 on amd64 and RELEASE_8_0_0 ports tree
>Description:
I am doing a fresh install of 7.2-REL together with the RELEASE_8_0_0
ports tree.  I should also say that I have WITH_CUPS defined in
/etc/make.conf, but I am uncertain whether that makes a difference.

When trying to build a package for x11/kdelibs3, I get this error:

----------
Creating bzip'd tar ball in '/usr/ports/packages/All/kdelibs-3.5.10_2.tbz'
tar: share/cups/model/postscript.ppd.gz: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

Stop in /usr/ports/x11/kdelibs3.
----------

There is not even a directory /usr/local/share/cups, because
print/cups-base is not installed.

>How-To-Repeat:
1. Start with empty /usr/local
2. cd /usr/ports/x11/kdelibs3
3. make package

>Fix:
The Makefile for x11/kdelibs3 has an incorrect dependency
specification:

LIB_DEPENDS+=	cups:${PORTSDIR}/print/cups-base

The library is now in print/cups-client.  The library was present, so
print/cups-base was never installed, and thus no share/cups directory
to install postscript.ppd.gz in.

Since the cups library is in cups-client, the dependency above should
be:

LIB_DEPENDS+=	cups:${PORTSDIR}/print/cups-client

But that does not solve the original problem.  A new dependency on
print/cups-base has to be added so that the directory
/usr/local/share/cups/model is created, and kdelibs3 can install
postscript.ppd.gz.  Perhaps:

BUILD_DEPENDS+=	${LOCALBASE}/share/cups/model:${PORTSDIR}/print/cups-base

or should it be a RUN_DEPENDS? The directory needs to be there at
install time.


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



More information about the freebsd-ports-bugs mailing list