Opened 11 days ago

Last modified 10 days ago

#64046 assigned defect

py27-ngl @1.3.0b1_2: error: implicit declaration of function 'c_cssgrid' is invalid in C99

Reported by: catap (Kirill A. Korinsky) Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version:
Keywords: catalina bigsur monterey Cc:
Port: py-ngl

Description

It produces tons of warnings and one error:

hlu_wrap.c:4278:21: error: implicit declaration of function 'c_cssgrid' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  result = (float *)c_cssgrid(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
                    ^

Change History (2)

comment:1 Changed 10 days ago by ryandesign (Ryan Schmidt)

Keywords: catalina bigsur monterey added
Owner: set to petrrr
Port: py-ngl added
Status: newassigned
Summary: Can't build py27-ngl on macOS 11.6py27-ngl @1.3.0b1_2: error: implicit declaration of function 'c_cssgrid' is invalid in C99

Maybe the first thing to check is whether the port can be updated to a newer version that might already have fixed this problem.

Looks like the latest version is 1.6.1 at https://github.com/NCAR/pyngl/tags.

Looks like an attempt was made to update to 1.4.0 in [9f86d1b407e4d217dafa395e9dad12045d5fa6e2/macports-ports] but it was reverted; don't know why.

If we cannot update, the maintainer can patch the port to fix this error.

comment:2 Changed 10 days ago by catap (Kirill A. Korinsky)

Ryan, any way it fails to compiler on some code outside of this python project.

I really doubt that simple upgrade help, but it worth to try.

Note: See TracTickets for help on using tickets.