On Fri, Dec 13, 2024 at 07:27:28AM -0500, Josh Grosse wrote:
> On Fri, Dec 13, 2024 at 12:12:25PM +0100, Manuel Giraud wrote:
> > Hi,
> > 
> > I was not able to compile this.  I'm stuck on the following error:
> > [snip]
> > Error running '/usr/local/bin/clang-tidy': Segmentation fault
> 
> Thank you for the report.  Will it build for you when clang-tools-extra is
> not installed?

I've been able to replicate the problem.  The following patch disables 
clang-tidy:

$ cat patches/patch-CMakeLists.txt
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -71,7 +71,7 @@ option(ENABLE_NLS "Enable native language support" ON)
 option(INSTALL_DOC "Build/install documentation" ON)
 option(INSTALL_LIB "Install the library" OFF)
 tr_auto_option(ENABLE_DEPRECATED "Allow deprecated API use of upstream 
packages, e.g. GTK" AUTO)
-tr_auto_option(RUN_CLANG_TIDY "Run clang-tidy on the code" AUTO)
+tr_auto_option(RUN_CLANG_TIDY "Run clang-tidy on the code" OFF)
 tr_auto_option(USE_SYSTEM_EVENT2 "Use system event2 library" AUTO)
 tr_auto_option(USE_SYSTEM_DEFLATE "Use system deflate library" AUTO)
 tr_auto_option(USE_SYSTEM_DHT "Use system dht library" AUTO)

Reply via email to