Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-18 Thread Mike Frysinger
On Saturday, June 18, 2011 10:55:50 justin wrote: > + tc-export F77 > + tc-export FC tc-export F77 FC -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-18 Thread justin
So here are the last changes. Everything is in pkg_setup now, because of the dependency problem found by Ciaran. eclass/fortran-2.eclass | 28 ++-- 1 files changed, 6 insertions(+), 22 deletions(-) diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass index

Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-18 Thread justin
On 18/06/11 15:08, Ciaran McCreesh wrote: > On Sat, 18 Jun 2011 14:18:28 +0200 > justin wrote: >> The reason why it would be beneficial to use is the pkg_pretend phase >> is simply that the checks would run at the beginning of a emerge and >> it would fail directly instead somewhere in the middle.

Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-18 Thread Ciaran McCreesh
On Sat, 18 Jun 2011 14:18:28 +0200 justin wrote: > The reason why it would be beneficial to use is the pkg_pretend phase > is simply that the checks would run at the beginning of a emerge and > it would fail directly instead somewhere in the middle. For a single > package it won't change much but

Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-18 Thread Ulrich Mueller
> On Sat, 18 Jun 2011, justin wrote: > On 18/06/11 13:18, Petteri Räty wrote: >> That approach would still write to the filesystem. With the current >> text the PM is probably allowed to set the sandbox so that writing >> is anywhere is denied. > The reason why it would be beneficial to use

Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-18 Thread justin
On 18/06/11 13:18, Petteri Räty wrote: > On 17.06.2011 20:18, Mike Frysinger wrote: >> On Friday, June 17, 2011 12:25:21 Torsten Veller wrote: >>> * justin : Now using the new pkg_pretend for EAPI=4 >>> >>> While T is defined in all phases, PMS also says that "pkg_pretend must >>> not write to

Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-18 Thread Petteri Räty
On 17.06.2011 20:18, Mike Frysinger wrote: > On Friday, June 17, 2011 12:25:21 Torsten Veller wrote: >> * justin : >>> Now using the new pkg_pretend for EAPI=4 >> >> While T is defined in all phases, PMS also says that "pkg_pretend must >> not write to the filesystem". >> >> Is it allowed to write

Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-17 Thread Mike Frysinger
On Friday, June 17, 2011 12:25:21 Torsten Veller wrote: > * justin : > > Now using the new pkg_pretend for EAPI=4 > > While T is defined in all phases, PMS also says that "pkg_pretend must > not write to the filesystem". > > Is it allowed to write to T or not? Can the specs be clearer if it's > a

Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-17 Thread Ulrich Mueller
> On Fri, 17 Jun 2011, Torsten Veller wrote: > While T is defined in all phases, PMS also says that "pkg_pretend > must not write to the filesystem". > Is it allowed to write to T or not? Can the specs be clearer if it's > allowed? "Must not write to the filesystem" seems to be very clear to

Re: [gentoo-dev] write to filesystem in pkg_pretend

2011-06-17 Thread Michał Górny
On Fri, 17 Jun 2011 18:25:21 +0200 Torsten Veller wrote: > * justin : > > Now using the new pkg_pretend for EAPI=4 > > While T is defined in all phases, PMS also says that "pkg_pretend must > not write to the filesystem". > > Is it allowed to write to T or not? Can the specs be clearer if it's

[gentoo-dev] write to filesystem in pkg_pretend

2011-06-17 Thread Torsten Veller
* justin : > Now using the new pkg_pretend for EAPI=4 While T is defined in all phases, PMS also says that "pkg_pretend must not write to the filesystem". Is it allowed to write to T or not? Can the specs be clearer if it's allowed? -- Thanks