From unknown Sat Jun 14 18:39:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50876] [PATCH] gnu: ocaml-ctypes: Update to 0.19.1. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Sep 2021 19:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50876 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50876@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163285671922752 (code B ref -1); Tue, 28 Sep 2021 19:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Sep 2021 19:18:39 +0000 Received: from localhost ([127.0.0.1]:47033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVIch-0005uu-Bw for submit@debbugs.gnu.org; Tue, 28 Sep 2021 15:18:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:36710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVIcf-0005um-It for submit@debbugs.gnu.org; Tue, 28 Sep 2021 15:18:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVIcf-0002OS-DQ for guix-patches@gnu.org; Tue, 28 Sep 2021 15:18:37 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:55472 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVIcd-0007C1-Qn for guix-patches@gnu.org; Tue, 28 Sep 2021 15:18:37 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632856712; bh=ud8NXNKADv1Kp4L9ZaSCNXS3nVZrFEkDCypUJKFw9CU=; h=From:To:Subject:Date; b=X0HRtNR95zeuL2Zf8E/SkOBvIZ0lr96pxWn8tnIAGnojSj3oGKWlNVK0qLxPvcE28 dNTUoScD+RWsYktUvDWphrGKW9KOFnHVKahLtoVjB9UuvyJzPiZZfQpeWlHiQgAOAc WvTt+hcN0UC13u1xUSnTMa7wI7LgFwdFEO1CW2Fo= Date: Tue, 28 Sep 2021 21:18:32 +0200 Message-ID: <875yuk33w7.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 39 X-Spam_score: 3.9 X-Spam_bar: +++ X-Spam_report: (3.9 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.229, PDS_OTHER_BAD_TLD=1.999, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_DYNIP=2.299 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/ocaml.scm (ocaml-ctypes): Update to 0.19.1. [arguments]<#:tests?>: Enable. <#phases>{make-writable}: Simplify. [inputs]: Remove ocaml-topkg and opam. Move ocaml-ounit and ocaml-lwt to . [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) * gnu/packages/ocaml.scm (ocaml-ctypes): Update to 0.19.1. [arguments]<#:tests?>: Enable. <#phases>{make-writable}: Simplify. [inputs]: Remove ocaml-topkg and opam. Move ocaml-ounit and ocaml-lwt to ... [native-inputs]: ... here. --- gnu/packages/ocaml.scm | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index e30bd2f613..6577a38167 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4012,7 +4012,7 @@ (define-public ocaml-integers (define-public ocaml-ctypes (package (name "ocaml-ctypes") - (version "0.18.0") + (version "0.19.1") (home-page "https://github.com/ocamllabs/ocaml-ctypes") (source (origin (method git-fetch) @@ -4022,34 +4022,27 @@ (define-public ocaml-ctypes (file-name (git-file-name name version)) (sha256 (base32 - "03zrbnl16m67ls0yfhq7a4k4238x6x6b3m456g4dw2yqwc153vks")))) + "1xi1a486gssrb23zln3sf7zn0rmyl1k684bdf9iqkhgpz607fq6s")))) (build-system ocaml-build-system) (arguments - `(#:tests? #f; require an old lwt - #:make-flags + `(#:make-flags (list (string-append "INSTALL_HEADERS = $(wildcard $($(PROJECT).dir)/*.h)")) #:phases (modify-phases %standard-phases (add-after 'unpack 'make-writable (lambda _ - (for-each - (lambda (file) - (let ((stat (stat file))) - (chmod file (+ #o200 (stat:mode stat))))) - (find-files "." ".")) - #t)) + (for-each make-file-writable + (find-files ".")))) (delete 'configure)))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config) + ("ounit" ,ocaml-ounit) + ("lwt" ,ocaml-lwt))) (propagated-inputs `(("bigarray-compat" ,ocaml-bigarray-compat) ("integers" ,ocaml-integers))) (inputs - `(("libffi" ,libffi) - ("ounit" ,ocaml-ounit) - ("lwt" ,ocaml-lwt) - ("topkg" ,ocaml-topkg) - ("opam" ,opam))) + `(("libffi" ,libffi))) (synopsis "Library for binding to C libraries using pure OCaml") (description "Ctypes is a library for binding to C libraries using pure OCaml. The primary aim is to make writing C extensions as straightforward as base-commit: 8c6c33a2a5bf385e1589b405ee7f842684ed80c1 -- 2.33.0 From unknown Sat Jun 14 18:39:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Xinglu Chen Subject: bug#50876: closed (Re: [PATCH] gnu: ocaml-ctypes: Update to 0.19.1.) Message-ID: References: <20211008044637.2c58ae50@tachikoma.lepiller.eu> <875yuk33w7.fsf@yoctocell.xyz> X-Gnu-PR-Message: they-closed 50876 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 50876@debbugs.gnu.org Date: Fri, 08 Oct 2021 02:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1633661222-30956-1" This is a multi-part message in MIME format... ------------=_1633661222-30956-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50876: [PATCH] gnu: ocaml-ctypes: Update to 0.19.1. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 50876@debbugs.gnu.org. --=20 50876: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50876 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1633661222-30956-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50876-done) by debbugs.gnu.org; 8 Oct 2021 02:46:49 +0000 Received: from localhost ([127.0.0.1]:48811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYfuL-00082t-IH for submit@debbugs.gnu.org; Thu, 07 Oct 2021 22:46:49 -0400 Received: from lepiller.eu ([89.234.186.109]:34358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYfuJ-00082k-AG for 50876-done@debbugs.gnu.org; Thu, 07 Oct 2021 22:46:47 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id c797a42f for <50876-done@debbugs.gnu.org>; Fri, 8 Oct 2021 02:46:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=dkim; bh=+yoaKJhQJFomW4rvlnj3BS0Qk tVsWM22hctCEOYK16I=; b=mdTibONJVjag51YmSvnHa9DHn27NYgj/Dp2zhTU0l A++05t9iRrFyh3i8Zr2OKg8tdsP/YLkQ7CsOX6Ow0RsNIJArtplgJqiWUe48jvxf rB83JFvXlHmCu9V8Hbi+Fe97n7eojSyb3YoP6g3lZJKZs0wUqkgRN03rORgKhYfL 7sK9AwSZ8tWQzznCK8OOwXRwvYLaCFMgH/HvofU/gxLvYVs89zujipyatCWJPWxb fYjU+A/PXjM1tBnQ3jxga+zZ6DfOCmA6F2RrV0t8N+3mC47JcBbdRYkfK2RUx3Pw KDNnuNSBf9T3t4ZDmgAwBoKvKe3Uf/bbBvtFnhnlo+uNA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id c03466ca (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <50876-done@debbugs.gnu.org>; Fri, 8 Oct 2021 02:46:46 +0000 (UTC) Date: Fri, 8 Oct 2021 04:46:37 +0200 From: Julien Lepiller To: 50876-done@debbugs.gnu.org Subject: Re: [PATCH] gnu: ocaml-ctypes: Update to 0.19.1. Message-ID: <20211008044637.2c58ae50@tachikoma.lepiller.eu> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50876-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pushed to master as a0804f44456ee49e4c50130df0daf32aaf8f5281, thanks! ------------=_1633661222-30956-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Sep 2021 19:18:39 +0000 Received: from localhost ([127.0.0.1]:47033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVIch-0005uu-Bw for submit@debbugs.gnu.org; Tue, 28 Sep 2021 15:18:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:36710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVIcf-0005um-It for submit@debbugs.gnu.org; Tue, 28 Sep 2021 15:18:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVIcf-0002OS-DQ for guix-patches@gnu.org; Tue, 28 Sep 2021 15:18:37 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:55472 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVIcd-0007C1-Qn for guix-patches@gnu.org; Tue, 28 Sep 2021 15:18:37 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632856712; bh=ud8NXNKADv1Kp4L9ZaSCNXS3nVZrFEkDCypUJKFw9CU=; h=From:To:Subject:Date; b=X0HRtNR95zeuL2Zf8E/SkOBvIZ0lr96pxWn8tnIAGnojSj3oGKWlNVK0qLxPvcE28 dNTUoScD+RWsYktUvDWphrGKW9KOFnHVKahLtoVjB9UuvyJzPiZZfQpeWlHiQgAOAc WvTt+hcN0UC13u1xUSnTMa7wI7LgFwdFEO1CW2Fo= To: guix-patches@gnu.org Subject: [PATCH] gnu: ocaml-ctypes: Update to 0.19.1. Date: Tue, 28 Sep 2021 21:18:32 +0200 Message-ID: <875yuk33w7.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 39 X-Spam_score: 3.9 X-Spam_bar: +++ X-Spam_report: (3.9 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.229, PDS_OTHER_BAD_TLD=1.999, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_DYNIP=2.299 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/ocaml.scm (ocaml-ctypes): Update to 0.19.1. [arguments]<#:tests?>: Enable. <#phases>{make-writable}: Simplify. [inputs]: Remove ocaml-topkg and opam. Move ocaml-ounit and ocaml-lwt to . [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) * gnu/packages/ocaml.scm (ocaml-ctypes): Update to 0.19.1. [arguments]<#:tests?>: Enable. <#phases>{make-writable}: Simplify. [inputs]: Remove ocaml-topkg and opam. Move ocaml-ounit and ocaml-lwt to ... [native-inputs]: ... here. --- gnu/packages/ocaml.scm | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index e30bd2f613..6577a38167 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4012,7 +4012,7 @@ (define-public ocaml-integers (define-public ocaml-ctypes (package (name "ocaml-ctypes") - (version "0.18.0") + (version "0.19.1") (home-page "https://github.com/ocamllabs/ocaml-ctypes") (source (origin (method git-fetch) @@ -4022,34 +4022,27 @@ (define-public ocaml-ctypes (file-name (git-file-name name version)) (sha256 (base32 - "03zrbnl16m67ls0yfhq7a4k4238x6x6b3m456g4dw2yqwc153vks")))) + "1xi1a486gssrb23zln3sf7zn0rmyl1k684bdf9iqkhgpz607fq6s")))) (build-system ocaml-build-system) (arguments - `(#:tests? #f; require an old lwt - #:make-flags + `(#:make-flags (list (string-append "INSTALL_HEADERS = $(wildcard $($(PROJECT).dir)/*.h)")) #:phases (modify-phases %standard-phases (add-after 'unpack 'make-writable (lambda _ - (for-each - (lambda (file) - (let ((stat (stat file))) - (chmod file (+ #o200 (stat:mode stat))))) - (find-files "." ".")) - #t)) + (for-each make-file-writable + (find-files ".")))) (delete 'configure)))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config) + ("ounit" ,ocaml-ounit) + ("lwt" ,ocaml-lwt))) (propagated-inputs `(("bigarray-compat" ,ocaml-bigarray-compat) ("integers" ,ocaml-integers))) (inputs - `(("libffi" ,libffi) - ("ounit" ,ocaml-ounit) - ("lwt" ,ocaml-lwt) - ("topkg" ,ocaml-topkg) - ("opam" ,opam))) + `(("libffi" ,libffi))) (synopsis "Library for binding to C libraries using pure OCaml") (description "Ctypes is a library for binding to C libraries using pure OCaml. The primary aim is to make writing C extensions as straightforward as base-commit: 8c6c33a2a5bf385e1589b405ee7f842684ed80c1 -- 2.33.0 ------------=_1633661222-30956-1--