[MacPorts] #61216: Virtuoso-7 fail to install on OS 10.15 with XCode 12.0

MacPorts noreply at macports.org
Fri Nov 13 09:24:34 UTC 2020


#61216: Virtuoso-7 fail to install on OS 10.15 with XCode 12.0
-------------------------+----------------------
  Reporter:  JacquesLB   |      Owner:  nerdling
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.3
Resolution:              |   Keywords:  xcode12
      Port:  virtuoso-7  |
-------------------------+----------------------

Comment (by chrstphrchvz):

 I submitted a fix for libsrc/Wi/numeric.c: https://github.com/openlink
 /virtuoso-opensource/pull/931

 But at this point I'm inclined to give up and let someone use `configure
 .cflags-append -Wno-error=implicit-function-declaration` and/or see if
 upstream is interested in fixing this. There are even more errors (after
 working around the ones in comment:16) which I did not figure out how to
 work around:
 {{{
 sql3.c:8380:16: error: implicit declaration of function 'scn3yylex' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
       yychar = yylex (&yylval, scanner);
                ^
 sql3.c:64:25: note: expanded from macro 'yylex'
 #define yylex           scn3yylex
                         ^
 sql3.c:8380:16: note: did you mean 'sql3yylex'?
 sql3.c:64:25: note: expanded from macro 'yylex'
 #define yylex           scn3yylex
                         ^
 ./sqlpar.h:34:12: note: 'sql3yylex' declared here
 extern int sql3yylex (void);
            ^
 ./sql3.y:864:6: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
                           yyerror (scanner,"duplicated referential
 actions");
                           ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:864:6: note: did you mean 'sql3yyerror'?
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sqlpar.h:35:13: note: 'sql3yyerror' declared here
 extern void sql3yyerror (const char *s);
             ^
 ./sql3.y:1134:4: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
           yyerror (scanner,"ALTER TABLE constraint must be foreign key,
 primary key, unique or check");
           ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:2699:7: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
                     yyerror (scanner,"syntax error");
                     ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:2726:7: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
                     yyerror (scanner,"Not valid data type in CONVERT ODBC
 Scalar function");
                     ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:3838:6: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
             yyerror (scanner,"No stars allowed inside XML view
 definition");
             ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:3963:9: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
                yyerror (scanner,"syntax error at WebDAV OWNER keyword");
                ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:3978:3: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
                 yyerror (scanner,"'=' expected");
                 ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:4287:7: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
     { yyerror (scanner,"Language ADA not supported"); }
       ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:4289:7: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
     { yyerror (scanner,"Language COBOL not supported"); }
       ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:4290:7: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
     { yyerror (scanner,"Language FORTRAN not supported"); }
       ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:4291:7: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
     { yyerror (scanner,"Language MUMPS not supported"); }
       ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:4292:7: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
     { yyerror (scanner,"Language PASCAL not supported"); }
       ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:4293:7: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
     { yyerror (scanner,"Language PLI not supported"); }
       ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:4489:76: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
     { (yyval.box) = (yyvsp[0].box); if (!cl_name_to_host ((yyvsp[0].box)))
 yyerror (scanner,"undefined host name in cluster def"); }
 ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 ./sql3.y:4527:57: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
     { if (strlen ((yyvsp[-2].box)) >= DBS_NAME_MAX_LEN) yyerror
 (scanner,"cluster name too long");
                                                         ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 sql3.c:15979:7: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
       yyerror (scanner, YY_("syntax error"));
       ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 sql3.c:16123:3: error: implicit declaration of function 'scn3yyerror' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
   yyerror (scanner, YY_("memory exhausted"));
   ^
 sql3.c:65:25: note: expanded from macro 'yyerror'
 #define yyerror         scn3yyerror
                         ^
 }}}

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


More information about the macports-tickets mailing list