[Bug 1883855] Re: gfortan does not include system .mod files

Launchpad Bug Tracker 1883855 at bugs.launchpad.net
Wed Nov 29 11:28:52 UTC 2023


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gcc-defaults (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1883855

Title:
  gfortan does not include system .mod files

Status in gcc-defaults package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 20.04

  
  gfortran can not find .mod files located in
  /usr/lib/x86_64-linux-gnu/fortran/gfortran-mod-15

  The .mod files from /usr/include work perfectly well.

  I have  found two workarounds:
  - To explicitly specify -I flag with that directory
  or
  - to symlink needed .mod files to /usr/include

  $ dpkg -l |grep gfortran
  ii  gfortran                                4:9.3.0-1ubuntu2                    amd64        GNU Fortran 95 compiler
  ii  gfortran-9                              9.3.0-10ubuntu2                     amd64        GNU Fortran compiler
  ii  libgfortran-9-dev:amd64                 9.3.0-10ubuntu2                     amd64        Runtime library for GNU Fortran applications (development files)
  ii  libgfortran5:amd64                      10-20200411-0ubuntu1                amd64        Runtime library for GNU Fortran applications


  It would be great to somehow instruct gfortran to search for
  .mod files in /usr/lib/x86_64-linux-gnu/fortran/gfortran-mod-15 as well...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1883855/+subscriptions




More information about the foundations-bugs mailing list