Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2013 14:11:20 GMT
From:      Oliver Heesakkers <dev2@heesakkers.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175368: [patch] multimedia/py-mlt hangs on Generating temporary packing list
Message-ID:  <201301171411.r0HEBK2V006806@red.freebsd.org>
Resent-Message-ID: <201301171420.r0HEK1DX069425@freefall.freebsd.org>

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

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



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