dev-db/sqlitebrowser-3.12.2 fails to build with LLVM/Clang 17. Built fine with LLVM/CLang 16 before. Reproducible: Always Steps to Reproduce: 1. Update to Clang/LLVM 17 2. emerge -av1 sqlitebrowser 3. rejoice Actual Results: It failed to build Expected Results: Sqlitebrowser should build and run successfully. I will post the build log and the output of emerge --info as attachments, as they are quite long.
Created attachment 872340 [details] Build log
Created attachment 872341 [details] emerge --info
I am not sure to perfectly understand the issue causing this build failure and I don't manage to reproduce it. In my opinion, it is due to a strange behaviour during precompiling. Indeed, the macro `str` defined in `src/version.h` seems to override some content in the system headers. Could you try if the patch I have attached fix that (https://wiki.gentoo.org/wiki//etc/portage/patches)?
Created attachment 873100 [details, diff] fix build failure with LLVM/Clang 17
It worked. Thank you very much.