From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 17 03:50:46 2021 Received: (at 51903) by debbugs.gnu.org; 17 Nov 2021 08:50:46 +0000 Received: from localhost ([127.0.0.1]:60107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnGeT-0003JH-RH for submit@debbugs.gnu.org; Wed, 17 Nov 2021 03:50:46 -0500 Received: from mx1.dismail.de ([78.46.223.134]:23159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnGeQ-0003Ir-9s for 51903@debbugs.gnu.org; Wed, 17 Nov 2021 03:50:44 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 83f6218d; Wed, 17 Nov 2021 09:50:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s= 20190914; bh=4iK4B8AYFk+9VJzh2Ox/p0L3KgOWP89zUub26yMCovc=; b=cfm SQW/M63YBtgY065x4lc3tpt3TKKqgX6Z0xJZtUPnH0ymyMEHtybY32ywA8sg4+7r G74t7dOwTT5BoQuFzLOwbT9xGDRWYn/367YPFAc/V7BOOOq/LT5Mya125iOUFRvO 9hDVpt/tjVbGQElsAUj6muyDAU9jhNtfaDjI0fefo6qbuHPIMSj5C8QYXmZyMsqh cnUKlXrZw72MC5zRKWNn7fou2R1zOkFVsQfcKxaipoBRAvrqXUnv/e/l+UTU727U 0XJwKj2b3EuyikM3Y/T/3Iz3EXzcOXbFUD4avC3LsL4gWbpVdmehTTwb78paXjw5 DeQN1srnqq+ks4rUZsA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 9b562c88; Wed, 17 Nov 2021 09:50:34 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 06821063; Wed, 17 Nov 2021 09:50:34 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 4e813ba0 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 17 Nov 2021 09:50:32 +0100 (CET) Date: Wed, 17 Nov 2021 03:50:30 -0500 Message-ID: <20211117035030.GB31148@gac.attlocal.net> From: jgart To: Pierre Neidhardt Subject: Re: [PATCH] gnu: Add cl-cmn. In-Reply-To: <871r3fte5f.fsf@ambrevar.xyz> References: <20211117015205.19233-1-jgart@dismail.de> <871r3fte5f.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) 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: On Wed, 17 Nov 2021 08:49:48 +0100 Pierre Neidhardt wrote: > Hi, > > 1. I believe you should place the lib in lisp-xyz.scm. > > 2. License is llgpl. > > 3. Then use the asdf-build- [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [78.46.223.134 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Debbugs-Envelope-To: 51903 Cc: 51903@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.3 (/) On Wed, 17 Nov 2021 08:49:48 +0100 Pierre Neidhardt wrote: > Hi, > > 1. I believe you should place the lib in lisp-xyz.scm. > > 2. License is llgpl. > > 3. Then use the asdf-build-system/sbcl. > See the other sbcl- packages for reference. > > Then define the cl- package with > > --8<---------------cut here---------------start------------->8--- > (define-public cl-cmn > (sbcl-package->cl-source-package sbcl-cmn)) > --8<---------------cut here---------------end--------------->8--- > > 4. Since there are no version numbers, maybe use the date of the last > HISTORY.cmn entry, that is, 2016.8.17. > > Hope that helps! Hi Pierre, Thanks for the suggestions. Much appreciated! This is the error I currently get: ; READ error during COMPILE-FILE: ; ; Package CMN does not exist. ; ; Line: 174, Column: 33, File-Position: 6136 ; ; Stream: # ; compilation aborted after 0:00:00.004 Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #: COMPILE-FILE-ERROR while compiling # Backtrace for: # 0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK # # :QUIT T) 1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #) 2: (INVOKE-DEBUGGER #) 3: (ERROR UIOP/LISP-BUILD:COMPILE-FILE-ERROR :CONTEXT-FORMAT "~/asdf-action::format-action/" :CONTEXT-ARGUMENTS ((# . #))) 4: (UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((# . #))) 5: ((SB-PCL::EMF ASDF/ACTION:PERFORM) # # # #) 6: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION)) 7: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) # #) [fast-method] 8: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #) [fast-method] 9: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT)) 10: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #) [fast-method] 11: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) # # :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method] 12: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) # # # #) 13: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) 14: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) # #) [fast-method] 15: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) # # ASDF/LISP-ACTION:COMPILE-OP "cmn") 16: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) 17: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:COMPILE-OP "cmn") [fast-method] 18: (ASDF/SESSION:CALL-WITH-ASDF-SESSION # :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL) 19: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) 20: (ASDF/SESSION:CALL-WITH-ASDF-SESSION # :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL) 21: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:COMPILE-OP "cmn") [fast-method] 22: (ASDF/OPERATE:COMPILE-SYSTEM "cmn") 23: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:COMPILE-SYSTEM "cmn") #) 24: (EVAL (ASDF/OPERATE:COMPILE-SYSTEM "cmn")) 25: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(require :asdf)") (:EVAL . "(asdf:load-asd (truename \"/gnu/store/wdsfha38v8mg638y6ilxar1qjkg57fbg-sbcl-cmn-2016.8.17/share/common-lisp/sbcl/cmn/cmn.asd\"))") (:EVAL . "(asdf:compile-system \"cmn\")") (:QUIT))) 26: (SB-IMPL::TOPLEVEL-INIT) 27: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP)) 28: ((FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-IMPL::START-LISP)) 29: (SB-IMPL::START-LISP) unhandled condition in --disable-debugger mode, quitting ; ; compilation unit aborted ; caught 2 fatal ERROR conditions ; caught 1 ERROR condition command "/gnu/store/42vycgb0gcyhhqsncyc5ybp83xwgp2dk-sbcl-2.1.9/bin/sbcl" "--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:load-asd (truename \"/gnu/store/wdsfha38v8mg638y6ilxar1qjkg57fbg-sbcl-cmn-2016.8.17/share/common-lisp/sbcl/cmn/cmn.asd\"))" "--eval" "(asdf:compile-system \"cmn\")" failed with status 1 builder for `/gnu/store/0bz3b26x201mx7x1c6xmhyc98p04rhrs-sbcl-cmn-2016.8.17.drv' failed with exit code 1 build of /gnu/store/0bz3b26x201mx7x1c6xmhyc98p04rhrs-sbcl-cmn-2016.8.17.drv failed Could not find build log for '/gnu/store/0bz3b26x201mx7x1c6xmhyc98p04rhrs-sbcl-cmn-2016.8.17.drv'. guix build: error: build of `/gnu/store/0bz3b26x201mx7x1c6xmhyc98p04rhrs-sbcl-cmn-2016.8.17.drv' failed Here's the package definition updated with the changes you requested: ``` (define-public sbcl-cmn (package (name "sbcl-cmn") (version "2016.8.17") (source (origin (method url-fetch) (uri (string-append "https://ccrma.stanford.edu/software/cmn/cmn" ".tar.gz")) (sha256 (base32 "1f4ivhg1vq2fwklmwjj30bj7ij1yab45rnjjwps3qpsh0lpd6yj3")) (file-name (string-append name "-" version)))) (build-system asdf-build-system/sbcl) (arguments `(#:asd-systems '("cmn") #:asd-files '("cmn.asd"))) (home-page "https://ccrma.stanford.edu/software/cmn/") (synopsis "Western music notation package written in Common Lisp") (description "CMN provides a package of functions to hierarchically describe a musical score. When evaluated, the musical score is rendered to an image.") (license license:llgpl))) (define-public cl-cmn (sbcl-package->cl-source-package sbcl-cmn)) ``` Anything that might be wrong in the above?