From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 29 17:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 580AD1065696 for ; Thu, 29 Oct 2009 17:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0F08FC13 for ; Thu, 29 Oct 2009 17:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9THU1tC021126 for ; Thu, 29 Oct 2009 17:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9THU1FX021125; Thu, 29 Oct 2009 17:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 29 Oct 2009 17:30:01 GMT Resent-Message-Id: <200910291730.n9THU1FX021125@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, Bengt Ahlgren Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 710D0106566B for ; Thu, 29 Oct 2009 17:26:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6017C8FC13 for ; Thu, 29 Oct 2009 17:26:04 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9THQ22K076500 for ; Thu, 29 Oct 2009 17:26:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9THQ2bc076481; Thu, 29 Oct 2009 17:26:02 GMT (envelope-from nobody) Message-Id: <200910291726.n9THQ2bc076481@www.freebsd.org> Date: Thu, 29 Oct 2009 17:26:02 GMT From: Bengt Ahlgren To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/140088: x11/kdelibs3: error creating package - postscript.ppd.gz not found 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: Thu, 29 Oct 2009 17:30:02 -0000 >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: