Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/base: ChangeLog package.use.force

2013-07-19 Thread Gordon Pettey
On Fri, Jul 19, 2013 at 10:53 AM, Markos Chandras wrote:

> On 19 July 2013 16:46, Michał Górny  wrote:
> > Dnia 2013-07-19, o godz. 16:11:52
> > Markos Chandras  napisał(a):
> >
> >> On 19 July 2013 16:04, Ian Delaney (idella4) 
> wrote:
> >> > +# Ian Delaney  (17 July 2013)
> >> > +# Selection of IUSE flags for bin build.
> >> > +dev-python/pypy-bin bzip2 ncurses sqlite ssl xml
> >>
> >> I don't understand that. Why not use +bzip2 +ncurses +sqlite +ssl +xml
> >> in the ebuild?
> >
> > I guess that's because they are not optional :).
> >
>
> So why are these features behind use flags?
>

Wild guess: It's -bin. It's built with those flags. You can't choose to
install it with flags other than what it was built with.


Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/base: ChangeLog package.use.force

2013-07-19 Thread Mike Gilbert
On Fri, Jul 19, 2013 at 12:10 PM, Ciaran McCreesh
 wrote:
> On Fri, 19 Jul 2013 18:05:35 +0200
> Michał Górny  wrote:
>> > So why are these features behind use flags?
>>
>> For compatibility with ${PYTHON_USEDEP}.
>
> Why not fix PYTHON_USEDEP?
>

An alternative would be insert some logic in the python eclasses to
parse PYTHON_REQ_USE, and generate different dependencies for pypy-bin
versus the rest of the python implementations. Or maybe redesign the
way we handle that entirely.

In any case, pypy-bin was added to the tree without any thought as to
how to implement the eclass changes, so I have removed it and reverted
the changes to package.use.force.



Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/base: ChangeLog package.use.force

2013-07-19 Thread Markos Chandras
On 19 July 2013 16:46, Michał Górny  wrote:
> Dnia 2013-07-19, o godz. 16:11:52
> Markos Chandras  napisał(a):
>
>> On 19 July 2013 16:04, Ian Delaney (idella4)  wrote:
>> > idella4 13/07/19 15:04:28
>> >
>> >   Modified: ChangeLog package.use.force
>> >   Log:
>> >   Add entry to force use flags for pypy-bin
>> >
>> > Revision  ChangesPath
>> > 1.565profiles/base/ChangeLog
>> >
>> > file : 
>> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&view=markup
>> > plain: 
>> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&content-type=text/plain
>> > diff : 
>> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?r1=1.564&r2=1.565
>> >
>> > Index: ChangeLog
>> > ===
>> > RCS file: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v
>> > retrieving revision 1.564
>> > retrieving revision 1.565
>> > diff -u -r1.564 -r1.565
>> > --- ChangeLog   17 Jul 2013 15:23:53 -  1.564
>> > +++ ChangeLog   19 Jul 2013 15:04:28 -  1.565
>> > @@ -1,6 +1,10 @@
>> >  # ChangeLog for Gentoo base-profile
>> >  # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
>> > -# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.564 
>> > 2013/07/17 15:23:53 chithanh Exp $
>> > +# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.565 
>> > 2013/07/19 15:04:28 idella4 Exp $
>> > +
>> > +  19 Jul 2013; Ian Delaney 
>> > +  package.use.force:
>> > +  Add flags for new pypy-bin
>> >
>> >17 Jul 2013; Chí-Thanh Christopher Nguyễn 
>> >package.use.mask:
>> >
>> >
>> >
>> > 1.37 profiles/base/package.use.force
>> >
>> > file : 
>> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&view=markup
>> > plain: 
>> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&content-type=text/plain
>> > diff : 
>> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?r1=1.36&r2=1.37
>> >
>> > Index: package.use.force
>> > ===
>> > RCS file: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v
>> > retrieving revision 1.36
>> > retrieving revision 1.37
>> > diff -u -r1.36 -r1.37
>> > --- package.use.force   9 Jul 2013 17:47:25 -   1.36
>> > +++ package.use.force   19 Jul 2013 15:04:28 -  1.37
>> > @@ -1,6 +1,10 @@
>> >  # Copyright 1999-2013 Gentoo Foundation
>> >  # Distributed under the terms of the GNU General Public License v2
>> > -# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.36 
>> > 2013/07/09 17:47:25 graaff Exp $
>> > +# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.37 
>> > 2013/07/19 15:04:28 idella4 Exp $
>> > +
>> > +# Ian Delaney  (17 July 2013)
>> > +# Selection of IUSE flags for bin build.
>> > +dev-python/pypy-bin bzip2 ncurses sqlite ssl xml
>> >
>> >  # Michał Gorny  (26 Feb 2013)
>> >  # Meta-packages which use multilib ebuilds always install development
>> >
>> >
>> >
>> >
>>
>> I don't understand that. Why not use +bzip2 +ncurses +sqlite +ssl +xml
>> in the ebuild?
>
> I guess that's because they are not optional :).
>

So why are these features behind use flags?

--
Regards,
Markos Chandras - Gentoo Linux Developer
http://dev.gentoo.org/~hwoarang



Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/base: ChangeLog package.use.force

2013-07-19 Thread Michał Górny
Dnia 2013-07-19, o godz. 16:53:00
Markos Chandras  napisał(a):

> On 19 July 2013 16:46, Michał Górny  wrote:
> > Dnia 2013-07-19, o godz. 16:11:52
> > Markos Chandras  napisał(a):
> >
> >> On 19 July 2013 16:04, Ian Delaney (idella4)  wrote:
> >> > idella4 13/07/19 15:04:28
> >> >
> >> >   Modified: ChangeLog package.use.force
> >> >   Log:
> >> >   Add entry to force use flags for pypy-bin
> >> >
> >> > Revision  ChangesPath
> >> > 1.565profiles/base/ChangeLog
> >> >
> >> > file : 
> >> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&view=markup
> >> > plain: 
> >> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&content-type=text/plain
> >> > diff : 
> >> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?r1=1.564&r2=1.565
> >> >
> >> > Index: ChangeLog
> >> > ===
> >> > RCS file: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v
> >> > retrieving revision 1.564
> >> > retrieving revision 1.565
> >> > diff -u -r1.564 -r1.565
> >> > --- ChangeLog   17 Jul 2013 15:23:53 -  1.564
> >> > +++ ChangeLog   19 Jul 2013 15:04:28 -  1.565
> >> > @@ -1,6 +1,10 @@
> >> >  # ChangeLog for Gentoo base-profile
> >> >  # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
> >> > -# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.564 
> >> > 2013/07/17 15:23:53 chithanh Exp $
> >> > +# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.565 
> >> > 2013/07/19 15:04:28 idella4 Exp $
> >> > +
> >> > +  19 Jul 2013; Ian Delaney 
> >> > +  package.use.force:
> >> > +  Add flags for new pypy-bin
> >> >
> >> >17 Jul 2013; Chí-Thanh Christopher Nguyễn 
> >> >package.use.mask:
> >> >
> >> >
> >> >
> >> > 1.37 profiles/base/package.use.force
> >> >
> >> > file : 
> >> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&view=markup
> >> > plain: 
> >> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&content-type=text/plain
> >> > diff : 
> >> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?r1=1.36&r2=1.37
> >> >
> >> > Index: package.use.force
> >> > ===
> >> > RCS file: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v
> >> > retrieving revision 1.36
> >> > retrieving revision 1.37
> >> > diff -u -r1.36 -r1.37
> >> > --- package.use.force   9 Jul 2013 17:47:25 -   1.36
> >> > +++ package.use.force   19 Jul 2013 15:04:28 -  1.37
> >> > @@ -1,6 +1,10 @@
> >> >  # Copyright 1999-2013 Gentoo Foundation
> >> >  # Distributed under the terms of the GNU General Public License v2
> >> > -# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 
> >> > 1.36 2013/07/09 17:47:25 graaff Exp $
> >> > +# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 
> >> > 1.37 2013/07/19 15:04:28 idella4 Exp $
> >> > +
> >> > +# Ian Delaney  (17 July 2013)
> >> > +# Selection of IUSE flags for bin build.
> >> > +dev-python/pypy-bin bzip2 ncurses sqlite ssl xml
> >> >
> >> >  # Michał Gorny  (26 Feb 2013)
> >> >  # Meta-packages which use multilib ebuilds always install development
> >> >
> >> >
> >> >
> >> >
> >>
> >> I don't understand that. Why not use +bzip2 +ncurses +sqlite +ssl +xml
> >> in the ebuild?
> >
> > I guess that's because they are not optional :).
> >
> 
> So why are these features behind use flags?

For compatibility with ${PYTHON_USEDEP}. And supposedly we may add more
optionality in the future. That is, if someone has enough resources to
thoroughly investigate the differences between various USE
configurations of pypy.

-- 
Best regards,
Michał Górny


signature.asc
Description: PGP signature


Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/base: ChangeLog package.use.force

2013-07-19 Thread Ciaran McCreesh
On Fri, 19 Jul 2013 18:05:35 +0200
Michał Górny  wrote:
> > So why are these features behind use flags?
> 
> For compatibility with ${PYTHON_USEDEP}.

Why not fix PYTHON_USEDEP?

-- 
Ciaran McCreesh


signature.asc
Description: PGP signature


Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/base: ChangeLog package.use.force

2013-07-19 Thread Michał Górny
Dnia 2013-07-19, o godz. 16:11:52
Markos Chandras  napisał(a):

> On 19 July 2013 16:04, Ian Delaney (idella4)  wrote:
> > idella4 13/07/19 15:04:28
> >
> >   Modified: ChangeLog package.use.force
> >   Log:
> >   Add entry to force use flags for pypy-bin
> >
> > Revision  ChangesPath
> > 1.565profiles/base/ChangeLog
> >
> > file : 
> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&view=markup
> > plain: 
> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&content-type=text/plain
> > diff : 
> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?r1=1.564&r2=1.565
> >
> > Index: ChangeLog
> > ===
> > RCS file: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v
> > retrieving revision 1.564
> > retrieving revision 1.565
> > diff -u -r1.564 -r1.565
> > --- ChangeLog   17 Jul 2013 15:23:53 -  1.564
> > +++ ChangeLog   19 Jul 2013 15:04:28 -  1.565
> > @@ -1,6 +1,10 @@
> >  # ChangeLog for Gentoo base-profile
> >  # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
> > -# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.564 
> > 2013/07/17 15:23:53 chithanh Exp $
> > +# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.565 
> > 2013/07/19 15:04:28 idella4 Exp $
> > +
> > +  19 Jul 2013; Ian Delaney 
> > +  package.use.force:
> > +  Add flags for new pypy-bin
> >
> >17 Jul 2013; Chí-Thanh Christopher Nguyễn 
> >package.use.mask:
> >
> >
> >
> > 1.37 profiles/base/package.use.force
> >
> > file : 
> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&view=markup
> > plain: 
> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&content-type=text/plain
> > diff : 
> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?r1=1.36&r2=1.37
> >
> > Index: package.use.force
> > ===
> > RCS file: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v
> > retrieving revision 1.36
> > retrieving revision 1.37
> > diff -u -r1.36 -r1.37
> > --- package.use.force   9 Jul 2013 17:47:25 -   1.36
> > +++ package.use.force   19 Jul 2013 15:04:28 -  1.37
> > @@ -1,6 +1,10 @@
> >  # Copyright 1999-2013 Gentoo Foundation
> >  # Distributed under the terms of the GNU General Public License v2
> > -# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.36 
> > 2013/07/09 17:47:25 graaff Exp $
> > +# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.37 
> > 2013/07/19 15:04:28 idella4 Exp $
> > +
> > +# Ian Delaney  (17 July 2013)
> > +# Selection of IUSE flags for bin build.
> > +dev-python/pypy-bin bzip2 ncurses sqlite ssl xml
> >
> >  # Michał Gorny  (26 Feb 2013)
> >  # Meta-packages which use multilib ebuilds always install development
> >
> >
> >
> >
> 
> I don't understand that. Why not use +bzip2 +ncurses +sqlite +ssl +xml
> in the ebuild?

