bugGNU Octave - Bugs: bug #44837, of-netcdf wont cross compile

 
 

bug #44837: of-netcdf wont cross compile

Submitted by:  John Donoghue <lostbard>
Submitted on:  Tue 14 Apr 2015 06:17:52 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: JohnDOpen/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 10 Jun 2015 04:51:23 PM UTC, comment #3:

I haven't tried a run on it yet, but it did cross compile OK!

John Donoghue <lostbard>
Project Member
Wed 10 Jun 2015 01:11:06 PM UTC, comment #2:

Thank you very much for the bug report. I have incorporated your changes in netcdf 1.0.7.

I have prepared a release candidate for octcdf with similar changes (attached). Can you check if it works?

Sorry for my late response. I would be great if the package maintainer would get automatic notification for bug reports.

(file #34195)

Alexander Barth <abarth>
Thu 16 Apr 2015 01:30:48 AM UTC, comment #1:

basically same changes are also required for octcdf

John Donoghue <lostbard>
Project Member
Tue 14 Apr 2015 06:17:52 PM UTC, original submission:

Attempting to cross compile netcdf fails in mxe-octave as nc-config is hardcoded, and canonical_host_type is determined by the native installed octave.

Patch attached that, uses octave-config (or cross octave-config) to determine variable values rather than octave.

AC_CHECK_TOOL is used rather than AC_CHECK_PROG so it tries first to find (TARGET)-nc-config, and make variabl used for program names.

John Donoghue <lostbard>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34195:  octcdf-1.1.9.tar.gz added by abarth (65KiB - application/gzip)
file #33675:  cross-compile.patch added by lostbard (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by abarth (Updated the item)
  • -unavailable- added by lostbard (added package maintainer)
  • -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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 10 Jun 2015 01:52:22 PM UTCmtmillerStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 10 Jun 2015 01:11:06 PM UTCabarthAttached File-=>Added octcdf-1.1.9.tar.gz, #34195
    Tue 14 Apr 2015 08:51:42 PM UTClostbardCarbon-Copy-=>Added abarth
    Tue 14 Apr 2015 06:17:52 PM UTClostbardAttached File-=>Added cross-compile.patch, #33675

    Back to the top


    Powered by Savane 3.1-cleanup1