SUMMARY Building KService on MacOS High Sierra fails with stock bison 2.3. OBSERVED RESULT [ 9%] [34m[1m[BISON][TraderParser] Building parser with bison 2.3[0m services/yacc.y:18.1-5: invalid directive: `%code' services/yacc.y:18.7-14: syntax error, unexpected identifier make[6]: *** [src/yacc.c] Error 1 make[5]: *** [src/CMakeFiles/KF5Service.dir/all] Error 2 EXPECTED RESULT No build error. ADDITIONAL INFORMATION There is a check in CMakeLists.txt for bison find_package(BISON REQUIRED) but there is no minimal version requirement, which seems to be not correct. KService compiles on MacOS if bison version is higher.
Fixed by Kurt Hindenburg with https://commits.kde.org/kservice/6b46411622b04cd5027806f538ec6af3652a4906