Re: epsilon plugin cache regen & gentoo portage.

Thomas Raschbacher <[email protected]> Wed, 11 Feb 2009 14:20:40 +0100
Newsgroups gmane.comp.python.quotient.dev
Message-ID <[email protected]>
yes exactly. better phrased than what i wrote ;)
i did the patch with env var so that normally it won't apply because i
want to avoid other problems. I try to install packages w/o it, but if
it don't work i jsut set and then unset the env var again.

Tristan Seligmann wrote:
> * [email protected] <[email protected]> [2009-02-11 11:27:20 -0000]:
> 
>> On 09:09 am, [email protected] wrote:
>>> i was updating the divmod packages in gentoo's portage tree and had 
>>> some
>>> problems with the automatic plugin cache update. (the problem was with
>>> gentoo's sandbox which is the only directory which is not read-only
>>> during compile/install phase. all other attempted write ops cause a
>>> sandbox violation .. fyi ;))
>> I don't understand this; having not used gentoo, I don't understand why 
>> installation would not allow you to install files.
> 
> As I understand it (I don't know much about Gentoo, just extrapolating
> from distro packaging in general, and Thomas's other comments), the
> installation is done into a "sandbox" area, not directly into /; this
> works fine, except that the setup tries to update the global plugin
> cache, which doesn't work since the installation process doesn't have
> write access to /, only to the sandbox area.
> 
>> setuphelper in epsilon is really just helping you to do the "right 
>> thing" as far as installing a program that uses Twisted plugins.  The 
>> underlying issue is Twisted's plugin-cache generation.
> 
> Presumably the Gentoo installation process would manually regenerate the
> plugin cache once the files have been installed into the actual system.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Divmod-dev mailing list
> [email protected]
> http://divmod.org/cgi-bin/mailman/listinfo/divmod-dev