Bug 43436 - gcc10-fortran and gcc-fortran-common without gcc-fortran makes dead symlink /usr/bin/gfortran
Summary: gcc10-fortran and gcc-fortran-common without gcc-fortran makes dead symlink /...
Status: CLOSED DUPLICATE of bug 37092
Alias: None
Product: Sisyphus
Classification: Development
Component: gcc-fortran (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-03 14:09 MSK by Iakunin Andrei
Modified: 2022-08-04 14:33 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iakunin Andrei 2022-08-03 14:09:57 MSK
$ ls /usr/bin/gfortran* -la
lrwxrwxrwx 1 rooter rooter  3 Dec  7  2020 /usr/bin/gfortran -> gcc  !!!
lrwxrwxrwx 1 rooter rooter 28 May 18 05:37 /usr/bin/gfortran-12 -> x86_64-alt-linux-gfortran-12

ERROR
$ gfortran
/usr/bin/x86_64-alt-linux-gfortran: No such file or directory

$ rpm -ql gcc-fortran
/usr/bin/x86_64-alt-linux-gfortran
/usr/share/man/man1/gfortran.1.xz

$ rpm -ql gcc-fortran-common 
/usr/bin/f77
/usr/bin/f95
/usr/bin/g77
/usr/bin/gfortran


gfortran basic app. Should be linked to real FC if exists.
Comment 1 Gleb F-Malinovskiy 2022-08-03 14:18:21 MSK

*** This bug has been marked as a duplicate of bug 37092 ***
Comment 2 Iakunin Andrei 2022-08-04 14:33:46 MSK
(Ответ для Iakunin Andrei на комментарий #0)
> $ ls /usr/bin/gfortran* -la
> lrwxrwxrwx 1 rooter rooter  3 Dec  7  2020 /usr/bin/gfortran -> gcc  !!!
> lrwxrwxrwx 1 rooter rooter 28 May 18 05:37 /usr/bin/gfortran-12 ->
> x86_64-alt-linux-gfortran-12
> 
> ERROR
> $ gfortran
> /usr/bin/x86_64-alt-linux-gfortran: No such file or directory
> 
> $ rpm -ql gcc-fortran
> /usr/bin/x86_64-alt-linux-gfortran
> /usr/share/man/man1/gfortran.1.xz
> 
> $ rpm -ql gcc-fortran-common 
> /usr/bin/f77
> /usr/bin/f95
> /usr/bin/g77
> /usr/bin/gfortran
> 
> 
> gfortran basic app. Should be linked to real FC if exists.

Немного ощибся в примере

$ ls /usr/bin/gfortran* -la
lrwxrwxrwx 1 rooter rooter  3 Dec  7  2020 /usr/bin/gfortran -> gcc  !!!
lrwxrwxrwx 1 rooter rooter 28 May 18 05:37 /usr/bin/gfortran-10 !!! -> x86_64-alt-linux-gfortran-10 !!!

А вот пакет gcc12-fortran не установлен