URL: <http://savannah.gnu.org/bugs/?52290>
Summary: freeipmi: configure misdetetcs features using the build architecture cpp Project: GNU FreeIPMI Submitted by: bzed Submitted on: Thu 26 Oct 2017 06:01:11 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Operating System: None _______________________________________________________ Details: forwarded from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879875 freeipmi fails to cross build from source, because configure misdetectssome 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. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 26 Oct 2017 06:01:11 PM UTC Name: cross.patch Size: 1KiB By: bzed <http://savannah.gnu.org/bugs/download.php?file_id=42275> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52290> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Freeipmi-devel mailing list Freeipmi-devel@gnu.org https://lists.gnu.org/mailman/listinfo/freeipmi-devel