Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2006 12:49:52 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Alexander Botero-Lowry <alex@foxybanana.com>
Cc:        alexbl@FreeBSD.org, johnson.peter@gmail.com, multimedia@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: [ports-amd64@FreeBSD.org: quodlibet-0.23.1 failed on amd64 7]
Message-ID:  <20061004164952.GA35526@xor.obsecurity.org>
In-Reply-To: <200610041626.k94GQbgQ099073@Laptop.mine.box>
References:  <20061004161112.GC34738@xor.obsecurity.org> <200610041626.k94GQbgQ099073@Laptop.mine.box>

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

[-- Attachment #1 --]
On Wed, Oct 04, 2006 at 09:26:37AM -0700, Alexander Botero-Lowry wrote:
> I had indications of this problem in tinderbox, but it wouldn't give me a file-
> name, or any sense of just what the problem really was, but since I was pretty
> sure it was in another project I left it alone. So now that I have this little
> piece of information, I can detail the problem:
>  pygst.py is non-cache is py-gstreamers pkg-plist, so pygst.pyc, pygst.pyo are
>  not present. When the install phase of quodlibet imports pygst, one or both of
>  these files are created, but they are not accounted for by anyone, so its seen
>  as an extra file.
> 
> and I can offer two solutions:
> 
> 1) we make quodlibet skip its check for py-gstreamer, which only fixes this
>    problem for quodlibet and not for other ports that may have it.
> OR
> 2) The fine folks in multimedia@ force pygst.py to be compiled pre-install, a 
>    line like, from security/py-trustedpickle:         
> 	@cd ${WRKSRC} && ${PYTHON_CMD} -OOOO -c 'import pygst' && \
>     ${PYTHON_CMD} -c 'import pygst'
>    and then have the py-gstreamer port account for the .pyo and .pyc files in 
>    its pkg-plist.

I think the second solution is the usual preferred one - ports should
compile their own installed python files so that they're not randomly
compiled on the fly by some other port that tries to use them, like
this one.

If you can submit a patch it might help to make things go more
quickly.

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFI+YwWry0BWjoQKURAiRfAJ0X1lDum9xSZmpAunKsGFtUZXOv3ACZARj7
PIAkzD8XzyIEqs1WO5GbDZA=
=NCZs
-----END PGP SIGNATURE-----

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