GNU bug report logs - #72094
[PATCH] gnu: c2ffi: Update to 18.1.0.0.

Previous Next

Package: guix-patches;

Reported by: attila.lendvai <at> gmail.com

Date: Sat, 13 Jul 2024 16:03:02 UTC

Severity: normal

Tags: patch

Done: Z572 <873216071 <at> qq.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72094 in the body.
You can then email your comments to 72094 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#72094; Package guix-patches. (Sat, 13 Jul 2024 16:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to attila.lendvai <at> gmail.com:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 13 Jul 2024 16:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: attila.lendvai <at> gmail.com
To: guix-patches <at> gnu.org
Cc: Attila Lendvai <attila <at> lendvai.name>
Subject: [PATCH] gnu: c2ffi: Update to 18.1.0.0.
Date: Sat, 13 Jul 2024 18:01:11 +0200
From: Attila Lendvai <attila <at> lendvai.name>

Change-Id: Ie4a2c35d001a1c74be117312deb5f81d66109dfd
---
 gnu/packages/cpp.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 40181358ba5..ee945fcc683 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -314,23 +314,21 @@ (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 "16.0.0.0")
+    (version "18.1.0.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/rpav/c2ffi")
-             ;; Upstream is not tagging releases consistently.
-             ;; (commit (string-append "v" version))
-             (commit "097cbe61ca02dc79ea60859aa056975131a9d985")))
+             (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1mqhw4838chl495gaj9z0731ahkmqb4f3wlc1qalk82fdsaniyd5"))
+        (base32 "03hw650wjrc4jb4ra8bwc4rnprr0fpnf3wlxzacfjysvl25jb0j6"))
        (modules '((guix build utils)))
        (snippet
         '(substitute* "CMakeLists.txt"
            ;; Guix seems to be packaging LLVM libs separately thus -lLLVM
-           ;; won't work, every used library must be specified explicitly.
+           ;; won't work.  Instead every library used must be listed.
            (("c2ffi PUBLIC clang-cpp LLVM")
             "c2ffi PUBLIC clang-cpp LLVMCore LLVMSupport LLVMMCParser \
 LLVMOption LLVMBitReader LLVMProfileData")))))
@@ -346,9 +344,9 @@ (define-public c2ffi
              (when tests?
                (invoke "./bin/c2ffi" "--help")))))))
     (native-inputs
-     (list clang-16)) ; CMakeLists.txt invokes `clang -print-resource-dir`
+     (list clang-18)) ; CMakeLists.txt invokes `clang -print-resource-dir`
     (inputs
-     (list clang-16)) ; Compiled with gcc, but links against libclang-cpp.so
+     (list clang-18)) ; Compiled with gcc, but links against libclang-cpp.so
     (home-page "https://github.com/rpav/c2ffi")
     (synopsis "Clang-based FFI wrapper generator")
     (description

base-commit: 71694363f6cc79e44955acbd9f7ca108e658caca
-- 
2.45.1





Reply sent to Z572 <873216071 <at> qq.com>:
You have taken responsibility. (Mon, 15 Jul 2024 13:41:01 GMT) Full text and rfc822 format available.

Notification sent to attila.lendvai <at> gmail.com:
bug acknowledged by developer. (Mon, 15 Jul 2024 13:41:02 GMT) Full text and rfc822 format available.

Message #10 received at 72094-done <at> debbugs.gnu.org (full text, mbox):

From: Z572 <873216071 <at> qq.com>
To: attila.lendvai <at> gmail.com
Cc: Attila Lendvai <attila <at> lendvai.name>, 72094-done <at> debbugs.gnu.org
Subject: Re: [bug#72094] [PATCH] gnu: c2ffi: Update to 18.1.0.0.
Date: Mon, 15 Jul 2024 21:40:06 +0800
[Message part 1 (text/plain, inline)]
attila.lendvai <at> gmail.com writes:

> From: Attila Lendvai <attila <at> lendvai.name>
>
> Change-Id: Ie4a2c35d001a1c74be117312deb5f81d66109dfd
> ---
>  gnu/packages/cpp.scm | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)
>
> diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
> index 40181358ba5..ee945fcc683 100644
> --- a/gnu/packages/cpp.scm
> +++ b/gnu/packages/cpp.scm
> @@ -314,23 +314,21 @@ (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 "16.0.0.0")
> +    (version "18.1.0.0")
>      (source
>       (origin
>         (method git-fetch)
>         (uri (git-reference
>               (url "https://github.com/rpav/c2ffi")
> -             ;; Upstream is not tagging releases consistently.
> -             ;; (commit (string-append "v" version))
> -             (commit "097cbe61ca02dc79ea60859aa056975131a9d985")))
> +             (commit (string-append "v" version))))
>         (file-name (git-file-name name version))
>         (sha256
> -        (base32 "1mqhw4838chl495gaj9z0731ahkmqb4f3wlc1qalk82fdsaniyd5"))
> +        (base32 "03hw650wjrc4jb4ra8bwc4rnprr0fpnf3wlxzacfjysvl25jb0j6"))
>         (modules '((guix build utils)))
>         (snippet
>          '(substitute* "CMakeLists.txt"
>             ;; Guix seems to be packaging LLVM libs separately thus -lLLVM
> -           ;; won't work, every used library must be specified explicitly.
> +           ;; won't work.  Instead every library used must be listed.
>             (("c2ffi PUBLIC clang-cpp LLVM")
>              "c2ffi PUBLIC clang-cpp LLVMCore LLVMSupport LLVMMCParser \
>  LLVMOption LLVMBitReader LLVMProfileData")))))
> @@ -346,9 +344,9 @@ (define-public c2ffi
>               (when tests?
>                 (invoke "./bin/c2ffi" "--help")))))))
>      (native-inputs
> -     (list clang-16)) ; CMakeLists.txt invokes `clang -print-resource-dir`
> +     (list clang-18)) ; CMakeLists.txt invokes `clang -print-resource-dir`
>      (inputs
> -     (list clang-16)) ; Compiled with gcc, but links against libclang-cpp.so
> +     (list clang-18)) ; Compiled with gcc, but links against libclang-cpp.so
>      (home-page "https://github.com/rpav/c2ffi")
>      (synopsis "Clang-based FFI wrapper generator")
>      (description
>
> base-commit: 71694363f6cc79e44955acbd9f7ca108e658caca

push, see https://git.savannah.gnu.org/cgit/guix.git/commit/?id=1cd1caceedb55ed9f7071ca3f0a15930f563f9c2 
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 13 Aug 2024 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.