Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61036 closed defect (fixed)

graphviz @2.40.1: error: implicit declaration of function 'makeTetrix'

Reported by: GreyCon (Con Cunningham) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: keke-cute (小可可可爱多)
Port: graphviz, graphviz-devel

Description

:debug:sysinfo macOS 10.15 (darwin/19.6.0) arch i386
:debug:sysinfo MacPorts 2.6.3
:debug:sysinfo Xcode 11.6
:debug:sysinfo SDK 10.15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.7

:info:build gvgen.c:518:6: error: implicit declaration of function 'makeTetrix' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build             makeTetrix(opts.graphSize1, ef);

Change History (11)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: ryandesign@… removed
Owner: set to ryandesign
Status: newassigned

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Port: graphviz-devel added

I assume that you have the Xcode 12 beta command line tools? Because with Xcode 11 and earlier you should be seeing warnings, not errors, for implicit function declarations. The workaround would be to install the Xcode 11.5 command line tools.

I'll see what I can do here, but the first step should probably be to update to the latest upstream version since they may have fixed the problem there already. Unfortunately it has been a few years since I've touched the graphviz ports, because there was some disruption in their releases while they scrambled to reassemble themselves after leaving their previous hosting arrangement with AT&T, so it may be more work than previous updates have been.

comment:3 Changed 4 years ago by GreyCon (Con Cunningham)

You would appear to be correct, once I found out how to check, I am seeing 12.0.0.0.1.1597368733 for XCode command line tools. I fixed the issue locally, I just added a declaration for the function to the appropriate header file. Thanks, and sorry for wasting your time. If I was more familiar with the open source scene, I would be happy to push a change upstream, but I am still finding my way :-) Be well.

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

Good to know that just that one fix was needed. And it's not a waste of time; certainly we need to know about and fix all of these issues, and if we can get to them before Xcode 12 final is released and everybody starts upgrading, even better.

comment:5 Changed 4 years ago by snowflake (Dave Evans)

On a general point of interest, is it acceptable to post Macports bugs for ports built on Big Sur beta with Xcode 12 beta?

I have several build failures which build OK on Catalina. Examples: lynx boehmgc pinentry-mac

comment:6 in reply to:  5 ; Changed 4 years ago by snowflake (Dave Evans)

Replying to snowflake:

On a general point of interest, is it acceptable to post Macports bugs for ports built on Big Sur beta with Xcode 12 beta?

I have several build failures which build OK on Catalina. Examples: lynx boehmgc pinentry-mac

The answer to my query is found in the FAQ

The wiki search feature was not helping as it was finding 11000 hits for big sur which included results for sure, ensure, and big. There seems to be no way of searching for a string such as "big sur"

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 in reply to:  5 Changed 4 years ago by snowflake (Dave Evans)

Last edited 4 years ago by snowflake (Dave Evans) (previous) (diff)

comment:8 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: keke-cute added
Summary: graphviz @2.40.1: Compilaton error : gvgen.c:518:6graphviz @2.40.1: error: implicit declaration of function 'makeTetrix'

Has duplicate #61064.

comment:9 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 8138ed33fa6ece86f87fd90d470daf6e28b406d8/macports-ports (master):

graphviz, graphviz-devel: Fix implicit declaration

Closes: #61036

Also fix an incorrect pointer comparison in lefty.

comment:10 Changed 4 years ago by keke-cute (小可可可爱多)

Thanks for your help, sorry I returned to 10.15 and forgot this tickets,very sorry!

comment:11 in reply to:  6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to snowflake:

The wiki search feature was not helping as it was finding 11000 hits for big sur which included results for sure, ensure, and big. There seems to be no way of searching for a string such as "big sur"

If everyone sets keywords properly, you can find Big Sur tickets that way, i.e. query:?keywords=~bigsur.

Note: See TracTickets for help on using tickets.