#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: | new → assigned |
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | graphviz-devel added |
---|
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 follow-ups: 6 7 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 follow-up: 11 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"
comment:7 Changed 4 years ago by snowflake (Dave Evans)
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:6 → graphviz @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: | assigned → closed |
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 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.
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.