From patchwork Tue Feb 27 19:19:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 61179 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F3B6627BBE9; Tue, 27 Feb 2024 19:20:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0D67427BBE2 for ; Tue, 27 Feb 2024 19:20:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rf30J-0001OM-1G; Tue, 27 Feb 2024 14:20:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rf30G-0001NO-Ss for guix-patches@gnu.org; Tue, 27 Feb 2024 14:20:36 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rf30G-0007J9-5P for guix-patches@gnu.org; Tue, 27 Feb 2024 14:20:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rf30f-0006rt-Tj for guix-patches@gnu.org; Tue, 27 Feb 2024 14:21:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69435] [PATCH] gnu: c2ffi: Update to 16.0.0.0. Resent-From: attila.lendvai@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Feb 2024 19:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69435 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69435@debbugs.gnu.org Cc: Attila Lendvai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170906163226311 (code B ref -1); Tue, 27 Feb 2024 19:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Feb 2024 19:20:32 +0000 Received: from localhost ([127.0.0.1]:47593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf30B-0006qI-U0 for submit@debbugs.gnu.org; Tue, 27 Feb 2024 14:20:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:55506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf309-0006q8-Es for submit@debbugs.gnu.org; Tue, 27 Feb 2024 14:20:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rf2zi-00013u-NT for guix-patches@gnu.org; Tue, 27 Feb 2024 14:20:03 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rf2zf-00071B-P8 for guix-patches@gnu.org; Tue, 27 Feb 2024 14:20:02 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-412a3901eaaso20595485e9.0 for ; Tue, 27 Feb 2024 11:19:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709061598; x=1709666398; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ncw9ScFbOC2uOnJ1U30YKW3qsrIxIZJjC1lVPZytbzk=; b=CzaDm7cm3dTel6BX7bNbOa3xOS0jM6ggbust+tK+DxsUe5BXJQ5Rqsd9OO3IVsV/p7 9M7PBe/vIQhEMuKf95zkqT2ZvLhHInVt7KTScf786q40dkn9nam/0XFoUQf0cDnzUB5q jBllfeM17+h11h6UZLzceyQYuHvmwYccOnNy8WqIliQK/q8L4sQptZ1eInNsFRqGysfu vMsU5ObKpSpJc5lPExXNLLV2Cqdueccrvx6hYPJymQelghXTQK/yJrEGW9NEcFenbYUJ Blu8vQo6fhCFTWuDK6Umm90vvlspGpeGUEYwBqq7Dgh76nZGpL3m+qHYzncJcISKq5SM xy4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709061598; x=1709666398; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ncw9ScFbOC2uOnJ1U30YKW3qsrIxIZJjC1lVPZytbzk=; b=VIqOGA9EdAzZhi3Ga3JEpGUZ2kvA3LUxKD506n1gcvWd36WEBYA5mDM5MCFB4AE4Oq r/pYSQMj1YOCOQY/oqRlODhAU3qObUbRg8aJNPuTYnuNLHQFkih/m/xGoBTAl6htvL8H EWOpWG6+H026j/P3nW45ToK+ulMb5UtoFSVzCk2OjPRe658Ma6ExtKCNw8jnac2qSQ7M Fe+lnr5An2yHnwobKJMew2dQTIjkTAWawayLjrfG2BB5gKrLWw2+TwQRIcu8Acj505zJ ooYy49I4KG+HdedL1PxneMt+uIAT0u5c1Eb2NFdDgo770opfWjm0w7v+KRS15yyLaWAE ADSg== X-Gm-Message-State: AOJu0YxkcC5zvtGUdr6vzbD5zo2drf7l5m8cgaYTqHpYxJ7jjscJXbiD 3v4iQepEWuPL3EpCgoy5XI/3tk0qOA2gqoSLLNwIDQrrVijDqpMjj+aqqQgM X-Google-Smtp-Source: AGHT+IFrTXSPyKnv0GNFU2Zppu9gtr9BoqtRZW3XkvXJilUw/PMjX6WRRvqDDY6YsVrJu5VeV19aww== X-Received: by 2002:a05:600c:a39e:b0:412:a4a8:8173 with SMTP id hn30-20020a05600ca39e00b00412a4a88173mr3890827wmb.10.1709061597462; Tue, 27 Feb 2024 11:19:57 -0800 (PST) Received: from lelap.lan (2a00-1f40-b161-12b0--477.pool6.panelnet.hu. [2a00:1f40:b161:12b0::477]) by smtp.gmail.com with ESMTPSA id p19-20020a05600c205300b004126afe04f6sm15761998wmg.32.2024.02.27.11.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 11:19:56 -0800 (PST) From: attila.lendvai@gmail.com X-Google-Original-From: attila@lendvai.name Date: Tue, 27 Feb 2024 20:19:36 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=attila.lendvai@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Attila Lendvai Change-Id: I8b9562ea865347eafd2e098c3cf2b42611140aff --- gnu/packages/cpp.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) base-commit: bf17a01e06abc100651ed643f2d5c7fea07d37ba diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index e530d1d2a89..2eacd795597 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -279,16 +279,18 @@ (define-public c2ffi (name "c2ffi") ;; As per the c2ffi README: the first three elements are encoding the ;; required Clang/LLVM version, and the last one is the c2ffi revision. - (version "12.0.0.0") + (version "16.0.0.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/rpav/c2ffi") - (commit (string-append "v" version)))) + ;; Upstream is not tagging releases consistently. + ;; (commit (string-append "v" version)) + (commit "097cbe61ca02dc79ea60859aa056975131a9d985"))) (file-name (git-file-name name version)) (sha256 - (base32 "1qq8dfismd20d9kfxpfvwz07v9mfvd0y7p5r3c92mk2pm4xnmzfy")) + (base32 "1mqhw4838chl495gaj9z0731ahkmqb4f3wlc1qalk82fdsaniyd5")) (modules '((guix build utils))) (snippet '(substitute* "CMakeLists.txt" @@ -309,9 +311,9 @@ (define-public c2ffi (when tests? (invoke "./bin/c2ffi" "--help"))))))) (native-inputs - (list clang-12)) ; CMakeLists.txt invokes `clang -print-resource-dir` + (list clang-16)) ; CMakeLists.txt invokes `clang -print-resource-dir` (inputs - (list clang-12)) ; Compiled with gcc, but links against libclang-cpp.so + (list clang-16)) ; Compiled with gcc, but links against libclang-cpp.so (home-page "https://github.com/rpav/c2ffi") (synopsis "Clang-based FFI wrapper generator") (description