Opened 6 years ago

Closed 4 months ago

#61765 closed defect (fixed)

gwenhywfar4 @4.20.2: error: implicit declaration of function 'test1' is invalid in C99

Reported by: allisti Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: catalina bigsur monterey ventura sonoma sequoia tahoe Cc:
Port: gwenhywfar4

Description (last modified by jmroot (Joshua Root))

When I try to install kmymoney4 on Big Sur with Xcode 12, I get build errors from gwenhywfar4. The errors in the log file are as follows:

:info:build libtest.m:57:2: error: implicit declaration of function 'test1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         test1();
:info:build         ^
:info:build libtest.m:88:6: error: implicit declaration of function 'Cocoa_Gui_new' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         gui=Cocoa_Gui_new();
:info:build             ^
:info:build libtest.m:88:5: warning: incompatible integer to pointer conversion assigning to 'GWEN_GUI *' (aka 'struct GWEN_GUI *') from 'int' [-Wint-conversion]
:info:build         gui=Cocoa_Gui_new();
:info:build       ^~~~~~~~~~~~~~~~
:info:build libtest.m:93:6: error: implicit declaration of function 'Dlg_Test1_new' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         dlg=Dlg_Test1_new();
:info:build             ^

Change History (3)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: catalina bigsur added
Owner: set to drkp
Port: kmymoney4 removed
Status: newassigned
Summary: kmymoney4 @4.8.4+20200617-f76ab094 does not install on Big Sur due to gwenhywfar4 build errorsgwenhywfar4 @4.20.2 does not build on Big Sur

I fixed the formatting of your log snippet. Please just upload the complete main.log as an attachment in future.

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

Keywords: monterey ventura sonoma sequoia tahoe added
Summary: gwenhywfar4 @4.20.2 does not build on Big Surgwenhywfar4 @4.20.2: error: implicit declaration of function 'test1' is invalid in C99

Same bug for gwenhywfar5: #72248

comment:3 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 868d696e0c9cccae1358eed7d1440fb99fe3c6d2/macports-ports (master):

gwenhywfar4: Fix implicit function declarations

Closes: #61765

Note: See TracTickets for help on using tickets.