https://bugs.kde.org/show_bug.cgi?id=405532
Bug ID: 405532 Summary: KService fails to build on MacOS due to old bison Product: frameworks-kservice Version: 5.56.0 Platform: Other OS: OS X Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: fa...@kde.org Reporter: lukasz.wojnilow...@gmail.com CC: kdelibs-b...@kde.org Target Milestone: --- 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. -- You are receiving this mail because: You are watching all bug changes.