#916376 gfortran-8-* has bad provides

Package:
gfortran-11
Source:
gcc-11
Description:
GNU Fortran compiler
Submitter:
Helmut Grohne
Date:
2021-02-13 22:39:14 UTC
Severity:
normal
Tags:
#916376#5
Date:
2018-12-13 19:14:09 UTC
From:
To:
gfortran-8-<anytriplet> presently Provides: gfortran-mod-15 and given
that gfortran-8-<anytriplet> is Multi-Arch: foreign, this is provided
for any architecture. libopenmpi-dev Depends: gfortran-8 |
gfortran-mod-15. Therefore gfortran-8-<anytriplet> satisfies
libopenmpi-dev's dependency. That's not what we want here though. The
dependency should only be satisfied by a compiler that matches
libopenmpi-dev's architecture. Therefore these provides are bad. They
result in strange solutions which are found by dose-builddebcheck, but
are not by apt.

I propose simply removing these provides for the cross tools. The
attached patch implements that.

Helmut

#916376#10
Date:
2018-12-18 01:32:16 UTC
From:
To:
doesn't this approach of dropping the provides only defers the problem? You will
see that again when cross building packages.  So it looks to me that you want to
include in the multiarch id into these provides.

Please make sure that renaming the gfortran-mod-15 provides is coordinates with
the people caring about gfortran (Debian Science, Alistair?).

#916376#15
Date:
2018-12-18 06:25:43 UTC
From:
To:
Hi Matthias,

My approach certainly defers the problem. For a number of other tools,
what you propose is what happens indeed. I considered that option, but
figured that it was not worth the effort: Nobody uses the suffixed names
(as nothing provides them) and once the -for-host packages are there,
they can provide these packages.

On the other hand, these provides are wrong and they make diagnosing
installation failures unnecessarily hard. Therefore removing them looks
like an incremental step to me. As you point out, readding them later
will likely be needed.

I'm still hoping that there is will be no need to rename.

Helmut

#916376#20
Date:
2021-02-13 13:07:12 UTC
From:
To:
Dear submitter,

as the package gcc-8 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/954831

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)

#916376#25
Date:
2021-02-13 22:34:46 UTC
From:
To:
Control: reopen -1
Control: reassign -1 gfortran-11

The issue persists in newer gcc releases.

Helmut