Bugzilla – Bug 1222921
cvise fails to build on Leap 15.6 - no member named 'getField'
Last modified: 2024-05-21 02:49:08 UTC
Hello package cvise fails to build on Leap 15.6 https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/cvise/standard/x86_64 2.8.0+git.20230428.7aaa251/clang_delta/RemoveUnusedStructField.cpp:250:39: error: 'const class clang::DesignatedInitExpr::Designator' has no member named 'getField'; did you mean 'getFieldLoc'? [ 218s] 250 | const FieldDecl *CurrFD = DS->getField(); [ 218s] | ^~~~~~~~ [ 218s] | getFieldLoc [ 218s] make[2]: *** [clang_delta/CMakeFiles/clang_delta.dir/build.make:639: clang_delta/CMakeFiles/clang_delta.dir/RemoveUnusedStructField.cpp.o] Error 1
Please update to the latest C-Vise release where the LLVM 17 compatibility is addressed. Or, if you can't provide Python 3.8+, then please cherry-pick the following revisions: https://github.com/marxin/cvise/commit/20cac24b794987f09321201130452f2102e26194 https://github.com/marxin/cvise/commit/47b20cd98513e686145e52aa7f8dc081204ad6ea
(In reply to Martin Liška from comment #2) > Please update to the latest C-Vise release where the LLVM 17 compatibility > is addressed. Or, if you can't provide Python 3.8+, then please cherry-pick > the following revisions: > https://github.com/marxin/cvise/commit/ > 20cac24b794987f09321201130452f2102e26194 > https://github.com/marxin/cvise/commit/ > 47b20cd98513e686145e52aa7f8dc081204ad6ea these two patches is not enough to fix the build, I force it to use llvm15 to build with cvise on Leap 15.6 atm, that works.