#53997: ncarg 6.4 el cap build fails
-----------------------+------------------- Reporter: basmac | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Keywords: ncarg 6.4 | Port: ncarg -----------------------+------------------- {{{ ncarg 6.4 builds fine on Sierra but ncl fails on El Cap. attached El Cap log. }}} -- Ticket URL: <https://trac.macports.org/ticket/53997> MacPorts <https://www.macports.org/> Ports system for macOS |
#53997: ncarg 6.4 el cap build fails
---------------------+----------------------- Reporter: basmac | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: | Keywords: ncarg 6.4 Port: ncarg | ---------------------+----------------------- Changes (by basmac): * Attachment "ncarg.log" added. port -d install ncarg -- Ticket URL: <https://trac.macports.org/ticket/53997> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+----------------------- Reporter: basmac | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: | Keywords: ncarg 6.4 Port: ncarg | ---------------------+----------------------- Comment (by basmac): NB. ncl 6.4 passes all the tests that 6.3 fails, on Sierra. -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+---------------------- Reporter: basmac | Owner: tenomoto Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: | Keywords: Port: ncarg | ---------------------+---------------------- Changes (by mf2k): * cc: takeshi@… (removed) * status: new => assigned * owner: => tenomoto * keywords: ncarg 6.4 => -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+---------------------- Reporter: basmac | Owner: tenomoto Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: | Keywords: Port: ncarg | ---------------------+---------------------- Description changed by ryandesign: Old description: > {{{ > ncarg 6.4 builds fine on Sierra but ncl fails on El Cap. > attached El Cap log. > }}} New description: ncarg 6.4 builds fine on Sierra but ncl fails on El Cap.\\ attached El Cap log. -- -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+---------------------- Reporter: basmac | Owner: tenomoto Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: | Keywords: Port: ncarg | ---------------------+---------------------- Comment (by tenomoto): I don't have El Capitan, but I was able to reproduce the problem on Mavericks. There are two problems. 1. ezmapdemo, tdpackdemo and nnlag don't get libncarg_gks/awi/ggkwdr_stub.o linked. For each binary yMakefile needs a patch. 2. In ncarg2d/src/libncarg_gks/cdrivers and ni/src/lib/hlu, headers are included with <> rather than "". So those already installed are used. There are too many files to patch. So I decided to force deactivate the old version before build. This problem caused the failure of libhlu.a, which is essential for ncl. I'll report this problem upstream. Done in [df8fcee84fc6dea6bcfc17c831f43b0decc40ea7/macports-ports] If you can build ncarg with ncl successfully, I will close this ticket. -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:4> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+---------------------- Reporter: basmac | Owner: tenomoto Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: | Keywords: Port: ncarg | ---------------------+---------------------- Comment (by basmac): Trying to rebuild ncarg, but getting errors in autopen and dirac.... -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:5> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+---------------------- Reporter: basmac | Owner: tenomoto Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: | Keywords: Port: ncarg | ---------------------+---------------------- Comment (by basmac): {{{ ncarg and ncl build now using 6.4 as I removed autogen and dirac. On tests thought that were fixed on 6.4 (bar.ncl) our local build works and the macports build fails. bash-3.2# /usr/local/bin/ncl /home/bmcinnes/test_regrid_grid.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. (0) Regrid option is on. (0) Plot option is off. (0) defining data array Variable: data Type: float Total Size: 259200 bytes 64800 values Number of Dimensions: 2 Dimensions and sizes: [lat | 180] x [lon | 360] Coordinates: lat: [-89.5..89.5] lon: [ 0..359] (0) Regridding! (0) defining new lat and lon arrays (0) defining options for regridding (0) Regridding using method = neareststod Variable: dataout Type: float Total Size: 1036800 bytes 259200 values Number of Dimensions: 2 Dimensions and sizes: [lat | 360] x [lon | 720] Coordinates: lat: [-89.75..89.75] lon: [ 0..359.5] Number Of Attributes: 3 missing_value : 9.96921e+36 remap : remapped via ESMF_regrid_with_weights: Nearest source to destination _FillValue : 9.96921e+36 bash-3.2# /opt/local/bin/ncl /home/bmcinnes/test_regrid_grid.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. (0) Regrid option is on. (0) Plot option is off. (0) defining data array Variable: data Type: float Total Size: 259200 bytes 64800 values Number of Dimensions: 2 Dimensions and sizes: [lat | 180] x [lon | 360] Coordinates: lat: [-89.5..89.5] lon: [ 0..359] (0) Regridding! (0) defining new lat and lon arrays (0) defining options for regridding (0) Regridding using method = neareststod fatal:Variable (Opt) is undefined fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1613 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1847 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl fatal:["Execute.c":8640]:Execute: Error occurred at or near line 3910 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl fatal:["Execute.c":8640]:Execute: Error occurred at or near line 4042 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl fatal:["Execute.c":8640]:Execute: Error occurred at or near line 69 in file /home/bmcinnes/test_regrid_grid.ncl bash-3.2# }}} bash-3.2# /opt/local/bin/ncl /home/bmcinnes/bar.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. Variable: nc_file_type Type: string Total Size: 8 bytes 1 values Number of Dimensions: 1 Dimensions and sizes: [1] Coordinates: (0) netcdf3 fatal:Variable (nc_file_type) is undefined fatal:["Execute.c":8640]:Execute: Error occurred at or near line 10 in file /home/bmcinnes/bar.ncl fatal:["Execute.c":8640]:Execute: Error occurred at or near line 16 in file /home/bmcinnes/bar.ncl bash-3.2# /usr/local/bin/ncl /home/bmcinnes/bar.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. Variable: nc_file_type Type: string Total Size: 8 bytes 1 values Number of Dimensions: 1 Dimensions and sizes: [1] Coordinates: (0) netcdf3 Variable: nc_file_type Type: string Total Size: 8 bytes 1 values Number of Dimensions: 1 Dimensions and sizes: [1] Coordinates: (0) netcdf4 Variable: nc_file_type Type: string Total Size: 8 bytes 1 values Number of Dimensions: 1 Dimensions and sizes: [1] Coordinates: (0) netcdf3 bash-3.2# bash-3.2# cat /home/bmcinnes/bar.ncl procedure curvilinear_to_SCRIP(Opt[1]:logical) begin if (isatt(Opt,"NetCDFType").and.\ str_lower(Opt@NetCDFType).eq."netcdf4") then setfileoption("nc","Format","netcdf4") nc_file_type = "netcdf4" else nc_file_type = "netcdf3" end if print(nc_file_type) end ; of curvilinear_to_SCRIP(...) begin Opt = True curvilinear_to_SCRIP(Opt) Opt@NetCDFType = "netcdf4" curvilinear_to_SCRIP(Opt) Opt@NetCDFType = "netcdf3" curvilinear_to_SCRIP(Opt) end bash-3.2# -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:6> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+---------------------- Reporter: basmac | Owner: tenomoto Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: | Keywords: Port: ncarg | ---------------------+---------------------- Comment (by Dave-Allured): The build issue for ncarg 6.4 was resolved. The script failure was resolved later by another update or rebuild, I do not know what or when. Ncarg is now several versions more recent, and not encountering this script failure. Please close this ticket. -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+---------------------- Reporter: basmac | Owner: tenomoto Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: | Keywords: Port: ncarg | ---------------------+---------------------- Comment (by Dave-Allured): #53031 is the resolution for the reported script failure of "bar.ncl". That failure was an incompatibility between older versions of ncarg and a dependency. That problem is solved. Please close this ticket. -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:9> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+---------------------- Reporter: basmac | Owner: tenomoto Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: fixed | Keywords: Port: ncarg | ---------------------+---------------------- Changes (by tenomoto): * status: assigned => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:10> MacPorts <https://www.macports.org/> Ports system for macOS |
In reply to this post by macports-4
#53997: ncarg 6.4 el cap build fails
---------------------+---------------------- Reporter: basmac | Owner: tenomoto Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.4.1 Resolution: fixed | Keywords: Port: ncarg | ---------------------+---------------------- Comment (by tenomoto): I don't have arm64 Mac ready yet. As soon as I set up one, I'll work on this problem. Could be an upstream problem. -- Ticket URL: <https://trac.macports.org/ticket/53997#comment:11> MacPorts <https://www.macports.org/> Ports system for macOS |
Free forum by Nabble | Edit this page |