Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-18 Thread Ralph Seichter
* Neil Bothwick:

> That's because ~ doesn't mean unstable, it means testing. Stable in
> this context means less likely to change, not less likely to fall
> over. Plus the differentiation is for the ebuilds, not the software
> itself.

It is also worth mentioning that ebuilds cannot be added to the tree
with "stable" flags, at least not by unprivileged contributors such as
myself.

If, for example, there is an upstream bugfix release, I will copy my
existing ebuild because neither build process nor dependencies have
changed one bit, but I am required to change keywords to unstable
anyway.

Switching to stable would require a second pull request after at least a
month has passed, and many contributors just don't bother with that.

-Ralph



Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-18 Thread Neil Bothwick
On Sun, 18 Nov 2018 00:33:41 -0500, Andrew Udvare wrote:

> I switched fully to ACCEPT_KEYWORDS="~amd64" (make.conf) after running
> mixed for a while. These kinds of issues come up too often and I don't
> have a lot of time to solve them, plus for my dev machine I just don't
> notice stable vs unstable most of the time. If something is truly
> unstable from my own experience I will mask that version and downgrade.

That's because ~ doesn't mean unstable, it means testing. Stable in this
context means less likely to change, not less likely to fall over. Plus
the differentiation is for the ebuilds, not the software itself. You can
have a rock solid program still in the testing tree.


-- 
Neil Bothwick

There is absolutely no substitute for a genuine lack of preparation.


pgpAZTd8AXIxs.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Grant Taylor

On 11/17/2018 10:33 PM, Andrew Udvare wrote:
I switched fully to ACCEPT_KEYWORDS="~amd64" (make.conf) after running 
mixed for a while. These kinds of issues come up too often and I don't 
have a lot of time to solve them, plus for my dev machine I just don't 
notice stable vs unstable most of the time. If something is truly unstable 
from my own experience I will mask that version and downgrade.


I've occasionally thought about doing that.  I've just not pulled the 
trigger on that yet.  I think I added ~amd64 to ACCEPT_KEYWORDS and 
looked at how many packages were going to change, got busy / needed to 
do something else at the time, and reverted with the decision to tackle 
it some other day.  That day hasn't come yet.


My recommendation would be to switch over to ~amd64 for a workstation 
generally. On my home server I run stable with a few unmasks, but most 
of the time these are packages that have no dependencies.


ACK

Thank you for sharing your experience, your opinion, and your help.



--
Grant. . . .
unix || die



Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Andrew Udvare
On 18/11/2018 00:23, Grant Taylor wrote:
> 
> I'm not completely sure what that means.  I'm guessing you're asking
> about accept_keywords.  I'm mostly (?) running stock amd64.  I have
> added ~amd64 to some packages for various reasons over the 2+ years that
> this install has been around.

I switched fully to ACCEPT_KEYWORDS="~amd64" (make.conf) after running
mixed for a while. These kinds of issues come up too often and I don't
have a lot of time to solve them, plus for my dev machine I just don't
notice stable vs unstable most of the time. If something is truly
unstable from my own experience I will mask that version and downgrade.

My recommendation would be to switch over to ~amd64 for a workstation
generally. On my home server I run stable with a few unmasks, but most
of the time these are packages that have no dependencies.

-- 
Andrew



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Grant Taylor

On 11/17/2018 10:13 PM, Andrew Udvare wrote:

It looks like you need to unmask virtual/cargo because you need to have
virtual/cargo 1.30.1. These version numbers have to match.


That seems to have done it.

I added virtual/cargo to /etc/portage/package.accept_keywords/cargo 
which did have dev-util/cargo ~amd64.  It now also has virtual/cargo ~amd64.


Now emerge -aDuN @world seems to be happy and is currently emerge: (2 of 3).

Thank you for your help.  :-)


Are you running a mixed keyworded system?


I'm not completely sure what that means.  I'm guessing you're asking 
about accept_keywords.  I'm mostly (?) running stock amd64.  I have 
added ~amd64 to some packages for various reasons over the 2+ years that 
this install has been around.


I don't remember adding ~amd64 for dev-util/cargo.  I wonder if I added 
it when I wanted to try the newer Firefox.



Once you unmask, you can install what you need for Firefox/Thunderbird
beforehand:

emerge -1 virtual/cargo dev-lang/rust


emerge -aDuN @world is now happy (or at least not blocking / erroring 
out) and compiling things as I type this email.


Thank you again, everybody, for your help.  :-)



--
Grant. . . .
unix || die



Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Andrew Udvare
On 17/11/2018 23:53, Grant Taylor wrote:
> On 11/17/2018 07:58 PM, Adam Carter wrote:
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N ] dev-util/cargo-0.30.0  USE="-debug -doc -libressl"
> ABI_X86="(64) -32 (-x32)"
> [ebuild  N ] virtual/cargo-1.29.1
> [blocks B  ] dev-util/cargo ("dev-util/cargo" is blocking
> dev-lang/rust-1.30.1-r1)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (dev-util/cargo-0.30.0:0/0::gentoo, ebuild scheduled for merge) pulled
> in by
>     =dev-util/cargo-0.30.0* required by
> (virtual/cargo-1.29.1:0/0::gentoo, ebuild scheduled for merge)
> 
>   (dev-lang/rust-1.30.1-r1:stable/1.30::gentoo, installed) pulled in by
>     =dev-lang/rust-1.30.1* required by (virtual/rust-1.30.1:0/0::gentoo,
> installed)

It looks like you need to unmask virtual/cargo because you need to have
virtual/cargo 1.30.1. These version numbers have to match. Are you
running a mixed keyworded system?

Once you unmask, you can install what you need for Firefox/Thunderbird
beforehand:

emerge -1 virtual/cargo dev-lang/rust

--
Andrew Udvare



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Grant Taylor

On 11/17/2018 07:58 PM, Adam Carter wrote:

Do you have  virtual/cargo installed?


Not presently.

I removed the following packages as part of troubleshooting.

dev-util/cargo virtual/cargo dev-lang/rust virtual/rust

I then (re)installed dev-lang/rust per Andrew U.'s recommendation.

Sorry posted too soon. After you install it, it should be satisfied by 
dev-lang/rust-1.30.1-r1 so you no longer need dev-util/cargo


#[5831:root@alpha:~][1]# emerge -aDuN virtual/cargo

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] dev-util/cargo-0.30.0  USE="-debug -doc -libressl" 
ABI_X86="(64) -32 (-x32)"

[ebuild  N ] virtual/cargo-1.29.1
[blocks B  ] dev-util/cargo ("dev-util/cargo" is blocking 
dev-lang/rust-1.30.1-r1)


 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-util/cargo-0.30.0:0/0::gentoo, ebuild scheduled for merge) 
pulled in by
=dev-util/cargo-0.30.0* required by 
(virtual/cargo-1.29.1:0/0::gentoo, ebuild scheduled for merge)


  (dev-lang/rust-1.30.1-r1:stable/1.30::gentoo, installed) pulled in by
=dev-lang/rust-1.30.1* required by 
(virtual/rust-1.30.1:0/0::gentoo, installed)



For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages



#[5835:root@alpha:~]# equery y dev-util/cargo virtual/cargo 
dev-lang/rust virtual/rust

Keywords for dev-util/cargo:
   |   a |   |
   |   m |   |
   |   d   x |   |
   |   6   8 |   |
   |   4   6 |   u   |
   | a a   a p   s |   | |   n   |
   | l m   r i   p   h m s   p f m f | e u s | r
   | p d a m a p c x p 6 3   a b i b | a s l | e
   | h 6 r 6 6 p 6 8 p 8 9 s r s p s | p e o | p
   | a 4 m 4 4 c 4 6 a k 0 h c d s d | i d t | o
---+-+---+---
0.30.0 | o + o ~ o o o + o o o o o o o o | 6 o 0 | gentoo
Keywords for virtual/cargo:
   |   a |   |
   |   m |   |
   |   d   x |   |
   |   6   8 |   |
   |   4   6 |   u   |
   | a a   a p   s |   | |   n   |
   | l m   r i   p   h m s   p f m f | e u s | r
   | p d a m a p c x p 6 3   a b i b | a s l | e
   | h 6 r 6 6 p 6 8 p 8 9 s r s p s | p e o | p
   | a 4 m 4 4 c 4 6 a k 0 h c d s d | i d t | o
---+-+---+---
1.29.1 | o + o ~ o o o + o o o o o o o o | 7 o 0 | gentoo
1.29.2 | o ~ o ~ o o o ~ o o o o o o o o | 7 #   | gentoo
1.30.1 | o ~ o ~ o o o ~ o o o o o o o o | 7 o   | gentoo
Keywords for dev-lang/rust:
 |   a | |
 |   m | |
 |   d   x | |
 |   6   8 | |
 |   4   6 |   u |
 | a a   a p   s |   | |   n |
 | l m   r i   p   h m s   p f m f | e u s   | r
 | p d a m a p c x p 6 3   a b i b | a s l   | e
 | h 6 r 6 6 p 6 8 p 8 9 s r s p s | p e o   | p
 | a 4 m 4 4 c 4 6 a k 0 h c d s d | i d t   | o
-+-+-+---
   1.29.1-r1 | o + o ~ o o o + o o o o o o o o | 6 o stable/1.29 | gentoo
   1.29.2-r1 | o ~ o ~ o o o ~ o o o o o o o o | 6 o | gentoo
-+-+-+---
[I]1.30.1-r1 | o ~ o ~ o o o ~ o o o o o o o o | 6 o stable/1.30 | gentoo
Keywords for virtual/rust:
  |   a |   |
  |   m |   |
  |   d   x |   |
  |   6   8 |   |
  |   4   6 |   u   |
  | a a   a p   s |   | |   n   |
  | l m   r i   p   h m s   p f m f | e u s | r
  | p d a m a p c x p 6 3   a b i b | a s l | e
  | h 6 r 6 6 p 6 8 p 8 9 s r s p s | p e o | p
  | a 4 m 4 4 c 4 6 a k 0 h c d s d | i d t | o
--+-+---+---
   1.29.1 | o + o ~ o o o + o o o o o o o o | 7 o 0 | gentoo
   1.29.2 | o ~ o ~ o o o ~ o o o o o o o o | 7 #   | gentoo
[I]1.30.1 | o ~ o ~ o o o ~ o o o o o o o o 

Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Adam Carter
On Sun, Nov 18, 2018 at 1:55 PM Adam Carter  wrote:

> On Sun, Nov 18, 2018 at 1:52 PM Grant Taylor <
> gtay...@gentoo.tnetconsulting.net> wrote:
>
>> On 11/17/2018 06:11 PM, Andrew Udvare wrote:
>> > Uninstall dev-util/cargo and emerge -1 dev-lang/rust. dev-lang/rust
>> > comes with Cargo.
>>
>> Hum.  That didn't solve the problem.
>>
>
> Do you have  virtual/cargo installed?
>

Sorry posted too soon. After you install it, it should be satisfied by
dev-lang/rust-1.30.1-r1 so you no longer need dev-util/cargo


Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Adam Carter
On Sun, Nov 18, 2018 at 1:52 PM Grant Taylor <
gtay...@gentoo.tnetconsulting.net> wrote:

> On 11/17/2018 06:11 PM, Andrew Udvare wrote:
> > Uninstall dev-util/cargo and emerge -1 dev-lang/rust. dev-lang/rust
> > comes with Cargo.
>
> Hum.  That didn't solve the problem.
>

Do you have  virtual/cargo installed?


Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Adam Carter
>
> > I also had to
> >
> >  ln -s /usr/bin/cargo-1.30.1 /usr/bin/cargo
> >
> > To get things working, YMMV.
>
> The correct way is to run `eselect rust set 1`. There are other symlinks
> besides cargo.
>
>
That was already set for me,  but i re-ran it, and atime on the symlink was
reset. Thanks.


Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Grant Taylor

On 11/17/2018 06:11 PM, Andrew Udvare wrote:
Uninstall dev-util/cargo and emerge -1 dev-lang/rust. dev-lang/rust 
comes with Cargo.


Hum.  That didn't solve the problem.

#[5828:root@alpha:~]# eselect rust list
Available Rust versions:
  [1]   rust-1.30.1 *
#[5829:root@alpha:~]# emerge -aDuN @world

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] dev-util/cargo-0.30.0  USE="-debug -doc -libressl" 
ABI_X86="(64) -32 (-x32)"

[ebuild  N ] virtual/cargo-1.29.1
[ebuild U  ] mail-client/thunderbird-60.3.0 [52.9.1] USE="-clang% 
-jack%"

[ebuild UD ] www-client/firefox-60.3.0-r1 [63.0.1]
[blocks B  ] dev-util/cargo ("dev-util/cargo" is blocking 
dev-lang/rust-1.30.1-r1)


 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-util/cargo-0.30.0:0/0::gentoo, ebuild scheduled for merge) 
pulled in by
=dev-util/cargo-0.30.0* required by 
(virtual/cargo-1.29.1:0/0::gentoo, ebuild scheduled for merge)


  (dev-lang/rust-1.30.1-r1:stable/1.30::gentoo, installed) pulled in by
=dev-lang/rust-1.30.1* required by 
(virtual/rust-1.30.1:0/0::gentoo, installed)

dev-lang/rust required by @selected


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages



--
Grant. . . .
unix || die



Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Andrew Udvare


> On 2018-11-17, at 20:16, Adam Carter  wrote:
> 
> > On 2018-11-17, at 19:24, Grant Taylor  
> > wrote:
> > 
> > So, will someone help me fix this cargo / rust blockage so that I can 
> > finish my @world emerge?
> 
> Uninstall dev-util/cargo and emerge -1 dev-lang/rust. dev-lang/rust comes 
> with Cargo. 
> 
> 
> I also had to
> 
>  ln -s /usr/bin/cargo-1.30.1 /usr/bin/cargo
> 
> To get things working, YMMV.

The correct way is to run `eselect rust set 1`. There are other symlinks 
besides cargo.

-- 
Andrew Udvare



Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Adam Carter
>
> > On 2018-11-17, at 19:24, Grant Taylor 
> wrote:
> >
> > So, will someone help me fix this cargo / rust blockage so that I can
> finish my @world emerge?
>
> Uninstall dev-util/cargo and emerge -1 dev-lang/rust. dev-lang/rust comes
> with Cargo.
>
>
I also had to

 ln -s /usr/bin/cargo-1.30.1 /usr/bin/cargo

To get things working, YMMV.


Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Andrew Udvare



> On 2018-11-17, at 19:24, Grant Taylor  
> wrote:
> 
> So, will someone help me fix this cargo / rust blockage so that I can finish 
> my @world emerge?

Uninstall dev-util/cargo and emerge -1 dev-lang/rust. dev-lang/rust comes with 
Cargo. 

-- 
Andrew Udvare