From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oNJvMQWMFWUKwgAAauVa8A:P1 (envelope-from ) for ; Thu, 28 Sep 2023 16:21:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oNJvMQWMFWUKwgAAauVa8A (envelope-from ) for ; Thu, 28 Sep 2023 16:21:57 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 893234E6A1 for ; Thu, 28 Sep 2023 16:21:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XhlY4NwQ; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695910917; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=D87YzEswYSM4sfJXDRr4YadRs8zQiiYxPy8ko4lWGLI=; b=qyjgmKg/b+6uEHoAp/hrl/xM6jNf5NclmytYvByp5kyOfxZhIX8KemZrsyHQrAJs1wLKBc WnGxy5eRCaTp7sBUrFXE9OiSPH6i3iJU1ML+ChA3OE11mJE1mUvTkbEqNWVYlwVkpdr8dw iYhmzn27HefUDv0qXxTXu/8etN/VQNOcc3HiwSCqqGpf5NXOprF4Ti1F9rdwTJXvB80Av5 y2R6DHlRNXmdRgpZdb3LVfZ9Fv3ZN6s5YRfETJBal5CJSMOkPDH0sM25hbtatWevTCd4NJ 2vYJxuwsX+w8hf0teHKfX68Caca339O5AZsQsn3Mp9wD0EXQbQvpRqHVZo/S1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695910917; a=rsa-sha256; cv=none; b=hcQaQlZvH/d/70v7YAe2Ons5gEJlQcJQjx7PURbivdy6tCVeukTNgqho2tBG9D57W2LoZu Aqga+Q8pOSpy0ZkxizRg6hgiVzRw2jwff4LqDWlRwyUc4JUKiD2pTm6gFGYuwBie1Cx4OI ujABKeaXCYGgx3B/6aeuaP0icNPP5qcFHgVhviR7X8SQAy8VrCed9UR6Gr8KOPB+7h7z3b lKvVDWbooBOH7RVYMeQwjx++I8rCHP4tGBRpdELaRIrCQs233fwU/AI2/1tlb59Wnq9Qyn 7QYAxywhLZRoE4dmbYu5w/nOsJTr2/K0ItfU4UCETZMiohQ1v2Li2XU4VmIU0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XhlY4NwQ; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlrtK-0005NF-OW; Thu, 28 Sep 2023 10:21:22 -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 1qlrtH-0005IG-2j for guix-devel@gnu.org; Thu, 28 Sep 2023 10:21:19 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlrtB-0007DV-D4 for guix-devel@gnu.org; Thu, 28 Sep 2023 10:21:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BA62924002B for ; Thu, 28 Sep 2023 16:21:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695910869; bh=oNNswvMhzjIEeWv/4+tOjFyc4n4Vx+0Fi/v2k6/1gv8=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=XhlY4NwQqMp1zpKOUNKCetpq8y/UfGEkp7v4tRUHGeFkLkzS537F4c60izNc4Mva/ 0aaxBQRlWVgIvVX3O4S3t7fzk7b5z+3bQO44xEKcFoMqvDpF/je5qacsmGLL8efnkL G9kBHVRW7rXe7v3xLllIzyvfIRKx9Qar3xP5JTfwTvKukW5WflLVnsxcWlbVvtYels 49gEOzWGap9UxHZWmWW9VEfmflY5PPpb15fpscyK/VXKoUYBzW3Pxppvhf5YroYmS0 wvpxmm4IENp+9ynEIjhpGebeNYigqJEKeTXnzQ58HFYrsGfWXsASYfTE7bbRbLmFVp Cr1Q3bD1mSRTg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RxFyY3DdZz9rxL for ; Thu, 28 Sep 2023 16:21:09 +0200 (CEST) References: <871qekptft.fsf@posteo.net> From: =?utf-8?Q?Th=C3=A9o?= Tyburn To: guix-devel@gnu.org Subject: Re: Help Packaging Incudine (Common Lisp) Date: Thu, 28 Sep 2023 14:20:21 +0000 In-reply-to: <871qekptft.fsf@posteo.net> Message-ID: <87r0mi750q.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=theo.tyburn@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.97 X-Migadu-Spam-Score: -9.97 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 893234E6A1 X-TUID: HgST6W6MWlu8 For some weird reasons I manage to compile this reluctant file in an interactive session by accepting the error in the debugger and retrying compilation later on when the compiled file is required. Not sure in what retrying a compilation on the interactive debugger is different from compiling normally. But I need to understand why the retrying of compilation does in order to replicate it without the need of an interactive session. Here are the logs: This is the first error where where I accept: > ASDF could not load incudine because > COMPILE-FILE-ERROR while > compiling #. > While evaluating the form starting at line 3, column 0 > of #P"/home/teddd/src/music/incudine/require.lisp": > debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread > #: > COMPILE-FILE-ERROR while > compiling # > Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. > restarts (invokable by number or by possibly-abbreviated name): > 0: [RETRY ] Retry > compiling #. > 1: [ACCEPT ] Continue, treating > compiling # > as having been successful. > 2: Retry ASDF operation. > 3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the > configuration. > 4: Retry ASDF operation. > 5: Retry ASDF operation after resetting the > configuration. > 6: [RETRY ] Retry EVAL of current toplevel form. > 7: [CONTINUE ] Ignore error and continue loading file "/home/teddd/src/music/incudine/require.lisp". > 8: [ABORT ] Abort loading file "/home/teddd/src/music/incudine/require.lisp". > 9: Ignore runtime option --load "require.lisp". > 10: Skip rest of --eval and --load options. > 11: Skip to toplevel READ/EVAL/PRINT loop. > 12: [EXIT ] Exit SBCL (calling #'EXIT, killing the process). > (UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((# . #))) > ; File has been modified since compilation: > ; SYS:CONTRIB;ASDF;ASDF.LISP.NEWEST > ; Using form offset instead of character position. > source: (ERROR 'COMPILE-FILE-ERROR :CONTEXT-FORMAT CONTEXT-FORMAT > :CONTEXT-ARGUMENTS CONTEXT-ARGUMENTS) > 0] 1 Then comes the second error where I retry compilation: > ASDF could not load incudine because > Couldn't load > #P"/home/teddd/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/teddd/src/music/incudine/contrib/cl-sndfile/cffi-sndfile.fasl": > file does not exist.. > While evaluating the form starting at line 3, column 0 > of #P"/home/teddd/src/music/incudine/require.lisp": > debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread > #: > Couldn't load > #P"/home/teddd/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/teddd/src/music/incudine/contrib/cl-sndfile/cffi-sndfile.fasl": > file does not exist. > Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. > restarts (invokable by number or by possibly-abbreviated name): > 0: [TRY-RECOMPILING ] Recompile cffi-sndfile and try loading it again > 1: [RETRY ] Retry loading FASL for > #. > 2: [ACCEPT ] Continue, treating loading FASL for > # > as having been successful. > 3: Retry ASDF operation. > 4: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the > configuration. > 5: Retry ASDF operation. > 6: Retry ASDF operation after resetting the > configuration. > 7: [RETRY ] Retry EVAL of current toplevel form. > 8: [CONTINUE ] Ignore error and continue loading file "/home/teddd/src/music/incudine/require.lisp". > 9: [ABORT ] Abort loading file "/home/teddd/src/music/incudine/require.lisp". > 10: Ignore runtime option --load "require.lisp". > 11: Skip rest of --eval and --load options. > 12: Skip to toplevel READ/EVAL/PRINT loop. > 13: [EXIT ] Exit SBCL (calling #'EXIT, killing the process). > (LOAD #P"/home/teddd/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/teddd/src/music/incudine/contrib/cl-sndfile/cffi-sndfile.fasl" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT) > 0] 0 > ; compiling file "/home/teddd/src/music/incudine/contrib/cl-sndfile/cffi-sndfile.lisp" (written 28 SEP 2023 03:02:26 PM): > ; wrote /home/teddd/.cache/common-lisp/sbcl-2.3.5-linux-x64/home/teddd/src/music/incudine/contrib/cl-sndfile/cffi-sndfile-tmpJAIDFZTC.fasl > ; compilation finished in 0:00:00.132 Tada. Any idea how I could achieve this without an interactive session ?