[MacPorts] #62032: py27-pygrib @2.0.4: error: implicit declaration of function 'g2_unpack1' is invalid in C99 (was: py27-pygrib : build failure)

MacPorts noreply at macports.org
Tue Jan 12 02:25:20 UTC 2021


#62032: py27-pygrib @2.0.4: error: implicit declaration of function 'g2_unpack1' is
invalid in C99
------------------------+----------------------
  Reporter:  temeo31    |      Owner:  jswhit
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:             |   Keywords:  bigsur
      Port:  py-pygrib  |
------------------------+----------------------
Changes (by ryandesign):

 * keywords:  BigSur => bigsur


Comment:

 The first error in the log:
 {{{
 :info:build g2clib.c:1802:18: error: implicit declaration of function
 'g2_unpack1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build   __pyx_v_ierr = g2_unpack1(__pyx_v_cgrib, (&__pyx_v_iofst),
 (&__pyx_v_ids), (&__pyx_v_idslen));
 :info:build                  ^
 }}}
 So this is the well-known implicit function problem with Xcode 12 and
 later that will need to be fixed in the usual way. (Declare a function
 before you use it.)

-- 
Ticket URL: <https://trac.macports.org/ticket/62032#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list