On Sun, May 23, 2021 at 08:00:09PM -0400, Kurt Mosiejczuk wrote: > With base-gcc sysutils/rofi failed to build on sparc64 with: > > lexer/theme-parser.c:1129: error: expected '=', ',', ';', 'asm' or > '__attribute_ > _' before 'static' > > Switching it to use ports-gcc fixed the build for sparc64
I don't think that missing ports-gcc is the problem in your build failure. It builds for me without modification of the Makefile. However, compared to your build log http://build-failures.rhaalovely.net/sparc64/2021-05-17/sysutils/rofi.log I don't see the /bin/sh ./ylwrap lines at the beginning of the build. I don't know what would trigger those. ./script/get_git_rev.sh . ./gitconfig.h which: git: Command not found. /bin/sh ./ylwrap lexer/theme-parser.y y.tab.c lexer/theme-parser.c y.tab.h `echo lexer/theme-parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output lexer/theme-parser.output -- bison -o y.tab.c -d /usr/obj/ports/rofi-1.6.1/rofi-1.6.1/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr] /usr/obj/ports/rofi-1.6.1/rofi-1.6.1/lexer/theme-parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples updating lexer/theme-parser.h /bin/sh ./ylwrap lexer/theme-lexer.l lex.yy.c lexer/theme-lexer.c -- flex /usr/bin/make all-am ./script/get_git_rev.sh . ./gitconfig.h which: git: Command not found. /bin/sh ./ylwrap lexer/theme-parser.y y.tab.c lexer/theme-parser.c y.tab.h `echo lexer/theme-parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output lexer/theme-parser.output -- bison -o y.tab.c -d /usr/obj/ports/rofi-1.6.1/rofi-1.6.1/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr] /usr/obj/ports/rofi-1.6.1/rofi-1.6.1/lexer/theme-parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples lexer/theme-parser.h is unchanged