bugGNU FreeIPMI - Bugs: bug #52290, freeipmi: configure misdetetcs...

 
 

bug #52290: freeipmi: configure misdetetcs features using the build architecture cpp

Submitter:  Bernd Zeimetz <bzed>
Submitted:  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:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 31 Oct 2017 11:19:44 PM UTC, comment #2: 

added to master & freeipmi 1.5.X stable branch

Albert Chu <chu11>
Group administrator
Mon 30 Oct 2017 09:26:06 PM UTC, comment #1: 

at a high level, looks fine to me.  Will play with the patch later this week.

Albert Chu <chu11>
Group administrator
Thu 26 Oct 2017 06:01:11 PM UTC, original submission:  

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.

Bernd Zeimetz <bzed>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #42275:  cross.patch added by bzed (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chu11 (Posted a comment)
  • -email is unavailable- added by bzed (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-10-31 chu11 Open/ClosedOpen Closed
    2017-10-26 bzed Attached File- Added cross.patch, #42275

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code