Source: gcc-7
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: block 795432 by -1

Hi Matthias,

debhelper 10.9 fixed #795432 and that makes building a fortran cross
compiler fail.

debian/rules.d/binary-fortran.mk says:

        dh_installdirs -p$(1) ...

The argument is the plain package name without $(cross_lib_arch), but it
needs to pass the transformed package name $(p_l) here. The following
command fixes that:

sed -i -e 's/ -p\$(1) / -p$(p_l) /' debian/rules.d/binary-fortran.mk

It seems to be isolated to just this one occurence. I didn't find any
others and after this fix, I can build fortran cross compilers again.

Helmut

Reply via email to