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

Bug#877589: gcc-7: DEB_STAGE=rtlibs fails to build with debhelper 10.9 due to strictness of -p and -N



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

Hi Matthias,

I discovered another debhelper 10.9 regression in gcc-7. In
debian/rules2, a dh_prep is passed -N$(p_hppa64) and that package is not
listed in debian/control while building DEB_STAGE=rtlibs.

I'm not sure whether that -N flag still needed for normal builds. If it
isn't, you can remove it:

    sed -i -e 's/ -N$(p_hppa64)//' debian/rules2

If it is still useful, it needs to be made optional:

    sed -i -e 's/-N$(p_hppa64)/$(if $(filter rtlibs,$(DEB_STAGE)),,&)/' debian/rules2

Helmut


Reply to: