[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freeipmi-devel] [bug #52290] freeipmi: configure misdetetcs features us
From: |
Bernd Zeimetz |
Subject: |
[Freeipmi-devel] [bug #52290] freeipmi: configure misdetetcs features using the build architecture cpp |
Date: |
Thu, 26 Oct 2017 14:01:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3236.7 Safari/537.36 |
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] [bug #52290] freeipmi: configure misdetetcs features using the build architecture cpp,
Bernd Zeimetz <=