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

 
 

bug #44837: of-netcdf wont cross compile

Submitter:  John Donoghue <lostbard>
Submitted:  Tue 14 Apr 2015 06:17:52 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  JohnD Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by abarth (Updated the item)
  • -email is unavailable- added by lostbard (added package maintainer)
  • -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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-10 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
    2015-06-10 abarth Attached File- Added octcdf-1.1.9.tar.gz, #34195
    2015-04-14 lostbard Carbon-Copy- Added abarth
    2015-04-14 lostbard Attached File- Added cross-compile.patch, #33675

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code