Re: [gentoo-user] Emerge does want to tell me...what?

2017-12-03 Thread Adam Carter
On Sun, Dec 3, 2017 at 3:43 PM,  wrote:

> Hi,
>
> I started emerge -e @world
>
> and it stops with this message:
>
> The following mask changes are necessary to proceed:
>  (see "package.unmask" in the portage(5) man page for more details)
> # required by @selected
> # required by @world (argument)
> # /usr/portage/profiles/releases/17.0/package.mask:
> # Andreas K. Huettel  (27 May 2017)
> # In the 17.0 profiles we assume that our system compiler uses C++14
> # or later as default language setting. This means it has to be at
> # least GCC 6. If you need an older compiler for specific purposes,
> # feel free to unmask it, however, using it for normal emerging of
> # packages is neither recommended nor supported in any way.
> =sys-devel/gcc-5.4.0-r3
> # required by @selected
> # required by @world (argument)
> # /usr/portage/profiles/releases/17.0/package.mask:
> # Andreas K. Huettel  (27 May 2017)
> # In the 17.0 profiles we assume that our system compiler uses C++14
> # or later as default language setting. This means it has to be at
> # least GCC 6. If you need an older compiler for specific purposes,
> # feel free to unmask it, however, using it for normal emerging of
> # packages is neither recommended nor supported in any way.
> =sys-devel/gcc-4.9.4
>

If they are installed, make sure they are not active, then uninstall them.


Re: [gentoo-user] Emerge does want to tell me...what?

2017-12-02 Thread Dale
Heiko Baums wrote:
> Am Sun, 3 Dec 2017 06:29:29 +0100
> schrieb tu...@posteo.de:
>
>> I already did this...
> There are two things which emerge can tell you with this message.
>
> 1. It can't find >=sys-devel/gcc-6.4.0 but only older gcc versions.
>
> 2. You have installed a package that depend on sys-devel/gcc-5.4.0-r3
> or sys-devel/gcc-4.9.4.
>
> I already explained what you can do in the first case. In the second
> case I would try to fix (uninstall, rebuild, upgrade or whatever) those
> packages which depend on an outdated gcc. I guess equery is your friend.
>
> Heiko
>
>


One may can add the -t option and see what is pulling it in.  That may,
or may not, lead to a clue. 

Dale

:-)  :-) 



Re: [gentoo-user] Emerge does want to tell me...what?

2017-12-02 Thread Heiko Baums
Am Sun, 3 Dec 2017 06:29:29 +0100
schrieb tu...@posteo.de:

> I already did this...

There are two things which emerge can tell you with this message.

1. It can't find >=sys-devel/gcc-6.4.0 but only older gcc versions.

2. You have installed a package that depend on sys-devel/gcc-5.4.0-r3
or sys-devel/gcc-4.9.4.

I already explained what you can do in the first case. In the second
case I would try to fix (uninstall, rebuild, upgrade or whatever) those
packages which depend on an outdated gcc. I guess equery is your friend.

Heiko



Re: [gentoo-user] Emerge does want to tell me...what?

2017-12-02 Thread tuxic
On 12/03 06:16, Heiko Baums wrote:
> Am Sun, 3 Dec 2017 05:43:39 +0100
> schrieb tu...@posteo.de:
> 
> > Hi,
> > 
> > I started emerge -e @world
> > 
> > and it stops with this message:
> > 
> > The following mask changes are necessary to proceed:
> >  (see "package.unmask" in the portage(5) man page for more details)
> > # required by @selected
> > # required by @world (argument)
> > # /usr/portage/profiles/releases/17.0/package.mask:
> > # Andreas K. Huettel  (27 May 2017)
> > # In the 17.0 profiles we assume that our system compiler uses C++14
> > # or later as default language setting. This means it has to be at
> > # least GCC 6. If you need an older compiler for specific purposes,
> > # feel free to unmask it, however, using it for normal emerging of
> > # packages is neither recommended nor supported in any way.
> > =sys-devel/gcc-5.4.0-r3
> > # required by @selected
> > # required by @world (argument)
> > # /usr/portage/profiles/releases/17.0/package.mask:
> > # Andreas K. Huettel  (27 May 2017)
> > # In the 17.0 profiles we assume that our system compiler uses C++14
> > # or later as default language setting. This means it has to be at
> > # least GCC 6. If you need an older compiler for specific purposes,
> > # feel free to unmask it, however, using it for normal emerging of
> > # packages is neither recommended nor supported in any way.
> > =sys-devel/gcc-4.9.4
> 
> I'd suggest you first do a clean gcc upgrade to gcc-6.4.0 or gcc-7.2.0
> depending on whether you run a stable or a testing system.
> 
> https://wiki.gentoo.org/wiki/Upgrading_GCC
> 
> And then follow exactly the steps in the news item after the step of
> rebuilding gcc.
> 
> Or in detail:
> 
> Run these commands:
> # gcc-config -l
> # gcc-config set 
> # emerge -1 sys-devel/gcc
> # gcc-config -l
> # gcc-config set 
> # source /etc/profile
> # emerge -1 sys-devel/libtool
> # gcc --version
> # emerge --depclean =sys-devel/gcc- [for all installed
> gcc versions except for the latest (6.4.0 or 7.2.0)]
> # emerge -1 sys-devel/binutils
> # emerge -1 sys-libs/glibc
> # emerge -e @world
> 
> Heiko
> 

I already did this...





Re: [gentoo-user] Emerge does want to tell me...what?

2017-12-02 Thread Heiko Baums
Am Sun, 3 Dec 2017 05:43:39 +0100
schrieb tu...@posteo.de:

> Hi,
> 
> I started emerge -e @world
> 
> and it stops with this message:
> 
> The following mask changes are necessary to proceed:
>  (see "package.unmask" in the portage(5) man page for more details)
> # required by @selected
> # required by @world (argument)
> # /usr/portage/profiles/releases/17.0/package.mask:
> # Andreas K. Huettel  (27 May 2017)
> # In the 17.0 profiles we assume that our system compiler uses C++14
> # or later as default language setting. This means it has to be at
> # least GCC 6. If you need an older compiler for specific purposes,
> # feel free to unmask it, however, using it for normal emerging of
> # packages is neither recommended nor supported in any way.
> =sys-devel/gcc-5.4.0-r3
> # required by @selected
> # required by @world (argument)
> # /usr/portage/profiles/releases/17.0/package.mask:
> # Andreas K. Huettel  (27 May 2017)
> # In the 17.0 profiles we assume that our system compiler uses C++14
> # or later as default language setting. This means it has to be at
> # least GCC 6. If you need an older compiler for specific purposes,
> # feel free to unmask it, however, using it for normal emerging of
> # packages is neither recommended nor supported in any way.
> =sys-devel/gcc-4.9.4

I'd suggest you first do a clean gcc upgrade to gcc-6.4.0 or gcc-7.2.0
depending on whether you run a stable or a testing system.

https://wiki.gentoo.org/wiki/Upgrading_GCC

And then follow exactly the steps in the news item after the step of
rebuilding gcc.

Or in detail:

Run these commands:
# gcc-config -l
# gcc-config set 
# emerge -1 sys-devel/gcc
# gcc-config -l
# gcc-config set 
# source /etc/profile
# emerge -1 sys-devel/libtool
# gcc --version
# emerge --depclean =sys-devel/gcc- [for all installed
gcc versions except for the latest (6.4.0 or 7.2.0)]
# emerge -1 sys-devel/binutils
# emerge -1 sys-libs/glibc
# emerge -e @world

Heiko



[gentoo-user] Emerge does want to tell me...what?

2017-12-02 Thread tuxic
Hi,

I started emerge -e @world

and it stops with this message:

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by @selected
# required by @world (argument)
# /usr/portage/profiles/releases/17.0/package.mask:
# Andreas K. Huettel  (27 May 2017)
# In the 17.0 profiles we assume that our system compiler uses C++14
# or later as default language setting. This means it has to be at
# least GCC 6. If you need an older compiler for specific purposes,
# feel free to unmask it, however, using it for normal emerging of
# packages is neither recommended nor supported in any way.
=sys-devel/gcc-5.4.0-r3
# required by @selected
# required by @world (argument)
# /usr/portage/profiles/releases/17.0/package.mask:
# Andreas K. Huettel  (27 May 2017)
# In the 17.0 profiles we assume that our system compiler uses C++14
# or later as default language setting. This means it has to be at
# least GCC 6. If you need an older compiler for specific purposes,
# feel free to unmask it, however, using it for normal emerging of
# packages is neither recommended nor supported in any way.
=sys-devel/gcc-4.9.4


For me it is unclear, whether I should unmask or mask these compilers.
So I added them to /etc/portage/package.mask/.  ,restarted the whole
thing only to get the same message.

So...from the logical point of view unmasking would be the correct
waybut we are all urged to >gcc-6.4.0 ... so unmasking would be
wrong...also from a logical point of view.

Cheers
Meino