From unknown Mon Jun 16 23:41:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#64449 <64449@debbugs.gnu.org> To: bug#64449 <64449@debbugs.gnu.org> Subject: Status: [PATCH 0/4] Fix lua-cqueues build failure. Reply-To: bug#64449 <64449@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:41:02 +0000 retitle 64449 [PATCH 0/4] Fix lua-cqueues build failure. reassign 64449 guix-patches submitter 64449 Bruno Victal severity 64449 normal tag 64449 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 03 18:26:26 2023 Received: (at submit) by debbugs.gnu.org; 3 Jul 2023 22:26:26 +0000 Received: from localhost ([127.0.0.1]:34606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGS02-0007of-Hs for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:26:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:39808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGRzy-0007oV-B5 for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:26:26 -0400 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 1qGRzy-0007Uv-21 for guix-patches@gnu.org; Mon, 03 Jul 2023 18:26:22 -0400 Received: from smtpmciv2.myservices.hosting ([185.26.107.238]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGRzw-0001F9-CP for guix-patches@gnu.org; Mon, 03 Jul 2023 18:26:21 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv2.myservices.hosting (Postfix) with ESMTP id 996CB20DF0 for ; Tue, 4 Jul 2023 00:26:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id C81D280097; Tue, 4 Jul 2023 00:26:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HEOJbNfphv9C; Tue, 4 Jul 2023 00:26:09 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 36A3D80060; Tue, 4 Jul 2023 00:26:09 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH 0/4] Fix lua-cqueues build failure. Date: Mon, 3 Jul 2023 23:26:04 +0100 Message-Id: X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.238; envelope-from=mirai@makinata.eu; helo=smtpmciv2.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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: -2.3 (--) Fixes . Bruno Victal (4): gnu: lua-ossl: Update to 20220711. gnu: lua-ossl: Use G-expressions. gnu: lua-cqueues: Update to 20200726. gnu: lua-cqueues: Refactor package definition. gnu/packages/lua.scm | 242 ++++++++++++++++++++----------------------- 1 file changed, 111 insertions(+), 131 deletions(-) base-commit: cf7e0267adfc3cb83e477c2aebb61060c3c0cfd6 -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 03 18:29:00 2023 Received: (at submit) by debbugs.gnu.org; 3 Jul 2023 22:29:00 +0000 Received: from localhost ([127.0.0.1]:34611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGS2W-0007sY-2i for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:29:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:42898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGS2T-0007sQ-Aa for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:28:59 -0400 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 1qGS2T-0007l0-1b for guix-patches@gnu.org; Mon, 03 Jul 2023 18:28:57 -0400 Received: from smtpmciv4.myservices.hosting ([185.26.107.240]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGS2R-0001k5-EW for guix-patches@gnu.org; Mon, 03 Jul 2023 18:28:56 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv4.myservices.hosting (Postfix) with ESMTP id 2B08F209A6 for ; Tue, 4 Jul 2023 00:28:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 884E180099; Tue, 4 Jul 2023 00:28:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3cQH0bHX7CjP; Tue, 4 Jul 2023 00:28:48 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id D232280098; Tue, 4 Jul 2023 00:28:47 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH 1/4] gnu: lua-ossl: Update to 20220711. Date: Mon, 3 Jul 2023 23:28:40 +0100 Message-Id: <929a9821646da834563938ccd5aa52cf68efede0.1688423261.git.mirai@makinata.eu> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.240; envelope-from=mirai@makinata.eu; helo=smtpmciv4.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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: -2.3 (--) The homepage seems frozen in time whilst the issue tracker at has been receiving new releases. * gnu/packages/lua.scm (make-lua-ossl): Update to 20220711. Switch upstream URL. --- gnu/packages/lua.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 63a4bd5455..67df8dc31e 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -370,14 +370,16 @@ (define-public lua5.2-filesystem (define (make-lua-ossl name lua) (package (name name) - (version "20170903") + (version "20220711") (source (origin - (method url-fetch) - (uri (string-append "https://25thandclement.com/~william/" - "projects/releases/luaossl-" version ".tgz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/wahern/luaossl") + (commit (string-append "rel-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "10392bvd0lzyibipblgiss09zlqh3a5zgqg1b9lgbybpqb9cv2k3")))) + "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb")))) (build-system gnu-build-system) (arguments `(#:make-flags base-commit: cf7e0267adfc3cb83e477c2aebb61060c3c0cfd6 -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 03 18:29:04 2023 Received: (at submit) by debbugs.gnu.org; 3 Jul 2023 22:29:04 +0000 Received: from localhost ([127.0.0.1]:34615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGS2Z-0007tC-F4 for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:29:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:42912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGS2W-0007sb-Ef for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:29:01 -0400 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 1qGS2W-0007lB-8I for guix-patches@gnu.org; Mon, 03 Jul 2023 18:29:00 -0400 Received: from smtpm4.myservices.hosting ([185.26.105.235]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGS2U-0001ka-7H for guix-patches@gnu.org; Mon, 03 Jul 2023 18:28:59 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm4.myservices.hosting (Postfix) with ESMTP id F286720CB2 for ; Tue, 4 Jul 2023 00:28:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 3BB7D8009A; Tue, 4 Jul 2023 00:28:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id MdfAbfBVN83R; Tue, 4 Jul 2023 00:28:52 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 5834180098; Tue, 4 Jul 2023 00:28:52 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH 2/4] gnu: lua-ossl: Use G-expressions. Date: Mon, 3 Jul 2023 23:28:41 +0100 Message-Id: <5b2cf0e69a8a546b3d4dfc65a043a04c81d1a190.1688423261.git.mirai@makinata.eu> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.235; envelope-from=mirai@makinata.eu; helo=smtpm4.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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: -2.3 (--) Dropped obsolete flag due to . * gnu/packages/lua.scm (make-lua-ossl): Use G-Expressions. [arguments]: Drop obsolete flag. --- gnu/packages/lua.scm | 99 ++++++++++++++++++++++++-------------------- 1 file changed, 55 insertions(+), 44 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 67df8dc31e..2214790751 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; Copyright © 2022 Leo Nikkilä ;;; Copyright © 2023 Yovan Naumovski +;;; Copyright © 2023 Bruno Victal ;;; ;;; This file is part of GNU Guix. ;;; @@ -368,54 +369,64 @@ (define-public lua5.2-filesystem (make-lua-filesystem "lua5.2-filesystem" lua-5.2)) (define (make-lua-ossl name lua) - (package - (name name) - (version "20220711") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/wahern/luaossl") - (commit (string-append "rel-" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb")))) - (build-system gnu-build-system) - (arguments - `(#:make-flags - (let ((out (assoc-ref %outputs "out")) - (lua-api-version ,(version-major+minor (package-version lua)))) - (list ,(string-append "CC=" (cc-for-target)) - "CFLAGS='-D HAVE_SYS_SYSCTL_H=0'" ; sys/sysctl.h is deprecated - (string-append "prefix=" out) - (string-append "LUA_APIS=" lua-api-version))) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'check) - (add-after 'install 'check - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (lua-version ,(version-major+minor (package-version lua)))) - (setenv "LUA_CPATH" - (string-append out "/lib/lua/" lua-version "/?.so;;")) - (setenv "LUA_PATH" - (string-append out "/share/lua/" lua-version "/?.lua;;")) - (with-directory-excursion "regress" - (for-each (lambda (f) - (invoke "lua" f)) - (find-files "." "^[0-9].*\\.lua$")))) - #t))))) - (inputs - (list lua openssl)) - (home-page "https://25thandclement.com/~william/projects/luaossl.html") - (synopsis "OpenSSL bindings for Lua") - (description "The luaossl extension module for Lua provides comprehensive, + (let ((lua-api-version (version-major+minor (package-version lua)))) + (package + (name name) + (version "20220711") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wahern/luaossl") + (commit (string-append "rel-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags + #~(list #$(string-append "CC=" (cc-for-target)) + #$(string-append "LUA_APIS=" lua-api-version) + (string-append "prefix=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-luajit-test + (lambda _ + ;; This test is only meaningful for luajit. + ;; + (unless (string-prefix? "luajit" #$(package-name lua)) + (delete-file "regress/104-interposition-discarded.lua")))) + (add-after 'unpack 'remove-cqueues-test + (lambda _ + ;; XXX: This test depends on cqueues and cqueues has a test + ;; that depends on lua-ossl. + (delete-file "regress/148-custom-extensions.lua"))) + (delete 'configure) + (delete 'check) ; place 'check after 'install + (add-after 'install 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "LUA_CPATH" + (string-append #$output "/lib/lua/" + #$lua-api-version "/?.so;;")) + (setenv "LUA_PATH" + (string-append #$output "/share/lua/" + #$lua-api-version "/?.lua;;")) + (with-directory-excursion "regress" + (for-each (lambda (f) + (invoke "lua" f)) + (find-files "." "^[0-9].*\\.lua$"))))))))) + (inputs + (list lua openssl)) + (home-page "https://25thandclement.com/~william/projects/luaossl.html") + (synopsis "OpenSSL bindings for Lua") + (description "The luaossl extension module for Lua provides comprehensive, low-level bindings to the OpenSSL library, including support for certificate and key management, key generation, signature verification, and deep bindings to the distinguished name, alternative name, and X.509v3 extension interfaces. It also binds OpenSSL's bignum, message digest, HMAC, cipher, and CSPRNG interfaces.") - (license license:expat))) + (license license:expat)))) (define-public lua-ossl (make-lua-ossl "lua-ossl" lua)) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 03 18:29:16 2023 Received: (at submit) by debbugs.gnu.org; 3 Jul 2023 22:29:16 +0000 Received: from localhost ([127.0.0.1]:34618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGS2m-0007th-2z for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:29:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:54708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGS2j-0007tY-Qi for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:29:14 -0400 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 1qGS2j-0007oN-KN for guix-patches@gnu.org; Mon, 03 Jul 2023 18:29:13 -0400 Received: from smtpm3.myservices.hosting ([185.26.105.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGS2h-0001oN-Gn for guix-patches@gnu.org; Mon, 03 Jul 2023 18:29:13 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm3.myservices.hosting (Postfix) with ESMTP id D1DEE20FB2 for ; Tue, 4 Jul 2023 00:29:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 22BAE8009B; Tue, 4 Jul 2023 00:29:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BeM48HFRgh5W; Tue, 4 Jul 2023 00:29:05 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 7B0828009A; Tue, 4 Jul 2023 00:29:05 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH 4/4] gnu: lua-cqueues: Refactor package definition. Date: Mon, 3 Jul 2023 23:28:43 +0100 Message-Id: <6481d9abe50694624c0f63d3abf8f4348deac449.1688423261.git.mirai@makinata.eu> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.234; envelope-from=mirai@makinata.eu; helo=smtpm3.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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: -2.3 (--) * gnu/packages/lua.scm (make-lua-cqueues): Use G-Expressions. Drop obsolete phases. --- gnu/packages/lua.scm | 149 ++++++++++++++++--------------------------- 1 file changed, 56 insertions(+), 93 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index c061959c2f..0fe14a3b5e 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -485,108 +485,71 @@ (define-public lua5.2-sec (make-lua-sec "lua5.2-sec" lua-5.2)) (define (make-lua-cqueues name lua lua-ossl) - (package - (name name) - (version "20200726") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/wahern/cqueues") - (commit (string-append "rel-" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "17gwqndlga6gnishgs6wk8cvgwzanddr42yikkg2xd4nanhcg8z9")))) - (build-system gnu-build-system) - (arguments - `(#:modules ((guix build gnu-build-system) - (guix build utils) - (ice-9 string-fun)) - #:make-flags - (let ((out (assoc-ref %outputs "out")) - (lua-api-version ,(version-major+minor (package-version lua)))) - (list ,(string-append "CC=" (cc-for-target)) - (string-append "LUA_APIS=" lua-api-version))) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'check) - (replace 'install - (lambda* (#:key make-flags outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (apply invoke "make" "install" - (append make-flags - (list (string-append "DESTDIR=" out) - "prefix=")))))) - (add-after 'install 'check - (lambda* (#:key inputs outputs make-flags #:allow-other-keys) - (let* - ((lua-version ,(version-major+minor (package-version lua))) - (env-suffix (if (equal? lua-version "5.1") - "" - (string-append - "_" - (string-replace-substring lua-version "." "_")))) - - (lua-ossl (assoc-ref inputs "lua-ossl")) - (out (assoc-ref outputs "out")) - - (lua-cpath (lambda (p) - (string-append p "/lib/lua/" lua-version "/?.so"))) - (lua-path (lambda (p) - (string-append p "/share/lua/" lua-version "/?.lua")))) - ;; The test suite sets Lua-version-specific search-path variables - ;; when available so we must do the same, as these take - ;; precedence over the generic "LUA_CPATH" and "LUA_PATH" - (setenv (string-append "LUA_CPATH" env-suffix) - (string-append - (string-join (map lua-cpath (list out lua-ossl)) ";") - ";;")) - (setenv (string-append "LUA_PATH" env-suffix) - (string-append - (string-join (map lua-path (list out lua-ossl)) ";") - ";;")) - - ;; Skip regression tests we expect to fail - (with-directory-excursion "regress" - (for-each (lambda (f) - (rename-file f (string-append f ".skip"))) - (append - ;; Regression tests that require network - ;; connectivity + (let ((lua-api-version (version-major+minor (package-version lua)))) + (package + (name name) + (version "20200726") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wahern/cqueues") + (commit (string-append "rel-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17gwqndlga6gnishgs6wk8cvgwzanddr42yikkg2xd4nanhcg8z9")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags + #~(list #$(string-append "CC=" (cc-for-target)) + #$(string-append "LUA_APIS=" lua-api-version) + (string-append "prefix=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-luajit-tests + (lambda _ + ;; Regression tests that require LuaJIT. + (unless (string-prefix? "luajit" #$(package-name lua)) + (with-directory-excursion "regress" + (for-each delete-file + '("44-resolvers-gc.lua" + "51-join-defunct-thread.lua" + "73-starttls-buffering.lua" + "87-alpn-disappears.lua")))))) + (add-after 'unpack 'remove-networking-tests + (lambda _ + ;; Regression tests that require network connectivity. + (with-directory-excursion "regress" + (for-each delete-file '("22-client-dtls.lua" "30-starttls-completion.lua" "62-noname.lua" - "153-dns-resolvers.lua") - - ;; Regression tests that require LuaJIT - '("44-resolvers-gc.lua" - "51-join-defunct-thread.lua" - "73-starttls-buffering.lua" - "87-alpn-disappears.lua") - - ;; Regression tests that require Lua 5.3 - (if (not (equal? lua-version "5.3")) - '("152-thread-integer-passing.lua") - '())))) - - (apply invoke "make" "check" make-flags))))))) - (native-inputs - (list m4)) - (inputs - (list lua openssl)) - (propagated-inputs - (list lua-ossl)) - (home-page "https://25thandclement.com/~william/projects/cqueues.html") - (synopsis "Event loop for Lua using continuation queues") - (description "The cqueues extension module for Lua implements an event loop + "153-dns-resolvers.lua"))))) + (add-after 'unpack 'remove-lua5.3-test + (lambda _ + ;; Regression tests that require Lua 5.3 or higher. + (unless #$(version>=? lua-api-version "5.3") + (delete-file "regress/152-thread-integer-passing.lua")))) + (delete 'configure)))) + (native-inputs + (list m4)) + (inputs + (list lua openssl)) + (propagated-inputs + (list lua-ossl)) + (home-page "https://25thandclement.com/~william/projects/cqueues.html") + (synopsis "Event loop for Lua using continuation queues") + (description "The cqueues extension module for Lua implements an event loop that operates through the yielding and resumption of coroutines. It is designed to be non-intrusive, composable, and embeddable within existing applications.") - (license license:expat))) + (license license:expat)))) (define-public lua-cqueues (make-lua-cqueues "lua-cqueues" lua lua-ossl)) +;; Note: cqueues principally targets Lua 5.2 and above. +;; (define-public lua5.1-cqueues (make-lua-cqueues "lua5.1-cqueues" lua-5.1 lua5.1-ossl)) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 03 18:37:09 2023 Received: (at submit) by debbugs.gnu.org; 3 Jul 2023 22:37:09 +0000 Received: from localhost ([127.0.0.1]:34624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGSAP-00086g-9z for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:37:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:47712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGSAM-00086W-Ju for submit@debbugs.gnu.org; Mon, 03 Jul 2023 18:37:07 -0400 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 1qGSAM-0000Tb-DV for guix-patches@gnu.org; Mon, 03 Jul 2023 18:37:06 -0400 Received: from smtpmciv2.myservices.hosting ([185.26.107.238]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGSAK-0004Ih-Kj for guix-patches@gnu.org; Mon, 03 Jul 2023 18:37:06 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv2.myservices.hosting (Postfix) with ESMTP id F056B20DF0 for ; Tue, 4 Jul 2023 00:37:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id DA7BB80099; Tue, 4 Jul 2023 00:28:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6Hqi1B4iA-sx; Tue, 4 Jul 2023 00:28:56 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 4E07980098; Tue, 4 Jul 2023 00:28:56 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH 3/4] gnu: lua-cqueues: Update to 20200726. Date: Mon, 3 Jul 2023 23:28:42 +0100 Message-Id: <034fd7be85869c9ce24c01a318e2f4873199bb21.1688423261.git.mirai@makinata.eu> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.238; envelope-from=mirai@makinata.eu; helo=smtpmciv2.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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: -2.3 (--) The releases list in the homepage is outdated. * gnu/packages/lua.scm (make-lua-cqueues): Update to 20200726. Switch upstream URL. --- gnu/packages/lua.scm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 2214790751..c061959c2f 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -487,14 +487,16 @@ (define-public lua5.2-sec (define (make-lua-cqueues name lua lua-ossl) (package (name name) - (version "20171014") + (version "20200726") (source (origin - (method url-fetch) - (uri (string-append "https://25thandclement.com/~william/" - "projects/releases/cqueues-" version ".tgz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/wahern/cqueues") + (commit (string-append "rel-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1dabhpn6r0hlln8vx9hxm34pfcm46qzgpb2apmziwg5z51fi4ksb")))) + "17gwqndlga6gnishgs6wk8cvgwzanddr42yikkg2xd4nanhcg8z9")))) (build-system gnu-build-system) (arguments `(#:modules ((guix build gnu-build-system) @@ -559,7 +561,9 @@ (define (make-lua-cqueues name lua lua-ossl) ;; Regression tests that require LuaJIT '("44-resolvers-gc.lua" - "51-join-defunct-thread.lua") + "51-join-defunct-thread.lua" + "73-starttls-buffering.lua" + "87-alpn-disappears.lua") ;; Regression tests that require Lua 5.3 (if (not (equal? lua-version "5.3")) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 30 15:54:25 2023 Received: (at 64449) by debbugs.gnu.org; 30 Aug 2023 19:54:25 +0000 Received: from localhost ([127.0.0.1]:54128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRGj-0004IU-4X for submit@debbugs.gnu.org; Wed, 30 Aug 2023 15:54:25 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:51294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRGg-0004IG-Tl for 64449@debbugs.gnu.org; Wed, 30 Aug 2023 15:54:24 -0400 Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-76ef8b91a4bso3465485a.2 for <64449@debbugs.gnu.org>; Wed, 30 Aug 2023 12:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693425249; x=1694030049; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=buj4XE9Qw7oXMpExMMdRsWGSfS9JPz3MngnGcvyKJXw=; b=pYvnNY0hXKouWcajEVwg9nMbYEthPMlsb9a6+cCXWYFCMtMo9/3oEp38XbhBnPGREm Y/mYTmEEV5NnQhyWcAI9YQa5ItBmaxwGE4+FdzoRUymRqm4s33znbYyMNYY2aciVk88x NIgggE49LRrvqrGLw4yAGkpZzmbFMKb9bcHWWaO5fgoNVdJ9TGygW52aG66eQUidLB7K XKv1FDfaTizYPZFuUVQkRK0ZvvVQ0NRGXtnG2Qrk1DQG+m6ACcOoXlhtk2a6ARD7opEI U5cEExy6FRvvILwwg0YS4N1mjBJ9JpoUOpnwbV4DpweipX01uA3ZdNKnjCiUa+tGFWxz Cr/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693425249; x=1694030049; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=buj4XE9Qw7oXMpExMMdRsWGSfS9JPz3MngnGcvyKJXw=; b=dCDq9agBLDVXlPZUOX+Jg9IOpqjesEucIxCUXV6hoqoqXSUHiJjTrAIRghFbsb881a 8bLaqpIAjovr/kBN7qlMdvhcjxXjQJ/3FWk4Gz1AorHzumoBpJ+xoKdIylDDGDtzQUg8 tSnbhhaiY83SvutD3yi7i3AzfCHHi6Xeuuh4xbTdPzAYWYLSkAp7H/mZTELw+RAfSr9t WtwTHMnBcxxQmsuFwT5cH7fYzz9GOLXctoSx1FLHdI3gL+1bZTvrWb7lr0BAb3BxQcUX k76JtTMg3ZkU4mXgL7DMTBMFCg+JL7GjoC1PjjuTIS/DDNGWi6j4Yx45aGb2FuCBu2Rt dSWA== X-Gm-Message-State: AOJu0Yx4F5v7DWEJrVm9/YoX1bnpdOqjEVUprBZhKSTARY8MNWYJ38Ja aIF+IUxWp7op6zrAETvaE1u1g2SQ2A4= X-Google-Smtp-Source: AGHT+IEkUw5Ev3JuhzfCDaTNr5yp2ld7YasAOolfG/PO6R5rZBL0nW/mNd6o387yUHxsv4qO0xOHkw== X-Received: by 2002:a0c:f001:0:b0:63d:eef:c3f6 with SMTP id z1-20020a0cf001000000b0063d0eefc3f6mr768133qvk.38.1693425249283; Wed, 30 Aug 2023 12:54:09 -0700 (PDT) Received: from hurd (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id m10-20020a0cdb8a000000b006490c2624basm4310479qvk.47.2023.08.30.12.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 12:54:08 -0700 (PDT) From: Maxim Cournoyer To: Bruno Victal Subject: Re: bug#64449: [PATCH 0/4] Fix lua-cqueues build failure. References: <929a9821646da834563938ccd5aa52cf68efede0.1688423261.git.mirai@makinata.eu> Date: Wed, 30 Aug 2023 15:54:07 -0400 In-Reply-To: <929a9821646da834563938ccd5aa52cf68efede0.1688423261.git.mirai@makinata.eu> (Bruno Victal's message of "Mon, 3 Jul 2023 23:28:40 +0100") Message-ID: <871qfk71cw.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64449 Cc: 64449@debbugs.gnu.org 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 (-) Hi, Bruno Victal writes: > The homepage seems frozen in time whilst the issue tracker at > has been receiving new releases. > > * gnu/packages/lua.scm (make-lua-ossl): Update to 20220711. Switch upstream > URL. > --- > gnu/packages/lua.scm | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm > index 63a4bd5455..67df8dc31e 100644 > --- a/gnu/packages/lua.scm > +++ b/gnu/packages/lua.scm > @@ -370,14 +370,16 @@ (define-public lua5.2-filesystem > (define (make-lua-ossl name lua) > (package > (name name) > - (version "20170903") > + (version "20220711") > (source (origin > - (method url-fetch) > - (uri (string-append "https://25thandclement.com/~william/" > - "projects/releases/luaossl-" version ".tgz")) > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/wahern/luaossl") > + (commit (string-append "rel-" version)))) > + (file-name (git-file-name name version)) > (sha256 > (base32 > - "10392bvd0lzyibipblgiss09zlqh3a5zgqg1b9lgbybpqb9cv2k3")))) > + "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb")))) > (build-system gnu-build-system) > (arguments > `(#:make-flags > > base-commit: cf7e0267adfc3cb83e477c2aebb61060c3c0cfd6 LGTM. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 30 15:55:41 2023 Received: (at 64449) by debbugs.gnu.org; 30 Aug 2023 19:55:41 +0000 Received: from localhost ([127.0.0.1]:54132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRHw-0004KV-L6 for submit@debbugs.gnu.org; Wed, 30 Aug 2023 15:55:40 -0400 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]:62522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRHs-0004KG-T0 for 64449@debbugs.gnu.org; Wed, 30 Aug 2023 15:55:39 -0400 Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-65166804282so6139836d6.0 for <64449@debbugs.gnu.org>; Wed, 30 Aug 2023 12:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693425323; x=1694030123; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=euDl7kjAzWDxv5Q2KFykq4V9aKRC1Fum5vLtm8hZXHs=; b=p7X6SdN1kBVVwVgEAWnxOjjYvundNsJdHOU7MRIaJnPelK/SsOIIR7UFg/wAozxWtZ NwO7QvsoDNqNDOmVovz+3UowdvaafU3DSme9sz04XtJeU2SYuQEyYMHNCPiei2MYlGg6 T/CC1WHWPicCXXY7s+FXxA+89CqNpRIvEjG3bKNk60j+o6PsaArZCaQ59zetaxwhx4nD NzSxQTc+y/XEVNfC5MoKSeRsRT8n8m14aj7WakD2M7rEvSmrTMQAX1IVGijzwu9EFv31 dMn9jYBIRnGWdHMRgj3NbnYZYyg9eczI5WeuXp4+TfFM6vH2G18EkjDWNLdU0KJJHgo0 u1nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693425323; x=1694030123; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=euDl7kjAzWDxv5Q2KFykq4V9aKRC1Fum5vLtm8hZXHs=; b=Ba+40gBtlbX9Xuua6P0SuidPYg7DgOlBNrDIVz2/mWORYPNxLlykxcrZE5lsZsVlr5 j9jg+qfZETbqDP1207wGq40UsXnPdVzE+ZDE7VXljlUca2FN46Uw31xPWvp0y8+BuLWB 0zmHublo4CWecfTsOgTkSaOJNRt0dnmgt4ezZ5U3V3lqGXjn7Lfll1vqwWDlp1u1hsn1 tAwYUHmcEgKtJKE7pdpGik48XVbiD6NSY4cH1eOTJU3nAtjFd/AAtPdNQr239xTYkvQc j/CtqpetpiNqkJWzcHQi8qfefye87XhOZmqsYYqCBZPSEJxeazX58f+vqH8wptHQ1naZ 46cA== X-Gm-Message-State: AOJu0YzsQD0v6kAGQBOAazeILiRBeP15itE84FRFXuatp8fvwdzIgHaw jKSWVXqcpQSfdVCrdbjZClF5WjxixA4= X-Google-Smtp-Source: AGHT+IElErZ8S+cihVCBl2nKoo/bW0MdwuFXTWfD6BFgTn+RZBPzqkSvbQiMWNgGx3Ai3RpaagaYsQ== X-Received: by 2002:a05:6214:242c:b0:651:800d:ffc9 with SMTP id gy12-20020a056214242c00b00651800dffc9mr980941qvb.22.1693425323242; Wed, 30 Aug 2023 12:55:23 -0700 (PDT) Received: from hurd (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id b10-20020a0ccd0a000000b0063d316af55csm4320961qvm.3.2023.08.30.12.55.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 12:55:22 -0700 (PDT) From: Maxim Cournoyer To: Bruno Victal Subject: Re: bug#64449: [PATCH 0/4] Fix lua-cqueues build failure. References: <5b2cf0e69a8a546b3d4dfc65a043a04c81d1a190.1688423261.git.mirai@makinata.eu> Date: Wed, 30 Aug 2023 15:55:21 -0400 In-Reply-To: <5b2cf0e69a8a546b3d4dfc65a043a04c81d1a190.1688423261.git.mirai@makinata.eu> (Bruno Victal's message of "Mon, 3 Jul 2023 23:28:41 +0100") Message-ID: <87wmxc5mqe.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64449 Cc: 64449@debbugs.gnu.org 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 (-) Hi, Bruno Victal writes: > Dropped obsolete flag due to . > > * gnu/packages/lua.scm (make-lua-ossl): Use G-Expressions. > [arguments]: Drop obsolete flag. > --- > gnu/packages/lua.scm | 99 ++++++++++++++++++++++++-------------------- > 1 file changed, 55 insertions(+), 44 deletions(-) [...] > + #~(modify-phases %standard-phases > + (add-after 'unpack 'remove-luajit-test > + (lambda _ > + ;; This test is only meaningful for luajit. > + ;; > + (unless (string-prefix? "luajit" #$(package-name lua)) > + (delete-file "regress/104-interposition-discarded.lua")))) > + (add-after 'unpack 'remove-cqueues-test > + (lambda _ > + ;; XXX: This test depends on cqueues and cqueues has a test > + ;; that depends on lua-ossl. > + (delete-file "regress/148-custom-extensions.lua"))) The above new phases are missing from the GNU ChangeLog message. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 30 15:57:24 2023 Received: (at 64449) by debbugs.gnu.org; 30 Aug 2023 19:57:24 +0000 Received: from localhost ([127.0.0.1]:54136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRJc-0004N6-5U for submit@debbugs.gnu.org; Wed, 30 Aug 2023 15:57:24 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:45217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRJa-0004Ms-7h for 64449@debbugs.gnu.org; Wed, 30 Aug 2023 15:57:23 -0400 Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-4121f006c30so455881cf.2 for <64449@debbugs.gnu.org>; Wed, 30 Aug 2023 12:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693425428; x=1694030228; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=q/5tsQwylQcILccFsByribiDMB+157lB8b+zxltrRPY=; b=rSVKUoUYwiCV1dHgDZzLbExUyPMS6QNWaYs22vIOdEPw5oH7VKyGG+R8XlVV1dnkkX C8WTZ4p09tI01aYKMjQ2nn6ujW3JIopIJCf5ctgvGHbXMElM5WRC7N8h5Ttmlpz4ohdJ IeAt3DlNocjvaTWatVU5wLg5ypv3wGhIvg4m3wOKm3tQLgi5m4dj2s1ymhbxatF55kek zFy7qo07UIt9bfC0xvRH206ZFU48x5Mt112QfaHML34debF30GPaIaS73FaEF60tIZ92 JCWzO73g/EipZyjGQ6nAB2XI0mzHXOC0vWBrKOgWc+XYiBXZyLR6KIvfZRofkeguhksE l+UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693425428; x=1694030228; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=q/5tsQwylQcILccFsByribiDMB+157lB8b+zxltrRPY=; b=f+0OgFmlN4GGE8I/oOR03Gm5BCBAEGuDLKxHb8Vm6Ln4h9tQ/pxB5qhlDt8d3CtY+I 2Zt1HbBR7K9hCHyEeMmukYtDhhGduv2+4Je41dHHNGxrpJWIurpnB6J1DSntma4+FfGR qpe2J1DIr2jM7fzpZAkZ86qHDo/dnutPypC8aX+rMIYiZY6JnE4nhpNrqibD2bqcE8Sz PA83ae2rhllFyt3CdRv3SrnUrH5t4DOhNtVbZPC2l2KM9jptvpDshufRDIMqWyL+6hnn f7tPLdlIixiynmhL3uZdKV7UXMb651xHFFFSvG2XSXfEVjrz+qPV7KsQEsiz98aY9sMQ 5nLQ== X-Gm-Message-State: AOJu0YxMZ6g6Wsw8TMalYdxIRUxltDEyJj81vggVZ113cLVx5upYFj5m mU2MPRljw8bQ1v6AC7PC8M4qHt8obqE= X-Google-Smtp-Source: AGHT+IGFNpWpHe9tNmvfi437YDMSrd8JIctKFT7tRlX3k9xEEtwSIqjfW+bbuUwSbIb60/7a0C0Tdg== X-Received: by 2002:a05:622a:513:b0:412:2b9a:3b2b with SMTP id l19-20020a05622a051300b004122b9a3b2bmr762866qtx.37.1693425428536; Wed, 30 Aug 2023 12:57:08 -0700 (PDT) Received: from hurd (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id p19-20020ac87413000000b0041072408126sm3939345qtq.5.2023.08.30.12.57.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 12:57:08 -0700 (PDT) From: Maxim Cournoyer To: Bruno Victal Subject: Re: bug#64449: [PATCH 0/4] Fix lua-cqueues build failure. References: <6481d9abe50694624c0f63d3abf8f4348deac449.1688423261.git.mirai@makinata.eu> Date: Wed, 30 Aug 2023 15:57:07 -0400 In-Reply-To: <6481d9abe50694624c0f63d3abf8f4348deac449.1688423261.git.mirai@makinata.eu> (Bruno Victal's message of "Mon, 3 Jul 2023 23:28:43 +0100") Message-ID: <87sf805mng.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64449 Cc: 64449@debbugs.gnu.org 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 (-) Hi, Bruno Victal writes: > * gnu/packages/lua.scm (make-lua-cqueues): Use G-Expressions. > Drop obsolete phases. LGTM. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 30 15:58:05 2023 Received: (at 64449) by debbugs.gnu.org; 30 Aug 2023 19:58:05 +0000 Received: from localhost ([127.0.0.1]:54140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRKH-0004OQ-GI for submit@debbugs.gnu.org; Wed, 30 Aug 2023 15:58:05 -0400 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:59697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbRKF-0004No-Fu for 64449@debbugs.gnu.org; Wed, 30 Aug 2023 15:58:04 -0400 Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-64f92ca5d8bso688076d6.3 for <64449@debbugs.gnu.org>; Wed, 30 Aug 2023 12:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693425470; x=1694030270; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=F9UV7W7GuOF1GTFsfEZnuEBIiJYID43O27FMlLd6I0I=; b=LXTlM6iwdiH1sXzJ+hyTUJslLnY9gLL3lyIpkhsd2ySQ+Y13GNaghhJ9L3ykBW9fXn a/n8MiFnbFsQQ9JbezxlRPvl6NSQdfDPuMGrttU5gpQrimVL03Mkj1VD2So1RxOreqGF qjNfejruUPK/wvevDbzbGbLiJ20n07XJECxxRtDZa2u8DNJCMa2+LuiOHSFjPldMJVny P3pG7LcqOC93tbBr4Fy/d5j+wNu5w8WyK8EsRVj6UKxbmVgRDpvvqw/fneTjMvL4hyYE p0jDb4GiL9kXW1E3TV+6601NTqF8ItMRMDbwS4dHrZRapFjq+XuAIwFqCI7lfqPvR2lK rzCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693425470; x=1694030270; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=F9UV7W7GuOF1GTFsfEZnuEBIiJYID43O27FMlLd6I0I=; b=djjgmcdBke7w1eCWord+cJVX952kJkHkT0oTLIaLcYOpIobo78uL8XDgyCyjiFU1sW Gtr0ZZsQnnUPoi0fAEA5JQhpLB7Og+Sgnnq7ZuOXfqhoCRGE73KUtSZRRJH8fEF4Wbo8 wk9p0EKgHW2E9fagHcrnl4uquFoqkQC23hBMlKy8VmOsrnE9sPGEAND5DsKUlzr2SqeG p7x05dc9cjGfLV8tgSZBrcAaRQ+aW5HyIcYm2yRi1Mo3gKG8BDOSTifHFiW8Cz11Ofjs HsR3j+Q5l+ZPKB8LcJ2rhTHhBNiEMxDuVks+PfJemGFL4IQy2BwPS/iWoTb1lN2vWbK+ vLvQ== X-Gm-Message-State: AOJu0YzB6opWzj1TwnIhOdYiqlUei4Vyl2LBgdCm8lBIdl5dxU/UQrcD tWLThZXL6Hi6IuHUjglLJoOPoK6L8k4= X-Google-Smtp-Source: AGHT+IEqtBqbmlLtpmWzU6z5/7pWtD0nk+u91kH/LqMfGynclrL6Kx43V8ygJQ19WcHwiijluMM2ag== X-Received: by 2002:a0c:db87:0:b0:651:6968:ab16 with SMTP id m7-20020a0cdb87000000b006516968ab16mr810988qvk.28.1693425470008; Wed, 30 Aug 2023 12:57:50 -0700 (PDT) Received: from hurd (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id b23-20020a0cb3d7000000b0064a1fc557fbsm4378805qvf.139.2023.08.30.12.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 12:57:49 -0700 (PDT) From: Maxim Cournoyer To: Bruno Victal Subject: Re: bug#64449: [PATCH 0/4] Fix lua-cqueues build failure. References: <034fd7be85869c9ce24c01a318e2f4873199bb21.1688423261.git.mirai@makinata.eu> Date: Wed, 30 Aug 2023 15:57:48 -0400 In-Reply-To: <034fd7be85869c9ce24c01a318e2f4873199bb21.1688423261.git.mirai@makinata.eu> (Bruno Victal's message of "Mon, 3 Jul 2023 23:28:42 +0100") Message-ID: <87o7io5mmb.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64449 Cc: 64449@debbugs.gnu.org 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 (-) Hi, Bruno Victal writes: > The releases list in the homepage is outdated. > > * gnu/packages/lua.scm (make-lua-cqueues): Update to 20200726. Switch upstream > URL. You forgot to mention the new disabled tests added. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 11:04:45 2023 Received: (at submit) by debbugs.gnu.org; 31 Aug 2023 15:04:45 +0000 Received: from localhost ([127.0.0.1]:56749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbjDx-0000JL-4P for submit@debbugs.gnu.org; Thu, 31 Aug 2023 11:04:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbjDu-0000Iz-OK for submit@debbugs.gnu.org; Thu, 31 Aug 2023 11:04:43 -0400 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 1qbjDZ-0008Rl-Bh for guix-patches@gnu.org; Thu, 31 Aug 2023 11:04:22 -0400 Received: from smtpm3.myservices.hosting ([185.26.105.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbjDR-00048i-JC for guix-patches@gnu.org; Thu, 31 Aug 2023 11:04:19 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm3.myservices.hosting (Postfix) with ESMTP id E096920CED for ; Thu, 31 Aug 2023 17:04:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 351028009A; Thu, 31 Aug 2023 17:04:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3gl18i6woGep; Thu, 31 Aug 2023 17:04:00 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 97A8B80060; Thu, 31 Aug 2023 17:04:00 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH v2 3/4] gnu: lua-cqueues: Update to 20200726. Date: Thu, 31 Aug 2023 16:03:41 +0100 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.234; envelope-from=mirai@makinata.eu; helo=smtpm3.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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.0 (/) The releases list in the homepage is outdated. * gnu/packages/lua.scm (make-lua-cqueues): Update to 20200726. Switch upstream URL. [arguments]<#:phases>: Exclude LuaJIT tests for regular Lua based builds. --- gnu/packages/lua.scm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 8726b7a8db..e68cbc69e8 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -487,14 +487,16 @@ (define-public lua5.2-sec (define (make-lua-cqueues name lua lua-ossl) (package (name name) - (version "20171014") + (version "20200726") (source (origin - (method url-fetch) - (uri (string-append "https://25thandclement.com/~william/" - "projects/releases/cqueues-" version ".tgz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/wahern/cqueues") + (commit (string-append "rel-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1dabhpn6r0hlln8vx9hxm34pfcm46qzgpb2apmziwg5z51fi4ksb")))) + "17gwqndlga6gnishgs6wk8cvgwzanddr42yikkg2xd4nanhcg8z9")))) (build-system gnu-build-system) (arguments `(#:modules ((guix build gnu-build-system) @@ -559,7 +561,9 @@ (define (make-lua-cqueues name lua lua-ossl) ;; Regression tests that require LuaJIT '("44-resolvers-gc.lua" - "51-join-defunct-thread.lua") + "51-join-defunct-thread.lua" + "73-starttls-buffering.lua" + "87-alpn-disappears.lua") ;; Regression tests that require Lua 5.3 (if (not (equal? lua-version "5.3")) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 11:04:48 2023 Received: (at submit) by debbugs.gnu.org; 31 Aug 2023 15:04:49 +0000 Received: from localhost ([127.0.0.1]:56752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbjE0-0000Ja-Fo for submit@debbugs.gnu.org; Thu, 31 Aug 2023 11:04:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbjDw-0000J1-7b for submit@debbugs.gnu.org; Thu, 31 Aug 2023 11:04:44 -0400 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 1qbjDa-0008Ru-LH for guix-patches@gnu.org; Thu, 31 Aug 2023 11:04:24 -0400 Received: from smtpmciv4.myservices.hosting ([185.26.107.240]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbjDX-00048y-Fx for guix-patches@gnu.org; Thu, 31 Aug 2023 11:04:22 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv4.myservices.hosting (Postfix) with ESMTP id CEF5F204C9 for ; Thu, 31 Aug 2023 17:04:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 328ED80097; Thu, 31 Aug 2023 17:04:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RRnRqoN6MiFl; Thu, 31 Aug 2023 17:03:59 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 8DAC280060; Thu, 31 Aug 2023 17:03:59 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH v2 1/4] gnu: lua-ossl: Update to 20220711. Date: Thu, 31 Aug 2023 16:03:39 +0100 Message-Id: <3b400f0f2539bb7a41a0d7cc0435f27a19056bd7.1693494137.git.mirai@makinata.eu> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.240; envelope-from=mirai@makinata.eu; helo=smtpmciv4.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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.0 (/) The homepage seems frozen in time whilst the issue tracker at has been receiving new releases. * gnu/packages/lua.scm (make-lua-ossl): Update to 20220711. Switch upstream URL. --- gnu/packages/lua.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 405f8511cb..f98999efc0 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -370,14 +370,16 @@ (define-public lua5.2-filesystem (define (make-lua-ossl name lua) (package (name name) - (version "20170903") + (version "20220711") (source (origin - (method url-fetch) - (uri (string-append "https://25thandclement.com/~william/" - "projects/releases/luaossl-" version ".tgz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/wahern/luaossl") + (commit (string-append "rel-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "10392bvd0lzyibipblgiss09zlqh3a5zgqg1b9lgbybpqb9cv2k3")))) + "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb")))) (build-system gnu-build-system) (arguments `(#:make-flags base-commit: b51e45d3aaa8a85d39a8a4c3d18e8b57254aeaf2 -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 11:04:49 2023 Received: (at submit) by debbugs.gnu.org; 31 Aug 2023 15:04:49 +0000 Received: from localhost ([127.0.0.1]:56754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbjE0-0000Jc-Q7 for submit@debbugs.gnu.org; Thu, 31 Aug 2023 11:04:49 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbjDz-0000J6-3u for submit@debbugs.gnu.org; Thu, 31 Aug 2023 11:04:47 -0400 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 1qbjDi-0008Sf-Iy for guix-patches@gnu.org; Thu, 31 Aug 2023 11:04:30 -0400 Received: from smtpm3.myservices.hosting ([185.26.105.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbjDe-0004AJ-Or for guix-patches@gnu.org; Thu, 31 Aug 2023 11:04:29 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm3.myservices.hosting (Postfix) with ESMTP id 00A8A20D16 for ; Thu, 31 Aug 2023 17:04:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 3ABAB8009A; Thu, 31 Aug 2023 17:04:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JJ6qdhcXbjCw; Thu, 31 Aug 2023 17:04:01 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 31C5580092; Thu, 31 Aug 2023 17:04:01 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH v2 4/4] gnu: lua-cqueues: Refactor package definition. Date: Thu, 31 Aug 2023 16:03:42 +0100 Message-Id: <65bbd5893a2056ffc56bb1558a8625a23583e2a9.1693494137.git.mirai@makinata.eu> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.234; envelope-from=mirai@makinata.eu; helo=smtpm3.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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.0 (/) * gnu/packages/lua.scm (make-lua-cqueues): Use G-Expressions. Drop obsolete phases. --- gnu/packages/lua.scm | 149 ++++++++++++++++--------------------------- 1 file changed, 56 insertions(+), 93 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index e68cbc69e8..f0db08fd4f 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -485,108 +485,71 @@ (define-public lua5.2-sec (make-lua-sec "lua5.2-sec" lua-5.2)) (define (make-lua-cqueues name lua lua-ossl) - (package - (name name) - (version "20200726") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/wahern/cqueues") - (commit (string-append "rel-" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "17gwqndlga6gnishgs6wk8cvgwzanddr42yikkg2xd4nanhcg8z9")))) - (build-system gnu-build-system) - (arguments - `(#:modules ((guix build gnu-build-system) - (guix build utils) - (ice-9 string-fun)) - #:make-flags - (let ((out (assoc-ref %outputs "out")) - (lua-api-version ,(version-major+minor (package-version lua)))) - (list ,(string-append "CC=" (cc-for-target)) - (string-append "LUA_APIS=" lua-api-version))) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'check) - (replace 'install - (lambda* (#:key make-flags outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (apply invoke "make" "install" - (append make-flags - (list (string-append "DESTDIR=" out) - "prefix=")))))) - (add-after 'install 'check - (lambda* (#:key inputs outputs make-flags #:allow-other-keys) - (let* - ((lua-version ,(version-major+minor (package-version lua))) - (env-suffix (if (equal? lua-version "5.1") - "" - (string-append - "_" - (string-replace-substring lua-version "." "_")))) - - (lua-ossl (assoc-ref inputs "lua-ossl")) - (out (assoc-ref outputs "out")) - - (lua-cpath (lambda (p) - (string-append p "/lib/lua/" lua-version "/?.so"))) - (lua-path (lambda (p) - (string-append p "/share/lua/" lua-version "/?.lua")))) - ;; The test suite sets Lua-version-specific search-path variables - ;; when available so we must do the same, as these take - ;; precedence over the generic "LUA_CPATH" and "LUA_PATH" - (setenv (string-append "LUA_CPATH" env-suffix) - (string-append - (string-join (map lua-cpath (list out lua-ossl)) ";") - ";;")) - (setenv (string-append "LUA_PATH" env-suffix) - (string-append - (string-join (map lua-path (list out lua-ossl)) ";") - ";;")) - - ;; Skip regression tests we expect to fail - (with-directory-excursion "regress" - (for-each (lambda (f) - (rename-file f (string-append f ".skip"))) - (append - ;; Regression tests that require network - ;; connectivity + (let ((lua-api-version (version-major+minor (package-version lua)))) + (package + (name name) + (version "20200726") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wahern/cqueues") + (commit (string-append "rel-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17gwqndlga6gnishgs6wk8cvgwzanddr42yikkg2xd4nanhcg8z9")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags + #~(list #$(string-append "CC=" (cc-for-target)) + #$(string-append "LUA_APIS=" lua-api-version) + (string-append "prefix=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-luajit-tests + (lambda _ + ;; Regression tests that require LuaJIT. + (unless (string-prefix? "luajit" #$(package-name lua)) + (with-directory-excursion "regress" + (for-each delete-file + '("44-resolvers-gc.lua" + "51-join-defunct-thread.lua" + "73-starttls-buffering.lua" + "87-alpn-disappears.lua")))))) + (add-after 'unpack 'remove-networking-tests + (lambda _ + ;; Regression tests that require network connectivity. + (with-directory-excursion "regress" + (for-each delete-file '("22-client-dtls.lua" "30-starttls-completion.lua" "62-noname.lua" - "153-dns-resolvers.lua") - - ;; Regression tests that require LuaJIT - '("44-resolvers-gc.lua" - "51-join-defunct-thread.lua" - "73-starttls-buffering.lua" - "87-alpn-disappears.lua") - - ;; Regression tests that require Lua 5.3 - (if (not (equal? lua-version "5.3")) - '("152-thread-integer-passing.lua") - '())))) - - (apply invoke "make" "check" make-flags))))))) - (native-inputs - (list m4)) - (inputs - (list lua openssl)) - (propagated-inputs - (list lua-ossl)) - (home-page "https://25thandclement.com/~william/projects/cqueues.html") - (synopsis "Event loop for Lua using continuation queues") - (description "The cqueues extension module for Lua implements an event loop + "153-dns-resolvers.lua"))))) + (add-after 'unpack 'remove-lua5.3-test + (lambda _ + ;; Regression tests that require Lua 5.3 or higher. + (unless #$(version>=? lua-api-version "5.3") + (delete-file "regress/152-thread-integer-passing.lua")))) + (delete 'configure)))) + (native-inputs + (list m4)) + (inputs + (list lua openssl)) + (propagated-inputs + (list lua-ossl)) + (home-page "https://25thandclement.com/~william/projects/cqueues.html") + (synopsis "Event loop for Lua using continuation queues") + (description "The cqueues extension module for Lua implements an event loop that operates through the yielding and resumption of coroutines. It is designed to be non-intrusive, composable, and embeddable within existing applications.") - (license license:expat))) + (license license:expat)))) (define-public lua-cqueues (make-lua-cqueues "lua-cqueues" lua lua-ossl)) +;; Note: cqueues principally targets Lua 5.2 and above. +;; (define-public lua5.1-cqueues (make-lua-cqueues "lua5.1-cqueues" lua-5.1 lua5.1-ossl)) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 11:12:21 2023 Received: (at submit) by debbugs.gnu.org; 31 Aug 2023 15:12:21 +0000 Received: from localhost ([127.0.0.1]:56771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbjLF-0000Ys-Kw for submit@debbugs.gnu.org; Thu, 31 Aug 2023 11:12:21 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbjLA-0000Yc-0p for submit@debbugs.gnu.org; Thu, 31 Aug 2023 11:12:15 -0400 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 1qbjKw-0003sO-Gz for guix-patches@gnu.org; Thu, 31 Aug 2023 11:11:58 -0400 Received: from smtpmciv5.myservices.hosting ([185.26.107.241]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbjKt-00065b-T0 for guix-patches@gnu.org; Thu, 31 Aug 2023 11:11:58 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv5.myservices.hosting (Postfix) with ESMTP id 93E3C20CE0 for ; Thu, 31 Aug 2023 17:11:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id D95F580098; Thu, 31 Aug 2023 17:04:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gE0wM7d28AKf; Thu, 31 Aug 2023 17:04:00 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 18ADB80092; Thu, 31 Aug 2023 17:04:00 +0200 (CEST) From: Bruno Victal To: guix-patches@gnu.org Subject: [PATCH v2 2/4] gnu: lua-ossl: Use G-expressions. Date: Thu, 31 Aug 2023 16:03:40 +0100 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.241; envelope-from=mirai@makinata.eu; helo=smtpmciv5.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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.0 (/) Dropped obsolete flag due to . * gnu/packages/lua.scm (make-lua-ossl): Use G-Expressions. [arguments]<#:make-flags>: Drop obsolete flag. <#:phases>: Add 'remove-luajit-test and 'remove-cqueues-test. --- gnu/packages/lua.scm | 99 ++++++++++++++++++++++++-------------------- 1 file changed, 55 insertions(+), 44 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index f98999efc0..8726b7a8db 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; Copyright © 2022 Leo Nikkilä ;;; Copyright © 2023 Yovan Naumovski +;;; Copyright © 2023 Bruno Victal ;;; ;;; This file is part of GNU Guix. ;;; @@ -368,54 +369,64 @@ (define-public lua5.2-filesystem (make-lua-filesystem "lua5.2-filesystem" lua-5.2)) (define (make-lua-ossl name lua) - (package - (name name) - (version "20220711") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/wahern/luaossl") - (commit (string-append "rel-" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb")))) - (build-system gnu-build-system) - (arguments - `(#:make-flags - (let ((out (assoc-ref %outputs "out")) - (lua-api-version ,(version-major+minor (package-version lua)))) - (list ,(string-append "CC=" (cc-for-target)) - "CFLAGS='-D HAVE_SYS_SYSCTL_H=0'" ; sys/sysctl.h is deprecated - (string-append "prefix=" out) - (string-append "LUA_APIS=" lua-api-version))) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'check) - (add-after 'install 'check - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (lua-version ,(version-major+minor (package-version lua)))) - (setenv "LUA_CPATH" - (string-append out "/lib/lua/" lua-version "/?.so;;")) - (setenv "LUA_PATH" - (string-append out "/share/lua/" lua-version "/?.lua;;")) - (with-directory-excursion "regress" - (for-each (lambda (f) - (invoke "lua" f)) - (find-files "." "^[0-9].*\\.lua$")))) - #t))))) - (inputs - (list lua openssl)) - (home-page "https://25thandclement.com/~william/projects/luaossl.html") - (synopsis "OpenSSL bindings for Lua") - (description "The luaossl extension module for Lua provides comprehensive, + (let ((lua-api-version (version-major+minor (package-version lua)))) + (package + (name name) + (version "20220711") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wahern/luaossl") + (commit (string-append "rel-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags + #~(list #$(string-append "CC=" (cc-for-target)) + #$(string-append "LUA_APIS=" lua-api-version) + (string-append "prefix=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-luajit-test + (lambda _ + ;; This test is only meaningful for luajit. + ;; + (unless (string-prefix? "luajit" #$(package-name lua)) + (delete-file "regress/104-interposition-discarded.lua")))) + (add-after 'unpack 'remove-cqueues-test + (lambda _ + ;; XXX: This test depends on cqueues and cqueues has a test + ;; that depends on lua-ossl. + (delete-file "regress/148-custom-extensions.lua"))) + (delete 'configure) + (delete 'check) ; place 'check after 'install + (add-after 'install 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "LUA_CPATH" + (string-append #$output "/lib/lua/" + #$lua-api-version "/?.so;;")) + (setenv "LUA_PATH" + (string-append #$output "/share/lua/" + #$lua-api-version "/?.lua;;")) + (with-directory-excursion "regress" + (for-each (lambda (f) + (invoke "lua" f)) + (find-files "." "^[0-9].*\\.lua$"))))))))) + (inputs + (list lua openssl)) + (home-page "https://25thandclement.com/~william/projects/luaossl.html") + (synopsis "OpenSSL bindings for Lua") + (description "The luaossl extension module for Lua provides comprehensive, low-level bindings to the OpenSSL library, including support for certificate and key management, key generation, signature verification, and deep bindings to the distinguished name, alternative name, and X.509v3 extension interfaces. It also binds OpenSSL's bignum, message digest, HMAC, cipher, and CSPRNG interfaces.") - (license license:expat))) + (license license:expat)))) (define-public lua-ossl (make-lua-ossl "lua-ossl" lua)) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 20:52:15 2023 Received: (at 64449) by debbugs.gnu.org; 9 Oct 2023 00:52:15 +0000 Received: from localhost ([127.0.0.1]:58907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpeVL-0006A8-7U for submit@debbugs.gnu.org; Sun, 08 Oct 2023 20:52:15 -0400 Received: from smtpm1.myservices.hosting ([185.26.105.232]:57790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpeVJ-0006A0-UK for 64449@debbugs.gnu.org; Sun, 08 Oct 2023 20:52:14 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm1.myservices.hosting (Postfix) with ESMTP id 5C5C12056C for <64449@debbugs.gnu.org>; Mon, 9 Oct 2023 02:51:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id AD5058005B for <64449@debbugs.gnu.org>; Mon, 9 Oct 2023 02:51:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XFIbZvKjatsw for <64449@debbugs.gnu.org>; Mon, 9 Oct 2023 02:51:51 +0200 (CEST) Received: from [192.168.1.116] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 629C680098 for <64449@debbugs.gnu.org>; Mon, 9 Oct 2023 02:51:49 +0200 (CEST) Message-ID: Date: Mon, 9 Oct 2023 01:51:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/4] Fix lua-cqueues build failure. References: Content-Language: en-US From: Bruno Victal In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) 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: bump -- Furthermore, I consider that nonfree software must be eradicated. Cheers, Bruno. Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.2 MISSING_HEADERS Missing To: header -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 64449 Cc: 64449@debbugs.gnu.org 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 (/) bump -- Furthermore, I consider that nonfree software must be eradicated. Cheers, Bruno. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 23 07:51:46 2025 Received: (at 64449) by debbugs.gnu.org; 23 Feb 2025 12:51:47 +0000 Received: from localhost ([127.0.0.1]:59779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmBSU-0007bb-Ja for submit@debbugs.gnu.org; Sun, 23 Feb 2025 07:51:46 -0500 Received: from msg-3.mailo.com ([213.182.54.8]:42492 helo=mailo.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmBSR-0007bG-Fd for 64449@debbugs.gnu.org; Sun, 23 Feb 2025 07:51:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1740315096; bh=mSh/APNgHJfotEs5OssISrR7Zo7xk8CLJI+KNmlE+9g=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; b=pauDcCwkQmSzohy6BztxwUM8iJtm70flJh9l2M5FSbZKT5GG7hdnojMymPm7kxvtM HbihyBbaSsAhmt+bU/oCYSqGthe4DcpXCsIoBBc48kn4DObBBIi/lTYPeSwHrWnzKM Zbk6jEFE7oNUtkxJhu5QT8kTz9IE8ykzKkAGhOPU= Received: by b221-1.in.mailobj.net [192.168.90.21] with ESMTP via ip-20.mailobj.net [213.182.54.20] Sun, 23 Feb 2025 13:51:36 +0100 (CET) X-EA-Auth: +Er7G8RUYMPYnF9v1u/v+ZSmc/fZIPVp8BkMlPl1jO8IlJ3rUE7pTsebmEJDr9CjxvlJZAxFmRqMx5jCy/m4kc+0UDHYpu5xZrNQ//0IKe0= From: Nicolas Goaziou To: 64449@debbugs.gnu.org Subject: Re: [PATCH 0/4] Fix lua-cqueues build failure. In-Reply-To: Date: Sun, 23 Feb 2025 13:51:20 +0100 Message-ID: <87jz9gu8mv.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64449 Cc: Bruno Victal , Maxim Cournoyer 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 (-) Hello, > bump I closed the related bug (https://issues.guix.gnu.org/61279). It seems this patch set is partially applied on master. Do you think there=E2=80=99s still something missing or shall we close this report? Regards, --=20 Nicolas Goaziou