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

Bug#876246: gcc-7 fails to build fortran cross compiler since debhelper became strict about -p



Source: gcc-7
Tags: patch
User: helmutg@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 to: