[Pkg-freeipmi-devel] Bug#879875: freeipmi FTCBFS: configure misdetetcs features using the build architecture cpp
Helmut Grohne
helmut at subdivi.de
Thu Oct 26 17:47:15 UTC 2017
Source: freeipmi
Version: 1.4.11-1.1
Tags: upstream patch
User: helmutg at debian.org
Usertags: rebootstrap
freeipmi fails to cross build from source, because configure misdetects
some features, because it uses the build architecture cpp rather than
the host architecture one. This leads to compilation failures down the
road. The culprit is setting CPP with AC_PATH_PROG. After replacing path
with AC_PROG_CPP, the build succeeds, but the generation of manual pages
now fails, because that $(CPP) invocation assumes cpp semantics while
configure sets it to $ac_tool_prefix-gcc -E. So the attached patch also
sets up a CPP_FOR_BUILD to cover the manual pages. After applying it
freeipmi cross builds successfully. Please use it.
Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 1055 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-freeipmi-devel/attachments/20171026/78d345c7/attachment.patch>
More information about the Pkg-freeipmi-devel
mailing list