I guess that's because they are not optional :).

-- 
Best regards,
Michał Górny


signature.asc
Description: PGP signature


Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/base: ChangeLog package.use.force

2013-07-19 Thread Alex Xu
On 19/07/13 11:46 AM, Michał Górny wrote:
> Dnia 2013-07-19, o godz. 16:11:52
> Markos Chandras  napisał(a):
> 
>> On 19 July 2013 16:04, Ian Delaney (idella4)  wrote:
>>> idella4 13/07/19 15:04:28
>>>
>>>   Modified: ChangeLog package.use.force
>>>   Log:
>>>   Add entry to force use flags for pypy-bin
>>>
>>> Revision  ChangesPath
>>> 1.565profiles/base/ChangeLog
>>>
>>> file : 
>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&view=markup
>>> plain: 
>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&content-type=text/plain
>>> diff : 
>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?r1=1.564&r2=1.565
>>>
>>> Index: ChangeLog
>>> ===
>>> RCS file: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v
>>> retrieving revision 1.564
>>> retrieving revision 1.565
>>> diff -u -r1.564 -r1.565
>>> --- ChangeLog   17 Jul 2013 15:23:53 -  1.564
>>> +++ ChangeLog   19 Jul 2013 15:04:28 -  1.565
>>> @@ -1,6 +1,10 @@
>>>  # ChangeLog for Gentoo base-profile
>>>  # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
>>> -# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.564 
>>> 2013/07/17 15:23:53 chithanh Exp $
>>> +# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.565 
>>> 2013/07/19 15:04:28 idella4 Exp $
>>> +
>>> +  19 Jul 2013; Ian Delaney 
>>> +  package.use.force:
>>> +  Add flags for new pypy-bin
>>>
>>>17 Jul 2013; Chí-Thanh Christopher Nguyễn 
>>>package.use.mask:
>>>
>>>
>>>
>>> 1.37 profiles/base/package.use.force
>>>
>>> file : 
>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&view=markup
>>> plain: 
>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&content-type=text/plain
>>> diff : 
>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?r1=1.36&r2=1.37
>>>
>>> Index: package.use.force
>>> ===
>>> RCS file: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v
>>> retrieving revision 1.36
>>> retrieving revision 1.37
>>> diff -u -r1.36 -r1.37
>>> --- package.use.force   9 Jul 2013 17:47:25 -   1.36
>>> +++ package.use.force   19 Jul 2013 15:04:28 -  1.37
>>> @@ -1,6 +1,10 @@
>>>  # Copyright 1999-2013 Gentoo Foundation
>>>  # Distributed under the terms of the GNU General Public License v2
>>> -# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.36 
>>> 2013/07/09 17:47:25 graaff Exp $
>>> +# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.37 
>>> 2013/07/19 15:04:28 idella4 Exp $
>>> +
>>> +# Ian Delaney  (17 July 2013)
>>> +# Selection of IUSE flags for bin build.
>>> +dev-python/pypy-bin bzip2 ncurses sqlite ssl xml
>>>
>>>  # Michał Gorny  (26 Feb 2013)
>>>  # Meta-packages which use multilib ebuilds always install development
>>>
>>>
>>>
>>>
>>
>> I don't understand that. Why not use +bzip2 +ncurses +sqlite +ssl +xml
>> in the ebuild?
> 
> I guess that's because they are not optional :).
> 

I still don't understand. If they are required to build pypy-bin, why
are they USE flags?

If they are not required, but build breaks without them, then there
should be a bug #.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/base: ChangeLog package.use.force

2013-07-19 Thread Ciaran McCreesh
On Fri, 19 Jul 2013 10:58:05 -0500
Gordon Pettey  wrote:
> > So why are these features behind use flags?
> 
> Wild guess: It's -bin. It's built with those flags. You can't choose
> to install it with flags other than what it was built with.

So why does it have use flags?

-- 
Ciaran McCreesh


signature.asc
Description: PGP signature


Re: [gentoo-dev] Running tests using virtualx.eclass should be allowed to be forced to run in virtual X always

2013-07-19 Thread Diego Elio Pettenò
On Fri, Jul 19, 2013 at 1:20 PM, Fabio Erculiani  wrote:

> Even though there is that 1% of cases in where you want to have
> non-deterministic tests. For instance, if you want to run the same
> test thousands of times and randomly pick an initial state to see if
> you spot a "scenario" in where you have problems (concurrency
> problems)... :-)
>

Not during packaging. Those are developer tests. Yes there are difference
between the two. But as Ian said, we're off-topic now ;)

Diego Elio Pettenò — Flameeyes
flamee...@flameeyes.eu — http://blog.flameeyes.eu/


[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in profiles/base: ChangeLog package.use.force

2013-07-19 Thread Markos Chandras
On 19 July 2013 16:04, Ian Delaney (idella4)  wrote:
> idella4 13/07/19 15:04:28
>
>   Modified: ChangeLog package.use.force
>   Log:
>   Add entry to force use flags for pypy-bin
>
> Revision  ChangesPath
> 1.565profiles/base/ChangeLog
>
> file : 
> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&view=markup
> plain: 
> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?rev=1.565&content-type=text/plain
> diff : 
> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/ChangeLog?r1=1.564&r2=1.565
>
> Index: ChangeLog
> ===
> RCS file: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v
> retrieving revision 1.564
> retrieving revision 1.565
> diff -u -r1.564 -r1.565
> --- ChangeLog   17 Jul 2013 15:23:53 -  1.564
> +++ ChangeLog   19 Jul 2013 15:04:28 -  1.565
> @@ -1,6 +1,10 @@
>  # ChangeLog for Gentoo base-profile
>  # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
> -# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.564 
> 2013/07/17 15:23:53 chithanh Exp $
> +# $Header: /var/cvsroot/gentoo-x86/profiles/base/ChangeLog,v 1.565 
> 2013/07/19 15:04:28 idella4 Exp $
> +
> +  19 Jul 2013; Ian Delaney 
> +  package.use.force:
> +  Add flags for new pypy-bin
>
>17 Jul 2013; Chí-Thanh Christopher Nguyễn 
>package.use.mask:
>
>
>
> 1.37 profiles/base/package.use.force
>
> file : 
> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&view=markup
> plain: 
> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?rev=1.37&content-type=text/plain
> diff : 
> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/base/package.use.force?r1=1.36&r2=1.37
>
> Index: package.use.force
> ===
> RCS file: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v
> retrieving revision 1.36
> retrieving revision 1.37
> diff -u -r1.36 -r1.37
> --- package.use.force   9 Jul 2013 17:47:25 -   1.36
> +++ package.use.force   19 Jul 2013 15:04:28 -  1.37
> @@ -1,6 +1,10 @@
>  # Copyright 1999-2013 Gentoo Foundation
>  # Distributed under the terms of the GNU General Public License v2
> -# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.36 
> 2013/07/09 17:47:25 graaff Exp $
> +# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.37 
> 2013/07/19 15:04:28 idella4 Exp $
> +
> +# Ian Delaney  (17 July 2013)
> +# Selection of IUSE flags for bin build.
> +dev-python/pypy-bin bzip2 ncurses sqlite ssl xml
>
>  # Michał Gorny  (26 Feb 2013)
>  # Meta-packages which use multilib ebuilds always install development
>
>
>
>

I don't understand that. Why not use +bzip2 +ncurses +sqlite +ssl +xml
in the ebuild?

--
Regards,
Markos Chandras - Gentoo Linux Developer
http://dev.gentoo.org/~hwoarang



Re: [gentoo-dev] Running tests using virtualx.eclass should be allowed to be forced to run in virtual X always

2013-07-19 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 19/07/13 08:20 AM, Fabio Erculiani wrote:
> On Fri, Jul 19, 2013 at 1:40 PM, Diego Elio Pettenò 
>  wrote:
>> [...]
> 
>> And non-deterministic tests are stupid, useless, broken tests.
> 
> Amen. Even though there is that 1% of cases in where you want to
> have non-deterministic tests. For instance, if you want to run the
> same test thousands of times and randomly pick an initial state to
> see if you spot a "scenario" in where you have problems
> (concurrency problems)... :-)

