[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#916376: gfortran-8-* has bad provides



On 13.12.18 20:14, Helmut Grohne wrote:
> Source: gcc-8
> Tags: patch
> User: helmutg@debian.org
> Usertags: rebootstrap
> Control: affetcs -1 + src:gcc-8-cross src:gcc-8-cross-ports
> 
> 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.

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?).


Reply to: