From patchwork Mon May 3 22:08:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 29096 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 278A727BC82; Mon, 3 May 2021 23:10:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4048827BC81 for ; Mon, 3 May 2021 23:10:29 +0100 (BST) Received: from localhost ([::1]:44564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldglo-0003K3-EW for patchwork@mira.cbaines.net; Mon, 03 May 2021 18:10:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldglP-0003Jx-EO for guix-patches@gnu.org; Mon, 03 May 2021 18:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldglO-0006Z8-IO for guix-patches@gnu.org; Mon, 03 May 2021 18:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldglO-0005uS-DT for guix-patches@gnu.org; Mon, 03 May 2021 18:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48208] [PATCH 2/2]: gnu: Add 3d-matricies References: In-Reply-To: Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 May 2021 22:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48208 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48208@debbugs.gnu.org Received: via spool by 48208-submit@debbugs.gnu.org id=B48208.162007974922694 (code B ref 48208); Mon, 03 May 2021 22:10:02 +0000 Received: (at 48208) by debbugs.gnu.org; 3 May 2021 22:09:09 +0000 Received: from localhost ([127.0.0.1]:48991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldgkW-0005ty-Td for submit@debbugs.gnu.org; Mon, 03 May 2021 18:09:09 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:45827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldgkV-0005tb-Cb for 48208@debbugs.gnu.org; Mon, 03 May 2021 18:09:08 -0400 Received: by mail-wr1-f48.google.com with SMTP id h4so7140173wrt.12 for <48208@debbugs.gnu.org>; Mon, 03 May 2021 15:09:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=GoeeusJrzjKamqV1fKuWDFwLD6YHe7Br0UKqTBwdR5g=; b=EWOXh/TpkWGnpXaGxaXwHsW3HhA1eTFE8Mgsr5Sd/+74rhMLTDtDmQwnIISh31SeUH NqwpJz1NtV8hlX0ydH6tqGJ0DGOc/vjimhi6CCM0g1QcmBNWaFz9eVu+pwX6QFJSyAzz kb7+a7aepbZdlcBqlvZrOaktGV7m9Chj6k66Y1fjbpZHc/wVzm78L1/60f3a9awhMIlj /nzX9mTjmHzjrpudUED9woq8mplkbTPs1p1krjbgP+3KFnulKzzg/k/VVP4tv7ZM45q3 c6WaGnZ8KTNPOMv6R/oNZWVdpcHGaFekd1O1iS6HkcUfT+xgmPWiHQ3bE8SVn0gTwgCM p3XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GoeeusJrzjKamqV1fKuWDFwLD6YHe7Br0UKqTBwdR5g=; b=YEgoLxT07ea5XaXOHMWb/cK5Hv2LSNubDbm1ds2a28jGU/3iFTFOD4HsMMAcz8uHdF Oj4RdvUYl2F3L1/7tX5CKnk/1rjmdyubVfrTzhpXBCXuo8SyMzOXGrARXSr41xSAcjmk OYoVGl1fZlFKYD452YxBE4W4LriFThwOLMvDMrOzQLJR5TVYYUC/Hvb+VoQZMHg/puNp FYuErn3REVQgYJOCiXSFpWRUwEzVixiy5ZMMZOY9zm3HjJiOL4/3vLeO9z63in8cfWNT /rxFu68LWemCo2f/VD7TGZLeiUPgM7/1xNT1oVR4V2qSpvt+fnaXIt9B+vgxipC0dHSo ExaQ== X-Gm-Message-State: AOAM533y5YMmYvU8WJXCwpalMz/U2tgadXHerZ9IS3SLdNvsr4Tn9bnp btSZaHKOuXHdQc2EJNv0EAQ/VPZLXHw1RuhCrAp8BDNRStw= X-Google-Smtp-Source: ABdhPJw7Ir6fVrlHeVgR2Ebu7C/xTCgKEM2rvUGB4IKi6xvnh8N0jtT8kMWbBZtyn5Ix0qlihi1RMPfvXKvBKyi1tMQ= X-Received: by 2002:adf:ce12:: with SMTP id p18mr23169563wrn.228.1620079741535; Mon, 03 May 2021 15:09:01 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Mon, 3 May 2021 22:08:51 +0000 Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches -- … наш разум - превосходная объяснительная машина которая способна найти смысл почти в чем угодно, истолковать любой феномен, но совершенно не в состоянии принять мысль о непредсказуемости. From 6974e8158de7799195679a48d0ce31e1b4a28eec Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 3 May 2021 23:01:46 +0100 Subject: [PATCH 2/2] gnu: Add 3d-matrices Draft I'm not sure where is the source of this issue, it looks like the problem in the naming of the package which includes '-3d-' in the name. --8<---------------cut here---------------start------------->8--- starting phase `create-asdf-configuration' `/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-form-fiddle.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-form-fiddle.conf' `/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-parachute.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-parachute.conf' `/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-documentation-utils.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-documentation-utils.conf' `/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-sbcl.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-sbcl.conf' `/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-trivial-indent.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-trivial-indent.conf' Backtrace: 12 (primitive-load "/gnu/store/s2m85hxbagxh93pngpb8bfsykqx?") In ice-9/eval.scm: 191:35 11 (_ _) In ice-9/boot-9.scm: 152:2 10 (with-fluid* _ _ _) 152:2 9 (with-fluid* _ _ _) In guix/build/gnu-build-system.scm: 838:2 8 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) In ice-9/boot-9.scm: 1736:10 7 (with-exception-handler _ _ #:unwind? _ # _) In srfi/srfi-1.scm: 857:16 6 (every1 # ?) In guix/build/gnu-build-system.scm: 847:30 5 (_ _) In guix/build/asdf-build-system.scm: 232:4 4 (create-asdf-configuration #:inputs _ #:outputs _) In guix/build/lisp-utils.scm: 208:4 3 (make-asdf-configuration "sbcl" _ _ "/gnu/store/wpw0i9?" ?) In ice-9/ports.scm: 461:11 2 (call-with-output-file "/gnu/store/wpw0i9aqq2pf2lj8ai1?" ?) In unknown file: 1 (open-file "/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p73?" ?) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure open-file: Permission denied: "/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-sbcl.conf" builder for `/gnu/store/h6h02gy1ywsqijmar5lhb26sgldhnxss-sbcl-3d-matrices-3.1.0-1.f453b52.drv' failed with exit code 1 build of /gnu/store/h6h02gy1ywsqijmar5lhb26sgldhnxss-sbcl-3d-matrices-3.1.0-1.f453b52.drv failed View build log at '/var/log/guix/drvs/h6/h02gy1ywsqijmar5lhb26sgldhnxss-sbcl-3d-matrices-3.1.0-1.f453b52.drv.bz2'. guix build: error: build of `/gnu/store/h6h02gy1ywsqijmar5lhb26sgldhnxss-sbcl-3d-matrices-3.1.0-1.f453b52.drv' failed --8<---------------cut here---------------end--------------->8--- --- gnu/packages/lisp-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index d7001d4c9b..2b7f0a41b5 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -16408,3 +16408,41 @@ offers them both in non-modifying and modifying versions where applicable.") (define-public cl-3d-vectors (sbcl-package->cl-source-package sbcl-3d-vectors)) + +(define-public sbcl-3d-matrices + (let ((commit "f453b521b8f2ceabb01eac94389119dece8c05f8") + (revision "1")) + (package + (name "sbcl-3d-matrices") + (version (git-version "3.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Shinmera/3d-matrices") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10q9c96gqzq6k8n89agy0khgimmnsn4s69171m3vhghqa2yv5n6v")))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:asd-files '("3d-matrices.asd") + #:asd-systems '("3d-matrices"))) + (native-inputs + `(("parachute" ,sbcl-parachute))) + (inputs + `(("documentation-utils" ,sbcl-documentation-utils) + ("3d-vectors" ,sbcl-3d-vectors))) + (home-page "https://shinmera.github.io/3d-matrices/") + (synopsis "Utility library implementing 2x2, 3x3, 4x4 and NxM matrix functionality") + (description + "@code{3D-MATRICES} is a library implementing common matrix operations, +mainly intended as the counterpiece to @code{3d-vectors} and thus being aimed at +operations in 3D space.") + (license license:zlib)))) + +(define-public ecl-3d-matrices + (sbcl-package->ecl-package sbcl-3d-matrices)) + +(define-public cl-3d-matrices + (sbcl-package->cl-source-package sbcl-3d-matrices)) -- 2.31.1