=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/detex", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for detex-2.8 --- detex.c --- sed -f states.sed detex.l > xxx.l lex xxx.l rm -f xxx.l mv lex.yy.c detex.c --- detex.o --- gcc -Wno-implicit-function-declaration -Wno-implicit-int -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -c detex.c xxx.l: In function 'main': xxx.l:370:1: warning: old-style function definition [-Wold-style-definition] xxx.l:444:18: error: too many arguments to function 'TexOpen'; expected 0, have 1 xxx.l:375:8: note: declared here xxx.l: In function 'SetEnvIgnore': xxx.l:518:1: warning: old-style function definition [-Wold-style-definition] xxx.l:523:7: error: too many arguments to function 'SafeMalloc'; expected 0, have 2 xxx.l:77:7: note: declared here xxx.l: In function 'BeginEnv': xxx.l:535:1: warning: old-style function definition [-Wold-style-definition] xxx.l: In function 'EndEnv': xxx.l:553:1: warning: old-style function definition [-Wold-style-definition] xxx.l: In function 'InputFile': xxx.l:574:14: error: too many arguments to function 'TexOpen'; expected 0, have 1 xxx.l:569:8: note: declared here xxx.l: In function 'IncludeFile': xxx.l:599:14: error: too many arguments to function 'TexOpen'; expected 0, have 1 xxx.l:592:8: note: declared here xxx.l: In function 'AddInclude': xxx.l:621:28: error: too many arguments to function 'SafeMalloc'; expected 0, have 2 xxx.l:77:7: note: declared here xxx.l: In function 'InList': xxx.l:630:1: warning: old-style function definition [-Wold-style-definition] xxx.l: In function 'SetInputPaths': xxx.l:659:23: error: conflicting types for 'getenv'; have 'char *(void)' In file included from /usr/include/stdlib.h:41, from lex.yy.c:21: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ xxx.l:666:16: error: too many arguments to function 'getenv'; expected 0, have 1 xxx.l:659:23: note: declared here xxx.l:673:12: error: too many arguments to function 'SafeMalloc'; expected 0, have 2 xxx.l:77:7: note: declared here xxx.l: In function 'SeparateList': xxx.l:697:1: warning: old-style function definition [-Wold-style-definition] xxx.l: In function 'TexOpen': xxx.l:592:8: warning: old-style function definition [-Wold-style-definition] xxx.l:726:1: error: number of arguments doesn't match prototype xxx.l:592:8: error: prototype declaration xxx.l:765:14: error: too many arguments to function 'SafeMalloc'; expected 0, have 2 xxx.l:77:7: note: declared here xxx.l: In function 'SafeMalloc': xxx.l:783:1: warning: old-style function definition [-Wold-style-definition] xxx.l:786:1: error: number of arguments doesn't match prototype xxx.l:77:7: error: prototype declaration xxx.l: In function 'Warning': xxx.l:798:1: warning: old-style function definition [-Wold-style-definition] xxx.l: In function 'ErrorExit': xxx.l:809:1: warning: old-style function definition [-Wold-style-definition] *** [detex.o] Error code 1 bmake: stopped making "all" in /tmp/work/textproc/detex/work/detex-2.8 bmake: 1 error bmake: stopped making "all" in /tmp/work/textproc/detex/work/detex-2.8 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/detex *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/detex