bugGNU Octave - Bugs: bug #47723, mxe-octave fails to build in...

 
 

bug #47723: mxe-octave fails to build in centos 6.7

Submitted by:  John Donoghue <lostbard>
Submitted on:  Sun 17 Apr 2016 04:35:20 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: lostbardOpen/Closed: Closed
Release: 4.0.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 20 Apr 2016 08:11:35 PM UTC, comment #5:

Pushed http://hg.octave.org/mxe-octave/rev/d9b98f1123cc

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 20 Apr 2016 06:44:58 PM UTC, comment #4:

@John D.: Seems like the concensus is to apply the patch.

Rik <rik5>
Project Administrator
Wed 20 Apr 2016 05:58:46 PM UTC, comment #3:

The build time doesn't matter to me. I added all those build-* targets so that we could control the build environment and ensure that anyone who uses mxe-octave to build Octave (for Windows, anyway) will get the same result.

John W. Eaton <jwe>
Project Administrator
Wed 20 Apr 2016 05:16:13 PM UTC, comment #2:

IMHO it is worth making sure that all of autoconf, automake, gettext, and libtool are built specifically for mxe. This is not just an issue with older systems, it may recur for newer systems as well. All of these tools have a generator/m4 file pair, and they all check that the versions match. A future gettext 0.20 may fail similarly, and so on.

Mike Miller <mtmiller>
Project Administrator
Wed 20 Apr 2016 04:46:49 PM UTC, comment #1:

The patch seems fine, although it adds yet another target to build. I just timed it and it was 3:15 for this single package on a dual CPU, 4 threads total, SSD-equipped laptop.

Shouldn't the need for this eventually go away? I would think that most MXE builds, for example jwe producing the "official" Windows build, would be done on a modern computer with a modern OS. I'm not sure it is necessary to support cross-building from older operating systems.

It's your call whether you want to apply it or not.

Rik <rik5>
Project Administrator
Sun 17 Apr 2016 04:35:20 PM UTC, original submission:

It probally fails in older vesions as well however on centos 6.7, attempting to create the mxe-octave windows binary, a failure occurs in building gnutls:

This has been discussed on help [1] in the past.

The issue is that some distros have an older version of the gettext.

Adding a build-gettext target to create a gettext build tool fixes the issue for me (attached)

[1] https://lists.gnu.org/archive/html/help-octave/2015-09/msg00063.html

John Donoghue <lostbard>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #36955:  gettext.patch added by lostbard (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by lachlan (Updated the item)
  • -unavailable- added by lostbard (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 project members can vote.

     

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

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 20 Apr 2016 10:40:46 PM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 20 Apr 2016 08:11:35 PM UTClostbardStatusPatch Submitted=>Ready For Test
      Assigned toNone=>lostbard
    Tue 19 Apr 2016 12:13:10 PM UTClachlanStatusNone=>Patch Submitted
    Sun 17 Apr 2016 04:35:20 PM UTClostbardAttached File-=>Added gettext.patch, #36955

    Back to the top


    Powered by Savane 3.1-cleanup1