From patchwork Fri Nov 18 12:47:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 44599 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 B050227BBE9; Fri, 18 Nov 2022 13:06:27 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ED9B527BBE9 for ; Fri, 18 Nov 2022 13:06:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow14V-00045J-QZ; Fri, 18 Nov 2022 08:06:19 -0500 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 1ow14G-00043C-MN for guix-patches@gnu.org; Fri, 18 Nov 2022 08:06:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ow14E-0005DI-0C for guix-patches@gnu.org; Fri, 18 Nov 2022 08:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ow14D-0000ah-RL for guix-patches@gnu.org; Fri, 18 Nov 2022 08:06:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59193] [PATCH] gnu: sbcl-njson: Update to 0.2.1. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Nov 2022 13:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Artyom Bologov Cc: 59193@debbugs.gnu.org Received: via spool by 59193-submit@debbugs.gnu.org id=B59193.16687767442248 (code B ref 59193); Fri, 18 Nov 2022 13:06:01 +0000 Received: (at 59193) by debbugs.gnu.org; 18 Nov 2022 13:05:44 +0000 Received: from localhost ([127.0.0.1]:35678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow13v-0000aB-LO for submit@debbugs.gnu.org; Fri, 18 Nov 2022 08:05:44 -0500 Received: from mout02.posteo.de ([185.67.36.66]:43211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow13r-0000Zu-1u for 59193@debbugs.gnu.org; Fri, 18 Nov 2022 08:05:42 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F2077240101 for <59193@debbugs.gnu.org>; Fri, 18 Nov 2022 14:05:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668776733; bh=BMYr5i5VoDQKP5QdLvciuqry5iyUv/KyLJXYmrzKC34=; h=From:To:Cc:Subject:Date:From; b=E5r+ghedr38MdqJ0W2HRKbOCban3F/GNM4yGyMvRj+sm6HqjhDjiX7rHnci/HhdGG pBTR5zE/OD15kFw7ezGYJlMCKfdJQTG2l+qH2LsIIhvV3tsk8nhz+2lnfEKrMuWuYP P9uGVcqNrMd3CqZCIa2l7zUsYzVe3rnd9JDQDazGhrQ+LzDU/Fm+It92C0epO0aRVW rjkg9sBmW3GYf3B3Sm0fzq+/kxCMOiZR/SKf7qTSLPz2eWQL8/GHXdAw8xmQyv639E ht5ju0bLfh2/H7MivYYpVoKef5MzHOZLyFEwpXPk/QqLnYj/biMRqToThiBpHz9NOz FulTMxdAze1/Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NDH8C6vyvz9rxM; Fri, 18 Nov 2022 14:05:30 +0100 (CET) References: <87mt8xpsb3.fsf@aartaka.me> <87pmdozgf6.fsf@kitej> <87cz9k1omt.fsf@aartaka.me> From: Guillaume Le Vaillant Date: Fri, 18 Nov 2022 12:47:04 +0000 In-reply-to: <87cz9k1omt.fsf@aartaka.me> Message-ID: <87a64oct0l.fsf@kitej> MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Artyom Bologov skribis: > Hello Guillaume, > >> The sbcl-nactivitypub package fails to build with sbcl-njson 0.2.1. >> Could you take a look at it? > > Yes, see the attached patch updating sbcl-nactivitypub too! > > [2. Update cl-nactivitypub. --- text/x-patch; 0001-gnu-Update-cl-nactivitypub-to-0.0.3.patch]... > > > Thanks, Hi, The sbcl-nactivitypub-0.0.3 package still fails to build. The first error I got was: "The name NJSON/ALIASES does not designate any package." I was able to get a bit further by applying the attached patch to build the missing njson/aliases subsystem and adding it to the 'depends-on' field in "nactivitypub.asd". I then hit another error: "nactivitypub.lisp" is trying to use a njson/aliases:truep symbol that doesn't exist. I took a look at exported symbols of njson and njson/aliases, and I think nactivitypub should use either njson:jtruep or njson/aliases:true. From 1896223a12fb5713a12b81fb683232ddc8a06b61 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 18 Nov 2022 13:34:32 +0100 Subject: [PATCH] gnu: cl-njson: Build extra systems. * gnu/packages/lisp-xyz.scm (sbcl-njson)[arguments]: Add "njson/aliases" and "njson/cl-json" to 'asd-systems'. --- gnu/packages/lisp-xyz.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 1c0100bbe4..b3abe264f0 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -22804,6 +22804,8 @@ (define-public sbcl-njson (build-system asdf-build-system/sbcl) (inputs (list sbcl-cl-json)) (native-inputs (list sbcl-lisp-unit2)) + (arguments + '(#:asd-systems '("njson" "njson/aliases" "njson/cl-json"))) (home-page "https://github.com/atlas-engineer/njson") (synopsis "JSON handling framework for Common Lisp") (description -- 2.38.1