[MacPorts] #62015: dict @1.13.0: fails to build from source

MacPorts noreply at macports.org
Sat Jan 9 16:11:08 UTC 2021


#62015: dict @1.13.0: fails to build from source
----------------------+--------------------
 Reporter:  ryanakca  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.6.4
 Keywords:            |       Port:  dict
----------------------+--------------------
 dict fails to build from source on
 {{{
 macOS 11.0.1 20B29
 Xcode 12.2 12B45b
 }}}
 with the error
 {{{
 :info:build glibtool: compile:  /usr/bin/clang -c -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
 -DHAVE_CONFIG_H -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch
 x86_64 -DUSE_PLUGIN -DDICT_PLUGIN_PATH=\"/opt/local/libexec/\"
 -DDICT_DICTIONARY_PATH=\"/opt/local/share/\" -DDICT_VERSION=\"1.13.0\"
 -DDICT_CONFIG_PATH=\"/opt/local/etc/\" -I. -I. clientparse.c  -fno-common
 -DPIC -o .libs/clientparse.o
 :info:build y.tab.c:1047:16: error: implicit declaration of function
 'yylex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build       yychar = yylex ();
 :info:build                ^
 :info:build y.tab.c:1233:7: error: implicit declaration of function
 'yyerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build       yyerror (YY_("syntax error"));
 :info:build       ^
 :info:build y.tab.c:1344:3: error: implicit declaration of function
 'yyerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build   yyerror (YY_("memory exhausted"));
 :info:build   ^
 :info:build 3 errors generated.
 :info:build make: *** [clientparse.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62015>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list