Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How clean up - sys-devel/gcc-4.4.7::gentoo [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Tue Jun 12, 2018 2:54 pm    Post subject: How clean up - sys-devel/gcc-4.4.7::gentoo [SOLVED] Reply with quote

Hello All

I'm seeing the following message after emerge...

Code:
- sys-devel/gcc-4.4.7::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# MichaŠGórny <mgorny@gentoo.org>, Andreas K. Hüttel <dilfridge@gentoo.org>,
# Matthias Maier <tamiko@gentoo.org> (21 May 2017)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.
# (updated 27 Dec 2017 with gcc < 5.4)

- x11-proto/recordproto-1.14.2-r2::gentoo (masked by: package.mask)
- x11-proto/fixesproto-5.0-r2::gentoo (masked by: package.mask)
- x11-proto/dri2proto-2.8-r2::gentoo (masked by: package.mask)
- x11-proto/randrproto-1.5.0-r1::gentoo (masked by: package.mask)
- sys-devel/gcc-4.3.6-r1::gentoo (masked by: package.mask)
- x11-proto/dri3proto-1.0-r1::gentoo (masked by: package.mask)
- x11-proto/presentproto-1.1-r1::gentoo (masked by: package.mask)
- x11-proto/renderproto-0.11.1-r2::gentoo (masked by: package.mask)
- x11-proto/xextproto-7.3.0-r1::gentoo (masked by: package.mask)
- sys-kernel/gentoo-sources-3.6.11::gentoo (masked by: package.mask)
- x11-proto/xf86driproto-2.1.1-r2::gentoo (masked by: package.mask)
- x11-proto/xproto-7.0.31-r1::gentoo (masked by: package.mask)
- x11-proto/inputproto-2.3.2-r1::gentoo (masked by: package.mask)
- x11-proto/xf86vidmodeproto-2.3.1-r2::gentoo (masked by: package.mask)
- x11-proto/compositeproto-0.4.2-r2::gentoo (masked by: package.mask)
- x11-proto/kbproto-1.0.7-r1::gentoo (masked by: package.mask)
- sys-devel/gcc-4.9.4::gentoo (masked by: package.mask)
- x11-proto/xf86bigfontproto-1.2.0-r2::gentoo (masked by: package.mask)
- x11-proto/glproto-1.4.17-r2::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


What's the best procedure on how to clean this up? When I run gcc-config -l, it shows x86_64-pc-linux-gnu-6.4.0 as the selected gcc. Do I just need to remove old versions of gcc? And if so, what's the best procedure to avoid hosing the system?

Thanks!
hanji
_________________
Server Admin Blog - Uno-Code.com


Last edited by hanj on Tue Jun 12, 2018 3:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jun 12, 2018 3:13 pm    Post subject: Reply with quote

like this:

1/ when you are not sure about something, save it
Code:
quickpkg gcc


2/ you could also check all is ok, making sure the right gcc is in use (better get 6.4.0 answer there)
Code:
gcc --version


3/ and remove it (always run with -p or -a)
Code:
emerge -Ca gcc-4.4.7
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Jun 12, 2018 3:19 pm    Post subject: Reply with quote

Very small typo corrected here. Noted the added '=':
Code:
emerge -Ca =gcc-4.4.7
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jun 12, 2018 3:25 pm    Post subject: Reply with quote

John R. Graham wrote:
Very small typo corrected here. Noted the added '=':
Code:
emerge -Ca =gcc-4.4.7
- John

hihi actually not, the = on slotted packages is not need (lol try)

edit: sorry my bad, it's not limit to slotted :D
Code:
>emerge -Ca vlc
 media-video/vlc
    selected: 2.2.8-r1
>emerge -Ca vlc-2.2.8-r1
 media-video/vlc
    selected: 2.2.8-r1


edit: i forget to say, do not ask me how i know that or why it does that, all i know is that =;>;< are need when emerging a package, but not when removing it.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Jun 12, 2018 3:46 pm    Post subject: Reply with quote

Sonofagun. 8O Why would that work!? It's utterly non-orthogonal. In my opinion, it shouldn't work. I think I'll contend that it's bad form to omit the comparison operator.

In any case, thanks for the education.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Tue Jun 12, 2018 3:49 pm    Post subject: Reply with quote

krinn wrote:
like this:

1/ when you are not sure about something, save it
Code:
quickpkg gcc


2/ you could also check all is ok, making sure the right gcc is in use (better get 6.4.0 answer there)
Code:
gcc --version


3/ and remove it (always run with -p or -a)
Code:
emerge -Ca gcc-4.4.7


Fantastic. That cleared things up.

Thanks!
hanji
_________________
Server Admin Blog - Uno-Code.com
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jun 12, 2018 4:01 pm    Post subject: Reply with quote

John R. Graham wrote:
Why would that work!?

I found it!
zmedico wrote:
* Adding another tricky option to emerge, i cannot stop loving to put holes for JRG!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum