Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#59852 - GCC 8 / 7 alternatives problem

Attached to Project: Arch Linux
Opened by Patryk Kowalczyk (patryk) - Tuesday, 28 August 2018, 17:22 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 28 August 2018, 17:25 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Hi Arch Team, Please change gcc and g++ packages (and more bin files from gcc packages) and create for gcc symlinks from /usr/bin/gcc-8 to /usr/bin/gcc.
For now the gcc package provides /usr/bin/gcc and we couldnt configure and install gcc alternatives for gcc-7 in the system.

Additional info:
* package version(s) gcc 8.x

Steps to reproduce:

1,1M -rwxr-xr-x 3 root root 1,1M 08-01 15:12 /usr/bin/gcc
976K -rwxr-xr-x 3 root root 971K 08-14 23:40 /usr/bin/gcc-7
36K -rwxr-xr-x 2 root root 35K 08-01 15:12 /usr/bin/gcc-ar
36K -rwxr-xr-x 2 root root 35K 08-14 23:40 /usr/bin/gcc-ar-7
1,1M -rwxr-xr-x 2 root root 1,1M 08-01 15:12 /usr/bin/gccgo
4,0K -rwxr-xr-x 1 root root 2,2K 2017-08-11 /usr/bin/gccmakedep
36K -rwxr-xr-x 2 root root 35K 08-01 15:12 /usr/bin/gcc-nm
36K -rwxr-xr-x 2 root root 35K 08-14 23:40 /usr/bin/gcc-nm-7
36K -rwxr-xr-x 2 root root 35K 08-01 15:12 /usr/bin/gcc-ranlib
36K -rwxr-xr-x 2 root root 35K 08-14 23:40 /usr/bin/gcc-ranlib-7
1,1M -rwxr-xr-x 4 root root 1,1M 08-01 15:12 /usr/bin/g++
976K -rwxr-xr-x 4 root root 971K 08-14 23:40 /usr/bin/g++-7

[root@h2 patryk]# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 10
update-alternatives: użycie /usr/bin/gcc-7 jako dostarczającego /usr/bin/gcc (gcc) w trybie automatycznym
update-alternatives: ostrzeżenie: pomijanie zastąpienia /usr/bin/gcc dowiązaniem
[root@h2 patryk]# update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 10
update-alternatives: użycie /usr/bin/g++-7 jako dostarczającego /usr/bin/g++ (g++) w trybie automatycznym
update-alternatives: ostrzeżenie: pomijanie zastąpienia /usr/bin/g++ dowiązaniem
[root@h2 patryk]# update-alternatives --config gcc
Jest tylko jedna alternatywa w grupie dowiązań gcc (udostępniających /usr/bin/gcc): /usr/bin/gcc-7
Nie ma nic do skonfigurowania.
update-alternatives: ostrzeżenie: wymuszenie ponownej instalacji alternatywy /usr/bin/gcc-7, ponieważ grupa dowiązań gcc jest nieprawidłowa
update-alternatives: ostrzeżenie: pomijanie zastąpienia /usr/bin/gcc dowiązaniem


This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 28 August 2018, 17:25 GMT
Reason for closing:  Not a bug
Additional comments about closing:  That's not Arch

Loading...