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

 
 

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

Submitter:  John Donoghue <lostbard>
Submitted:  Sun 17 Apr 2016 04:35:20 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  lostbard
Originator Name:  lostbard Open/Closed:  * Closed
Release:  * 4.0.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Apr 2016 08:11:35 PM UTC, comment #5: 
John Donoghue <lostbard>
Group Member
Wed 20 Apr 2016 06:44:58 PM UTC, comment #4: 

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

Rik <rik5>
Group 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>
Group 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>
Group Member
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>
Group 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:


cd '/home/jade/mxe-octave/w32/tmp-gnutls/gnutls-3.3.15' && autoreconf -fi  -I m4 -I gl/m4 -I src/libopts/m4
autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac               file requires the infrastructure from gettext-0.18 but this version               is older. Please upgrade to gettext-0.18 or newer.
autopoint: *** Stop.
autoreconf: autopoint failed with exit status: 1
make[1]: *** [build-only-gnutls] Error 1
make[1]: Leaving directory `/home/jade/mxe-octave/w32'


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>
Group Member

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by lachlan (Updated the item)
  • -email is unavailable- added by lostbard (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 group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-04-20 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2016-04-20 lostbard StatusPatch Submitted Ready For Test
        Assigned toNone lostbard
    2016-04-19 lachlan StatusNone Patch Submitted
    2016-04-17 lostbard Attached File- Added gettext.patch, #36955

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code