From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 02 07:58:48 2023 Received: (at submit) by debbugs.gnu.org; 2 Jul 2023 11:58:49 +0000 Received: from localhost ([127.0.0.1]:59452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFvj6-00018h-KU for submit@debbugs.gnu.org; Sun, 02 Jul 2023 07:58:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:38160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFvj4-00018Z-Lr for submit@debbugs.gnu.org; Sun, 02 Jul 2023 07:58: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 1qFvj4-0000VY-Em for guix-patches@gnu.org; Sun, 02 Jul 2023 07:58:46 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFvj2-0002dQ-BJ for guix-patches@gnu.org; Sun, 02 Jul 2023 07:58:46 -0400 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-51d80c5c834so6237176a12.1 for ; Sun, 02 Jul 2023 04:58:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20221208.gappssmtp.com; s=20221208; t=1688299122; x=1690891122; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=m5UTpdpfstMP80NbPolVX9i9otTUT2/LDzdjWCIF8Os=; b=IlCApbtFvBtpatastEVDbxgvL+/rttSWLlHGhbBEiiBJMIzZ9JqWJBGXncW0VqOvoE wkFcMQicjjSvhAfpUi9QtSo4CQ3wnLm6uoGvwECJyB0yvxwF3TPL6oLZ0tNfay88ce6d N5vpX+PZ48VXJ4L2FBoLGai/SY7opOx8sc+ihMYZTlz/FpaUWwAMlLsY8A9gOo9GpHUt 5Bo/Cr+ThzuFlgayvceO4i1e6PT6n+KS+LPPrRfdLEubCjHfs3CvZEcCIpJXtAGLUTnM jaCfLsovCFBG/56LzGT9IpC0cH9ZMl1zjSTRMXbsOzK5Wu4q6W2t+Nh0I291T7JhGDCj 1tYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688299122; x=1690891122; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=m5UTpdpfstMP80NbPolVX9i9otTUT2/LDzdjWCIF8Os=; b=N4z1aphWGLAGXYdiPFqtIyFKoE1gA5pmHmd3cHHFEI2h8r0RIjfVLGwbc5Kyp/36G9 NRyjyafDX7R4k//Mr+DT3dE/Jr6mHj5lEFrflwI2/919Sdfw38Vb9XwDSik3DMNkU9+c MLCEqAbixHe4vmA9FpInQo6ucllKWGfCD9vhXnxNROqBi65g76CUOAJNbLCnVuIOOexj sD4BVipejR57r4Z0feXlD+Gxxnx7vtDB6PG8Y8+ROE88Ecj90rMaDgyfL4Q/78kznf7Z FY2oU0YyoFybwkyjNio3jOPkhAjVOb0VJnW2sUzqkcryuXLtfl9nL/WTDWIoNlcKDGQS u9zQ== X-Gm-Message-State: AC+VfDxjQLdVOSpRHSZXcW2mM6VhZivtW3cZ10doNo7LrnR07R8dwnPo D6mW6g+2KQVFG/QnurF5LYcppxU5v47BaIGcJUM= X-Google-Smtp-Source: ACHHUZ5yc1ZXqgDgba3ZkREWOrMV+WG3HmEeokFhRV/t1Y7ONIw0zAG11/Um86Dw8mLdAwTjHPDPmw== X-Received: by 2002:a05:6402:3481:b0:51d:a5c6:37c1 with SMTP id v1-20020a056402348100b0051da5c637c1mr14636997edc.1.1688299121811; Sun, 02 Jul 2023 04:58:41 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:10c:3881:cff6:795e:dcf3:eb5f]) by smtp.gmail.com with ESMTPSA id w14-20020a056402070e00b0051ddf53c623sm3965613edx.2.2023.07.02.04.58.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jul 2023 04:58:41 -0700 (PDT) From: Roman Scherer To: guix-patches@gnu.org Subject: [PATCH 0/1] Common Lisp local-time Postgres extension Date: Sun, 2 Jul 2023 13:58:33 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2a00:1450:4864:20::536; envelope-from=roman@burningswell.com; helo=mail-ed1-x536.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Roman Scherer 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: -3.3 (---) Hello Guix, I was trying to use postmodern with the local-time library. This did not work, because it looks like the extensions is not compiled with the local-rime time package. When I tried loading the extension, a compilation was triggered but ultimatly failed because it was trying to write the compiled fasl file into the Guix store. Since the local-time package can be used without postgresql, I created a new package for just the extension and removed the broken system from the local-time package in order to not add cl-postgres and postmodern to it. Could you please review this patch? Thanks, Roman. Roman Scherer (1): gnu: Add sbcl-postgres+local-time. gnu/packages/lisp-xyz.scm | 54 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 02 08:00:53 2023 Received: (at 64418) by debbugs.gnu.org; 2 Jul 2023 12:00:53 +0000 Received: from localhost ([127.0.0.1]:59457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFvl7-0001Dh-39 for submit@debbugs.gnu.org; Sun, 02 Jul 2023 08:00:53 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:47478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFvl5-0001DT-3O for 64418@debbugs.gnu.org; Sun, 02 Jul 2023 08:00:51 -0400 Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-3142a9ff6d8so1514569f8f.3 for <64418@debbugs.gnu.org>; Sun, 02 Jul 2023 05:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20221208.gappssmtp.com; s=20221208; t=1688299245; x=1690891245; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A039oo+0ryg7W+BZnKfR2nPb3W+znGxyWhebB1OwCdY=; b=dH4Jqg6xypMgaoBJZR4+hwfjaRBOwhvPyuJBzYB8MdwHLzyyAlNX5/B1AVP+tIbYue 8WuNcRVMO+4HqxA584dNCHg8a4ZgzJryGpx2LKOPGpRZVBslXIw1gvqNUPd1OIORCOFj j+mJ34zdkt1ChA+YONdkxEd1NP31gBuq3BgqFyvwCWiF7iHuwig0ad1VysbiDFkK0T22 G0XPyPt8Es9P92y5blEgoIWHDjKXl+XTX+g3AUO6gOY1yPMAIp7fl5358DovELSgijkn RjpEPoBk5QPFlm2XwY2D0EFxZ6GOt+LjIsG3PF78Q+ldmI2SLvCe49jlrK/mGl4uTEQZ dzRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688299245; x=1690891245; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A039oo+0ryg7W+BZnKfR2nPb3W+znGxyWhebB1OwCdY=; b=G4wprJC1rQMnR5gqIbCSBW10gzQa7uy1XD9g1GzNaVCkYjHzu0pwnqtvvfbEUZp2LM KEoI8A0XjeEPudOuBntBAw+6zSXdBNYFpspEtwhrHZSqXpRQOz+NPaJVtVjpBy590eul DIJYIkkzOrU/sptoHZ5GyiS82JfEX9YSlDNOgTCHAodbCB1Kf8VWQLw/IEZ/TascGBLh fryi7Uw9sZFMiIE8aBGOyolwjKMl7rKLF3AP1la9T/lcHVFgT0pGoNfpVzJwUAAQ7T7p vVujKfBCowvY0RP3apdWlAe8g/CwY9/GyxGqXEokFbojnLQPYbJC+ddixP6q4KRICQZA 9b7w== X-Gm-Message-State: ABy/qLaKG2hW7nJc/whEyhBTtbvDqn+xBfU7y6zO1grpg4wcGh8u/bHE icHpoqfVqWDXK/BIGasqqDbLQuqS6rUNzHYP3J0= X-Google-Smtp-Source: APBJJlE+OmXdqCKMySbHCg2JT6QbpuN1Q0bFXGjIDCa9UKSV5ngOnEdPkq2MjtGIXT9Orv62T4QhxA== X-Received: by 2002:a05:6000:12c1:b0:314:1c96:7f3c with SMTP id l1-20020a05600012c100b003141c967f3cmr4971826wrx.7.1688299244996; Sun, 02 Jul 2023 05:00:44 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:10c:3881:cff6:795e:dcf3:eb5f]) by smtp.gmail.com with ESMTPSA id a20-20020a05600c225400b003fbb06af219sm12326618wmm.32.2023.07.02.05.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jul 2023 05:00:44 -0700 (PDT) From: Roman Scherer To: 64418@debbugs.gnu.org Subject: [PATCH 1/1] gnu: Add sbcl-postgres+local-time. Date: Sun, 2 Jul 2023 14:00:39 +0200 Message-Id: <0e1d2edc076e7fa93a5becfc11bade4bbaa15f92.1688298316.git.roman@burningswell.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64418 Cc: Roman Scherer 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 (-) * gnu/packages/lisp-xyz.scm (sbcl-postgres+local-time): New variable. --- gnu/packages/lisp-xyz.scm | 54 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index d578c46b90..bd1efc2b83 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -6875,7 +6875,7 @@ (define-public ecl-cl-isaac (define-public sbcl-local-time (let ((commit "40169fe26d9639f3d9560ec0255789bf00b30036") - (revision "3")) + (revision "4")) (package (name "sbcl-local-time") (version (git-version "1.0.6" revision commit)) @@ -6889,6 +6889,14 @@ (define-public sbcl-local-time (sha256 (base32 "1dbp33zmkqzzshmf5k76pxqgli285wvy0p0dhcz816fdikpwn2jg")))) (build-system asdf-build-system/sbcl) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Delete the extension provided by sbcl-cl-postgres+local-time + (add-after 'unpack 'delete-local-time + (lambda _ + (delete-file "cl-postgres+local-time.asd") + (delete-file "src/integration/cl-postgres.lisp")))))) (native-inputs (list sbcl-hu.dwim.stefil)) (home-page "https://common-lisp.net/project/local-time/") @@ -6905,6 +6913,50 @@ (define-public cl-local-time (define-public ecl-local-time (sbcl-package->ecl-package sbcl-local-time)) +(define-public sbcl-postgres+local-time + (let ((commit "40169fe26d9639f3d9560ec0255789bf00b30036") + (revision "3")) + (package + (name "sbcl-postgres+local-time") + (version (git-version "1.0.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dlowe-net/local-time") + (commit commit))) + (file-name (git-file-name "cl-postgres+local-time" version)) + (sha256 + (base32 "1dbp33zmkqzzshmf5k76pxqgli285wvy0p0dhcz816fdikpwn2jg")))) + (build-system asdf-build-system/sbcl) + (inputs (list sbcl-local-time sbcl-postmodern)) + (native-inputs + (list sbcl-hu.dwim.stefil)) + (arguments + `(#:asd-systems '("cl-postgres+local-time") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'delete-local-time + (lambda _ + (delete-file "local-time.asd") + (delete-file "src/package.lisp") + (delete-file "src/local-time.lisp") + (delete-file-recursively "doc") + (delete-file-recursively "test") + (delete-file-recursively "zoneinfo")))))) + (home-page "https://common-lisp.net/project/local-time/") + (synopsis "Integration between cl-postgres and local-time") + (description + "This package provides the LOCAL-TIME extensions for the cl-postgres +ASDF system of postmodern.") + (license license:expat)))) + +(define-public cl-postgres+local-time + (sbcl-package->cl-source-package sbcl-postgres+local-time)) + +(define-public ecl-postgres+local-time + (sbcl-package->ecl-package sbcl-postgres+local-time)) + (define-public sbcl-chronicity (package (name "sbcl-chronicity") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 04 05:19:24 2023 Received: (at 64418-done) by debbugs.gnu.org; 4 Jul 2023 09:19:24 +0000 Received: from localhost ([127.0.0.1]:35025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGcBw-0002mt-A7 for submit@debbugs.gnu.org; Tue, 04 Jul 2023 05:19:24 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGcBt-0002mg-ON for 64418-done@debbugs.gnu.org; Tue, 04 Jul 2023 05:19:22 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3A600240103 for <64418-done@debbugs.gnu.org>; Tue, 4 Jul 2023 11:19:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1688462356; bh=ta+1wCAC3ywYzvP9uxTXFHTjgkkLTMlN6rdTk5CXvLQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=NjkE5HraVZrDy7HLbO4pg4QVuTkkZA/mlbR8LTTwmjcxACI7+staT6aCtzs8h7y5P Qj8fVX8iIi9otxfzzxa8NsyJ93FcOa7HGhvjpwlc6HMbvxdIS5OIINcQxJO98RUClR 8p/VkcgwqmsPL7GxcZz7cOeByDZgxGfHTOTEX2sL/9ncXNoZGg6On2clQFWYRn2EcG pgZyzCvr3W0PNxF0c2BsALqCwLIJR/3WuuWbYHATN1YIxvAbQQV1xtLDn8ZXAHRfqe XbDwN817HjykWPKR3dHJpCN7tuCUnhleqB8Y8WxupU2DB/HaiFUO9bN2eTyEIcFKhk VhBR59kQ1aD+A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QwHKv4Fmjz9rxS; Tue, 4 Jul 2023 11:19:15 +0200 (CEST) References: From: Guillaume Le Vaillant To: Roman Scherer Subject: Re: [bug#64418] [PATCH 0/1] Common Lisp local-time Postgres extension Date: Tue, 04 Jul 2023 09:15:14 +0000 In-reply-to: Message-ID: <87ttuk3ugd.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64418-done Cc: 64418-done@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: -3.3 (---) --=-=-= Content-Type: text/plain I modified your patch to make the package definition for sbcl-cl-postgres+local-time more concise by inheriting from sbcl-local-time, given that they have the same source repository. Patch applied as ec2b5784abc18870c3a1031928f86131d78684ae. Thanks. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZKPkEg8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8CfAD/eME4KZO0o2vqLzmdX0k7IyFg0lZIlzM5ingq VjRa1jUA/RpBK7FlA5oo7A8pSlU7xj6hgHMvLbunFKUQhHFAQ7im =DXCE -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 22:05:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 01 Aug 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator