From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS autolearn=no autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734006005; x=1734610805; darn=lists.altlinux.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date:sender:from :to:cc:subject:date:message-id:reply-to; bh=HldtnFRqiXT1tP44a+dFAcKQJhgyYFl2NQWEdgdJZs4=; b=be6fcmJXj/M92chR+2sIqOLSfqmhK8RLtH9cOOQH7HbcEoztqzZGqQnCLhXmsBPrIs UizdEfV+s0smhbNDQViDii+xD1j36T4sHfDqdgaFZnb4XCx8wppAVNt/pBD68vLUt40h HKN9qJWYR5b0asF3nKqK4hI5mkUFx1Ra+DGWyEMl2LZDaLZRw3UIu4n2LiTVp2xevBga sAi/zP+E8lYFYw4M4J9/OcRE4oA5EgeJlOOQJuQAefbOz8gKgY9Sdg5wEl5PyhwAwNQH 9G3atZKlwycbqKnqZIirxU0+YcyBPWjepsa3hismYn8zWg6wVv6xMpxHslbnkNim2Mim 9pXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734006005; x=1734610805; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HldtnFRqiXT1tP44a+dFAcKQJhgyYFl2NQWEdgdJZs4=; b=U/WRJs+8hSo+Bl2uMcpcyNvSV+Sf0HpVXkg2a7vxQa291S5iAfiFHvHBlF86Lv4od0 c+JgJOpdQ8RMLabPHu/0HA/qiyiyrXpLSQY6V1mkC16bvdhHquijDMYT4Yvr4EtUZ+GV wi72RBDde+kzn0GRC8CjIP+asW3fW0B8kKJvQHLM0b/2wV6iJS5R8/qSkwT4OG59H8SW IGixWoSM7xRlfy3ox4vE99SfYl+yYSCjsdJT9FBVX4TXlRSWuKqQ4CGDCEiYiNM6CB+M 0tiWrOa7o25Pz1RWPBNmVppnnDQbjfiSbbHuPyAXFLnw9xaSzXccX8T9Kx+EVRwqc3t1 E5jQ== X-Gm-Message-State: AOJu0YyOlcg/7HOPVS4/TmLQjSCRNqCAaFLCgAvqP4d/SIm7s+LR4XwZ hFip6K9VUHli28e0jBPw/BUBbwu+Bd43g3whSRklrZ+j4tjnXnKI8G9wjQ== X-Gm-Gg: ASbGncue4r7O9wZDH8XPICJGqpZy4cdFSUkFsrAA24JNeJ9dctRoXfYdqJkLoVRZhZw Tq6m9jXWTayMwhBy4yNi9qJCNT19QTbkKyCMWHAFwhRdcPyLaJ3rKS41xEEhylG3o2xPo/lSEpI C6i33nfFzyucDpWEhhOg7RfyR+yJVyI3EbJFwlmv2CylgZnboUlN12pG1L25TNUtmew1Kd/pqZA dZTRSYYj3S3E9mvZNlXGEH76dUCu6JBpnKoWqXboVBb7hB92Pnfg/H4l4g3KHGY+SpFl0Y= X-Google-Smtp-Source: AGHT+IERnREcKR3R8QZfWOP8pmbiKXf1eWOwk6kYlL4We99PP1CmJQPhneI6NML7GXJyMvgVQvmQng== X-Received: by 2002:a05:6512:3b20:b0:53e:395c:688b with SMTP id 2adb3069b0e04-54034135091mr63052e87.47.1734006004925; Thu, 12 Dec 2024 04:20:04 -0800 (PST) Sender: "Ivan A. Melnikov" Date: Thu, 12 Dec 2024 16:20:01 +0400 From: "Ivan A. Melnikov" To: "devel@ where you _can_ ask" Message-ID: <77ryfg2bl56cnb4kbfqimxb4din7hvduzc5xmeebj5xxobfwjo@e2fpfoultrmv> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [newbies] =?utf-8?b?0KHQsdC+0YDQutCwINGBIGNtYWtl?= X-BeenThere: devel-newbies@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: "devel@ where you _can_ ask" List-Id: "devel@ where you _can_ ask" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2024 12:20:07 -0000 Archived-At: List-Archive: On Thu, Dec 12, 2024 at 11:04:03PM GMT, Aleksandr Shamaraev wrote: > Доброго времени суток. > > При сборке пакета с cmake уперся в ошибку > > CMake Error at src/cmake/friction-common.cmake:46 (message): > Only Clang is supported. > > по факту там > if(UNIX AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang") > message(FATAL_ERROR "Only Clang is supported.") > > я уже многое перепробовал ... понять не могу что ему надо для BuildRequires > > Никто не сталкивался с подобной ситуацией? Во-первых, Вам нужно установить clang. Должно быть достаточно такого: BuildRequires: clang Для сбоки кода на C++ может также понадобиться libstdc++-devel, не помню, есть ли у clang на неё зависимость. Во-вторых, нужно рассказать cmake, что необходимо использовать clang. Как я понимаю, задавать CMAKE_TOOLCHAIN_FILE люди не любят, более популярным и даже правильным будет задать переменные среды: export CC=clang export CXX=clang++ %cmake [...] -- wbr, iv m.