Opened 10 months ago

Last modified 10 months ago

#68727 closed defect

grads @2.2.1: error: too few arguments to function call, expected 3, have 2 — at Version 5

Reported by: musaidpp (musaidpp) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc: Dave-Allured (Dave Allured)
Port: grads

Description (last modified by ryandesign (Ryan Carsten Schmidt))

(base) musaidpp@Musaids-MacBook-Pro ~ % sudo port install grads
Password:
--->  Computing dependencies for grads
--->  Fetching archive for grads
--->  Attempting to fetch grads-2.2.1_16.darwin_23.arm64.tbz2 from https://packages.macports.org/grads
--->  Attempting to fetch grads-2.2.1_16.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/grads
--->  Attempting to fetch grads-2.2.1_16.darwin_23.arm64.tbz2 from https://nue.de.packages.macports.org/grads
--->  Building grads
Error: Failed to build grads: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_grads/grads/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port grads failed

Change History (6)

Changed 10 months ago by musaidpp (musaidpp)

Attachment: main.log added

log file

comment:1 Changed 10 months ago by Dave-Allured (Dave Allured)

Here is the real problem.

:info:build gaio.c:4699:37: error: too few arguments to function call, expected 3, have 2
:info:build     if ((rc = H5Oget_info(vid,&oinfo))<0) err=1;
:info:build               ~~~~~~~~~~~           ^

comment:2 Changed 10 months ago by Dave-Allured (Dave Allured)

It looks like this was caused by an HDF5 version update, and Grads was not updated to follow. This post shows a probable solution:

https://github.com/j-m-adams/GrADS/issues/10

comment:3 Changed 10 months ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:4 Changed 10 months ago by Dave-Allured (Dave Allured)

Note the the original Grads repo at Cola is no longer maintained. Grads 2.2.1 is now more than 5 years old. One of the original developers is now hosting a newer community version, currently at 2.2.3. Macports should probably update.

https://github.com/j-m-adams/GrADS/

comment:5 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sonoma added; Grads Sonoma darwin removed
Owner: set to tenomoto
Priority: HighNormal
Status: newassigned
Summary: Processing of port grads failed on Sonomagrads @2.2.1: error: too few arguments to function call, expected 3, have 2
Note: See TracTickets for help on using tickets.