From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 17 14:20:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 739121C9 for ; Thu, 17 Jan 2013 14:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5AB3E16C for ; Thu, 17 Jan 2013 14:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0HEK1V4069426 for ; Thu, 17 Jan 2013 14:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0HEK1DX069425; Thu, 17 Jan 2013 14:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 17 Jan 2013 14:20:01 GMT Resent-Message-Id: <201301171420.r0HEK1DX069425@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, Oliver Heesakkers Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B18B0CDB for ; Thu, 17 Jan 2013 14:11:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 804F0D5 for ; Thu, 17 Jan 2013 14:11:21 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0HEBK2X006830 for ; Thu, 17 Jan 2013 14:11:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0HEBK2V006806; Thu, 17 Jan 2013 14:11:20 GMT (envelope-from nobody) Message-Id: <201301171411.r0HEBK2V006806@red.freebsd.org> Date: Thu, 17 Jan 2013 14:11:20 GMT From: Oliver Heesakkers To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175368: [patch] multimedia/py-mlt hangs on Generating temporary packing list X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2013 14:20:01 -0000 >Number: 175368 >Category: ports >Synopsis: [patch] multimedia/py-mlt hangs on Generating temporary packing list >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 Jan 17 14:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Oliver Heesakkers >Release: FreeBSD 9.1-RELEASE #3 r243795 amd64 >Organization: OHos >Environment: >Description: Now that py-mlt is a slave port of mlt, the build hangs on my system when generating the temporary packing list. >How-To-Repeat: Attempt an installation of multimedia/py-mlt. >Fix: I've re-created the pkg-plist for py-mlt and instructed the Makefile to use that. This solves the problem for me with a minor caveat. Alternatively you could move that pkg-plist to something like multimedia/mlt/pkg-plist-py-mlt, like I've seen with the PostgreSQL client and server ports. There is one caveat with this solution: When you build the port with examples, the +CONTENTS file will list the following (right at the bottom): @dirrm share/examples/mlt/python @dirrm share/examples/mlt The first one is fine, but the last one can still contain the examples from the master port, so this creates an error on deinstallation. Can dirrmtry be used here? Finally I have to note that py-mlt is now listed as unmaintained, which is I presume is incorrect. Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 310548) +++ Makefile (working copy) @@ -15,15 +15,10 @@ USE_PYTHON= yes MASTERDIR= ${.CURDIR:H:H}/multimedia/mlt +PLIST= ${.CURDIR}/pkg-plist PORTEXAMPLES= python -PLIST= # empty -PLIST_FILES= %%PYTHON_SITELIBDIR%%/_mlt.so \ - %%PYTHON_SITELIBDIR%%/mlt.py \ - %%PYTHON_SITELIBDIR%%/mlt.pyc \ - %%PYTHON_SITELIBDIR%%/mlt.pyo - BUILD_WRKSRC= ${WRKSRC}/src/swig/python INSTALL_WRKSRC= ${BUILD_WRKSRC} Index: pkg-plist =================================================================== --- pkg-plist (revision 0) +++ pkg-plist (working copy) @@ -0,0 +1,4 @@ +%%PYTHON_SITELIBDIR%%/_mlt.so +%%PYTHON_SITELIBDIR%%/mlt.py +%%PYTHON_SITELIBDIR%%/mlt.pyc +%%PYTHON_SITELIBDIR%%/mlt.pyo >Release-Note: >Audit-Trail: >Unformatted: