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

 
 

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

Submitted by:  Bernd Zeimetz <bzed>
Submitted on:  Thu 26 Oct 2017 06:01:11 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Operating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

added to master & freeipmi 1.5.X stable branch

Albert Chu <chu11>
Project 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>
Project 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 File(s):
   
   
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
  • -unavailable- added by chu11 (Posted a comment)
  • -unavailable- added by bzed (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 31 Oct 2017 11:19:53 PM UTCchu11Open/ClosedOpen=>Closed
    Thu 26 Oct 2017 06:01:11 PM UTCbzedAttached File-=>Added cross.patch, #42275

    Back to the top


    Powered by Savane 3.1-cleanup1