Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Sam Jorna
On 03/06/17 00:39, Rich Freeman wrote:
> On Fri, Jun 2, 2017 at 9:17 AM, Sam Jorna  wrote:
>> On 02/06/17 23:09, Rich Freeman wrote:
>>> The stage3 make.conf shouldn't include this.  Now, if you copied your
>>> make.conf from some other source like a LiveCD then that could explain
>>> where it came from.  The flag was actually invented mainly for things
>>> like LiveCDs, and these are all built using USE=bindist (we couldn't
>>> legally distribute them otherwise).
>>
>> The stage3 make.conf does include USE=bindist by default, as it includes
>> packages affected by this flag (specifically openssh and openssl). It's
>> required, as I understand, because the stage3 does distribute binaries
>> of these packages, thus must have the patent-encumbered parts disabled.
>>
> 
> Interesting.  It looks like we do set that in make.conf by default now
> - that might be a change from the last time I did an install as I
> didn't have to remove this in the past.

Indeed. I'm not sure when it changed, though it's been this way for a
while. How long that is as compared to your last build... :)

> There is no legal requirement to set bindist in the make.conf
> installed by the stage3.
> 
> There absolutely is a legal requirement to set bindist in the
> make.conf used to BUILD the stage3.  The two do not need to be the
> same.

This is a good point - it's a reasonably common question in #gentoo (or,
more commonly, the conflict it can generate). I think it finds its way
into the stage3's make.conf because it's essentially just the make.conf
used by catalyst, and there's no other significant pressure to change it
since it's bare-bones already, but it might be useful to get it changed.

-- 
Sam Jorna (wraeth) 
GnuPG Key: D6180C26



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Rich Freeman
On Fri, Jun 2, 2017 at 9:17 AM, Sam Jorna  wrote:
> On 02/06/17 23:09, Rich Freeman wrote:
>> The stage3 make.conf shouldn't include this.  Now, if you copied your
>> make.conf from some other source like a LiveCD then that could explain
>> where it came from.  The flag was actually invented mainly for things
>> like LiveCDs, and these are all built using USE=bindist (we couldn't
>> legally distribute them otherwise).
>
> The stage3 make.conf does include USE=bindist by default, as it includes
> packages affected by this flag (specifically openssh and openssl). It's
> required, as I understand, because the stage3 does distribute binaries
> of these packages, thus must have the patent-encumbered parts disabled.
>

Interesting.  It looks like we do set that in make.conf by default now
- that might be a change from the last time I did an install as I
didn't have to remove this in the past.

There is no legal requirement to set bindist in the make.conf
installed by the stage3.

There absolutely is a legal requirement to set bindist in the
make.conf used to BUILD the stage3.  The two do not need to be the
same.

-- 
Rich



Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Hogren
I create my make.conf, it's not a copy. (It's make the error more
stupid,  ^^, so be it).


Thank you !

Hogren
On 02/06/2017 15:17, Sam Jorna wrote:
> On 02/06/17 23:09, Rich Freeman wrote:
>> The stage3 make.conf shouldn't include this.  Now, if you copied your
>> make.conf from some other source like a LiveCD then that could explain
>> where it came from.  The flag was actually invented mainly for things
>> like LiveCDs, and these are all built using USE=bindist (we couldn't
>> legally distribute them otherwise).
> The stage3 make.conf does include USE=bindist by default, as it includes
> packages affected by this flag (specifically openssh and openssl). It's
> required, as I understand, because the stage3 does distribute binaries
> of these packages, thus must have the patent-encumbered parts disabled.
>




Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Sam Jorna
On 02/06/17 23:09, Rich Freeman wrote:
> The stage3 make.conf shouldn't include this.  Now, if you copied your
> make.conf from some other source like a LiveCD then that could explain
> where it came from.  The flag was actually invented mainly for things
> like LiveCDs, and these are all built using USE=bindist (we couldn't
> legally distribute them otherwise).

The stage3 make.conf does include USE=bindist by default, as it includes
packages affected by this flag (specifically openssh and openssl). It's
required, as I understand, because the stage3 does distribute binaries
of these packages, thus must have the patent-encumbered parts disabled.

-- 
Sam Jorna (wraeth) 
GnuPG Key: D6180C26



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Rich Freeman
On Fri, Jun 2, 2017 at 8:55 AM, Daniel Frey  wrote:
> On 06/02/2017 03:08 AM, Hogren wrote:
>> Thank you all for the help.
>>
>> I saw a "bindist" in my global USE flag !
>>
>> I really don't remember when I had that. May be when I saw it for the
>> first time, I said to me "Hey a weak protocol (EC)? disable it !" …
>>
>> For the moment, no more problem !
>>
>>
>> Thank you 
>>
>
> You probably didn't put it there. When I built a new machine some time
> ago I was having similar issues and noticed that as a default in make.conf.
>

The stage3 make.conf shouldn't include this.  Now, if you copied your
make.conf from some other source like a LiveCD then that could explain
where it came from.  The flag was actually invented mainly for things
like LiveCDs, and these are all built using USE=bindist (we couldn't
legally distribute them otherwise).

-- 
Rich



Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Daniel Frey
On 06/02/2017 03:08 AM, Hogren wrote:
> Thank you all for the help.
> 
> I saw a "bindist" in my global USE flag !
> 
> I really don't remember when I had that. May be when I saw it for the
> first time, I said to me "Hey a weak protocol (EC)? disable it !" …
> 
> For the moment, no more problem !
> 
> 
> Thank you 
> 

You probably didn't put it there. When I built a new machine some time
ago I was having similar issues and noticed that as a default in make.conf.

Dan





Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Hogren
Thank you all for the help.

I saw a "bindist" in my global USE flag !

I really don't remember when I had that. May be when I saw it for the
first time, I said to me "Hey a weak protocol (EC)? disable it !" …

For the moment, no more problem !


Thank you 


On 02/06/2017 11:34, Kent Fredric wrote:
> On Fri, 2 Jun 2017 10:55:51 +0200
> Hogren  wrote:
>
>> dev-libs/openssl:0
>>
>>   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
>> pulled in by
>> dev-libs/openssl:0[bindist=] required by
>> (dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
>>   
>>  
>>   
>>
>>
>>   (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
>> >=dev-libs/openssl-0.9.8f:0[bindist=] required by  
>> (net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
>>
> The important thing here is not the version, but the use requirement in
> the [ ]
>
> Consulting `man 5 ebuild` , 
>
>>  foo[bar=]  bar? ( foo[bar] ) !bar? ( foo[-bar] )
> So, this means that:
>
>dev-libs/openssl:0[bindist=]  required by 
> net-misc/openssh-7.3_p1-r7:0/0::gentoo
>
> Interprets as:
>
>is net-misc/openssh built with USE=bindist?
>   yes ->
>  require dev-libs/openssl be built with USE=bindist
>   no ->
>  require dev-libs/openssl be built WITHOUT USE=bindist
>
> In short, the USE setting for openssl and openssh must have the same
> value for USE=bindist
>
> And also, dev-qt/qtnetwork also has the same constraint.
>
> Thus, you need to configure the USE=bindist flag for all of:
>
>   dev-libs/openssl
>   dev-qt/qtnetwork
>   net-misc/openssh
>
> Either be all USE=bindist or USE=-bindist
>
> *hopefully* that's enough information for you to solve your issue,
> but if not, I can expand upon request, if you state what parts you
> don't understand
> :)
>




Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Kent Fredric
On Fri, 2 Jun 2017 10:55:51 +0200
Hogren  wrote:

> dev-libs/openssl:0
> 
>   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
> pulled in by
> dev-libs/openssl:0[bindist=] required by
> (dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
>   
>   
>  
> 
> 
>   (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
> >=dev-libs/openssl-0.9.8f:0[bindist=] required by  
> (net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
>

The important thing here is not the version, but the use requirement in
the [ ]

Consulting `man 5 ebuild` , 

>  foo[bar=]  bar? ( foo[bar] ) !bar? ( foo[-bar] )

So, this means that:

   dev-libs/openssl:0[bindist=]  required by 
net-misc/openssh-7.3_p1-r7:0/0::gentoo

Interprets as:

   is net-misc/openssh built with USE=bindist?
  yes ->
 require dev-libs/openssl be built with USE=bindist
  no ->
 require dev-libs/openssl be built WITHOUT USE=bindist

In short, the USE setting for openssl and openssh must have the same
value for USE=bindist

And also, dev-qt/qtnetwork also has the same constraint.

Thus, you need to configure the USE=bindist flag for all of:

  dev-libs/openssl
  dev-qt/qtnetwork
  net-misc/openssh

Either be all USE=bindist or USE=-bindist

*hopefully* that's enough information for you to solve your issue,
but if not, I can expand upon request, if you state what parts you
don't understand
:)



pgpjEyLDkfATC.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Neil Bothwick
On Fri, 2 Jun 2017 10:59:51 +0200, Hogren wrote:

> Sorry for the lack of courtesy !!
> 
> I hope that someone can help me.

You've already been given a useful pointer, disable bindist globally.
Unless you are building a distro for redistribution, there is no need
for this flag to be on globally. 

> Thank you very very much for your help !!
> 
> 
> Hogren
> 
> 
> On 02/06/2017 10:55, Hogren wrote:
> > Hello list,
> >
> >
> > It's me again about conflicts.
> >
> >
> > I don't understand this conflict, the two needed openssl are the same.
> > Actually, I don't see the difference.
> >
> >
> > gnugnu # emerge --verbose-conflict @preserved-rebuild
> > Calculating dependencies... done!
> > [ebuild   R] dev-libs/openssl-1.0.2k  USE="bindist*"
> > [ebuild   R] sys-devel/binutils-2.25.1-r1
> > [ebuild U  ] sys-libs/talloc-2.1.9 [2.1.5]
> > [ebuild U  ] sys-libs/tdb-1.3.13 [1.3.8]
> > [ebuild U  ] sys-libs/tevent-0.9.31-r1 [0.9.28]
> > [ebuild  N ] dev-python/subunit-1.2.0-r1  USE="-static-libs
> > {-test}" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7
> > python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
> > [ebuild  N ] dev-qt/qtnetwork-5.6.2  USE="bindist ssl -connman
> > -debug -libproxy -networkmanager {-test}"
> > [ebuild U  ] sys-libs/ldb-1.1.29-r1 [1.1.26] USE="ldap%* python%*"
> > [ebuild   R] dev-qt/qtxmlpatterns-5.6.2
> > [ebuild   R] dev-qt/qtwebkit-5.6.2
> > [ebuild   R   ~] net-misc/teamviewer-9.0.32150
> > [ebuild U  ] net-fs/samba-4.5.10 [4.2.14] USE="-gpg%
> > (-system-heimdal) -zeroconf%"
> > [ebuild   R] media-gfx/blender-2.72b-r4
> > [ebuild   R   ~] media-gfx/wkhtmltopdf-0.12.4
> > [ebuild U ~] www-client/firefox-53.0.3 [52.0.1-r1]
> > [ebuild U  ] app-office/libreoffice-5.2.7.2 [5.2.3.3-r1]
> > PYTHON_SINGLE_TARGET="python3_4* -python2_7*"
> > [ebuild   R] net-ftp/filezilla-3.12.0.2
> > [ebuild   R] media-gfx/gimp-2.8.14-r2
> > [ebuild  N ] x11-plugins/enigmail-1.9.6.1-r1
> > [ebuild U  ] mail-client/thunderbird-45.8.0 [45.7.0]
> > [blocks b  ] x11-plugins/enigmail ("x11-plugins/enigmail" is
> > blocking mail-client/thunderbird-45.7.0)
> >
> > !!! Multiple package instances within a single package slot have been
> > pulled !!! into the dependency graph, resulting in a slot conflict:
> >
> > dev-libs/openssl:0
> >
> >   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
> > pulled in by
> > dev-libs/openssl:0[bindist=] required by
> > (dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
> >   
> > 
> >
> >
> >
> >   (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by  
> > >=dev-libs/openssl-0.9.8f:0[bindist=] required by  
> > (net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
> >
> > 
> > 
> >
> >
> >
> > Hogren
> >
> >
> >  
> 
> 




-- 
Neil Bothwick

Suicidal twin kills sister by mistake!


pgpeyfMUEwPRJ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Hogren
Sorry for the lack of courtesy !!

I hope that someone can help me.


Thank you very very much for your help !!


Hogren


On 02/06/2017 10:55, Hogren wrote:
> Hello list,
>
>
> It's me again about conflicts.
>
>
> I don't understand this conflict, the two needed openssl are the same.
> Actually, I don't see the difference.
>
>
> gnugnu # emerge --verbose-conflict @preserved-rebuild
> Calculating dependencies... done!
> [ebuild   R] dev-libs/openssl-1.0.2k  USE="bindist*"
> [ebuild   R] sys-devel/binutils-2.25.1-r1
> [ebuild U  ] sys-libs/talloc-2.1.9 [2.1.5]
> [ebuild U  ] sys-libs/tdb-1.3.13 [1.3.8]
> [ebuild U  ] sys-libs/tevent-0.9.31-r1 [0.9.28]
> [ebuild  N ] dev-python/subunit-1.2.0-r1  USE="-static-libs {-test}"
> ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4 (-pypy)
> (-pypy3) (-python3_5) (-python3_6)"
> [ebuild  N ] dev-qt/qtnetwork-5.6.2  USE="bindist ssl -connman
> -debug -libproxy -networkmanager {-test}"
> [ebuild U  ] sys-libs/ldb-1.1.29-r1 [1.1.26] USE="ldap%* python%*"
> [ebuild   R] dev-qt/qtxmlpatterns-5.6.2
> [ebuild   R] dev-qt/qtwebkit-5.6.2
> [ebuild   R   ~] net-misc/teamviewer-9.0.32150
> [ebuild U  ] net-fs/samba-4.5.10 [4.2.14] USE="-gpg%
> (-system-heimdal) -zeroconf%"
> [ebuild   R] media-gfx/blender-2.72b-r4
> [ebuild   R   ~] media-gfx/wkhtmltopdf-0.12.4
> [ebuild U ~] www-client/firefox-53.0.3 [52.0.1-r1]
> [ebuild U  ] app-office/libreoffice-5.2.7.2 [5.2.3.3-r1]
> PYTHON_SINGLE_TARGET="python3_4* -python2_7*"
> [ebuild   R] net-ftp/filezilla-3.12.0.2
> [ebuild   R] media-gfx/gimp-2.8.14-r2
> [ebuild  N ] x11-plugins/enigmail-1.9.6.1-r1
> [ebuild U  ] mail-client/thunderbird-45.8.0 [45.7.0]
> [blocks b  ] x11-plugins/enigmail ("x11-plugins/enigmail" is
> blocking mail-client/thunderbird-45.7.0)
>
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
>
> dev-libs/openssl:0
>
>   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
> pulled in by
> dev-libs/openssl:0[bindist=] required by
> (dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
>   
>   
>  
>
>
>   (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
> >=dev-libs/openssl-0.9.8f:0[bindist=] required by
> (net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
>
>   
>   
>
>
>
> Hogren
>
>
>




[gentoo-user] conflict with same package, same USE

2017-06-02 Thread Hogren
Hello list,


It's me again about conflicts.


I don't understand this conflict, the two needed openssl are the same.
Actually, I don't see the difference.


gnugnu # emerge --verbose-conflict @preserved-rebuild
Calculating dependencies... done!
[ebuild   R] dev-libs/openssl-1.0.2k  USE="bindist*"
[ebuild   R] sys-devel/binutils-2.25.1-r1
[ebuild U  ] sys-libs/talloc-2.1.9 [2.1.5]
[ebuild U  ] sys-libs/tdb-1.3.13 [1.3.8]
[ebuild U  ] sys-libs/tevent-0.9.31-r1 [0.9.28]
[ebuild  N ] dev-python/subunit-1.2.0-r1  USE="-static-libs {-test}"
ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4 (-pypy)
(-pypy3) (-python3_5) (-python3_6)"
[ebuild  N ] dev-qt/qtnetwork-5.6.2  USE="bindist ssl -connman
-debug -libproxy -networkmanager {-test}"
[ebuild U  ] sys-libs/ldb-1.1.29-r1 [1.1.26] USE="ldap%* python%*"
[ebuild   R] dev-qt/qtxmlpatterns-5.6.2
[ebuild   R] dev-qt/qtwebkit-5.6.2
[ebuild   R   ~] net-misc/teamviewer-9.0.32150
[ebuild U  ] net-fs/samba-4.5.10 [4.2.14] USE="-gpg%
(-system-heimdal) -zeroconf%"
[ebuild   R] media-gfx/blender-2.72b-r4
[ebuild   R   ~] media-gfx/wkhtmltopdf-0.12.4
[ebuild U ~] www-client/firefox-53.0.3 [52.0.1-r1]
[ebuild U  ] app-office/libreoffice-5.2.7.2 [5.2.3.3-r1]
PYTHON_SINGLE_TARGET="python3_4* -python2_7*"
[ebuild   R] net-ftp/filezilla-3.12.0.2
[ebuild   R] media-gfx/gimp-2.8.14-r2
[ebuild  N ] x11-plugins/enigmail-1.9.6.1-r1
[ebuild U  ] mail-client/thunderbird-45.8.0 [45.7.0]
[blocks b  ] x11-plugins/enigmail ("x11-plugins/enigmail" is
blocking mail-client/thunderbird-45.7.0)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
pulled in by
dev-libs/openssl:0[bindist=] required by
(dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
  

   


  (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
>=dev-libs/openssl-0.9.8f:0[bindist=] required by
(net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
   





Hogren