You still want those tests to be deterministic though -- ie, imo it's
better to run through a very large set of test-cases in some sort of
repeatable order, than to rely on randomization.  At least then you
know the cases where it succeeds and the cases where it is
unknown/untested.

..but this is getting off-topic.  :)

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.20 (GNU/Linux)

iF4EAREIAAYFAlHpPGwACgkQ2ugaI38ACPD4TgD+MQJwHU4U6mT98Gz28WzuCK0Q
U6P5h1PzJVWdU1Zpd58A/R1TEhIXMX2P/NV3w2wHerdVQKyrX2/CqjQyHTKhd7AC
=jUtf
-END PGP SIGNATURE-



Re: [gentoo-dev] Running tests using virtualx.eclass should be allowed to be forced to run in virtual X always

2013-07-19 Thread Fabio Erculiani
On Fri, Jul 19, 2013 at 1:40 PM, Diego Elio Pettenò
 wrote:
> [...]

> And non-deterministic tests are stupid, useless, broken tests.

Amen.
Even though there is that 1% of cases in where you want to have
non-deterministic tests. For instance, if you want to run the same
test thousands of times and randomly pick an initial state to see if
you spot a "scenario" in where you have problems (concurrency
problems)... :-)

>
>
> Diego Elio Pettenò — Flameeyes
> flamee...@flameeyes.eu — http://blog.flameeyes.eu/



-- 
Fabio Erculiani



Re: [gentoo-dev] Running tests using virtualx.eclass should be allowed to be forced to run in virtual X always

2013-07-19 Thread Diego Elio Pettenò
On Fri, Jul 19, 2013 at 7:50 AM, Pacho Ramos  wrote:

>
> Wouldn't be better to make that tests *always* use virtual X?


As Patrick said, yes, if they don't they are broken. Especially so if Xvfb
does not represent a modern X anymore, as that would mean that tests will
behave differently depending on where you launch them.

And non-deterministic tests are stupid, useless, broken tests.


Diego Elio Pettenò — Flameeyes
flamee...@flameeyes.eu — http://blog.flameeyes.eu/


Re: [gentoo-dev] Running tests using virtualx.eclass should be allowed to be forced to run in virtual X always

2013-07-19 Thread Chí-Thanh Christopher Nguyễn
Pacho Ramos schrieb:
> Wouldn't be better to make that tests *always* use virtual X?

One issue could be that Xvfb is not very representative of a modern X
server any more. I am not sure how this affects the validity of the test
results. This problem however exists already with all virtualx users on
headless machines (bug 409925 might address this to some degree).

You are right that using always Xvfb would be much less annoying to
someone running tests on his desktop computer.


Best regards,
Chí-Thanh Christopher Nguyễn




Re: [gentoo-dev] Running tests using virtualx.eclass should be allowed to be forced to run in virtual X always

2013-07-19 Thread Patrick Lauer
On 07/19/2013 02:50 PM, Pacho Ramos wrote:
> The problem I hit usually:
> 
> There are some packages that rely on X for some tests, that way, when I
> for example emerge tk, it's nearly impossible to keep working because I
> get tons of windows opened and closed. 
> 
> Wouldn't be better to make that tests *always* use virtual X?

Yes. Any that do not are defective and need to be fixed.