Message ID | cover.1697849395.git.philip@philipmcgrath.com |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DBEE627BBEA; Sat, 21 Oct 2023 03:01:00 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 D232227BBE2 for <patchwork@mira.cbaines.net>; Sat, 21 Oct 2023 03:00:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1qu1I6-0008Et-3y; Fri, 20 Oct 2023 22:00:38 -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 <Debian-debbugs@debbugs.gnu.org>) id 1qu1I2-0008Ef-Ti for guix-patches@gnu.org; Fri, 20 Oct 2023 22:00:35 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qu1I2-0007WB-Kh for guix-patches@gnu.org; Fri, 20 Oct 2023 22:00:34 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qu1IU-0001TO-2B for guix-patches@gnu.org; Fri, 20 Oct 2023 22:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56534] [PATCH v2 0/4] gnu: Add racket-with-video. Resent-From: Philip McGrath <philip@philipmcgrath.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Oct 2023 02:01:02 +0000 Resent-Message-ID: <handler.56534.B56534.16978536575641@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56534 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56534@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Philip McGrath <philip@philipmcgrath.com>, Rostislav Svoboda <rostislav.svoboda@gmail.com> Received: via spool by 56534-submit@debbugs.gnu.org id=B56534.16978536575641 (code B ref 56534); Sat, 21 Oct 2023 02:01:02 +0000 Received: (at 56534) by debbugs.gnu.org; 21 Oct 2023 02:00:57 +0000 Received: from localhost ([127.0.0.1]:41928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1qu1IM-0001Sr-Bx for submit@debbugs.gnu.org; Fri, 20 Oct 2023 22:00:57 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:52515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philip@philipmcgrath.com>) id 1qu1I6-0001SC-I3 for 56534@debbugs.gnu.org; Fri, 20 Oct 2023 22:00:53 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 1C7753200A25; Fri, 20 Oct 2023 22:00:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 20 Oct 2023 22:00:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1697853604; x=1697940004; bh=GV nEOX5fxQqz8+r1fww0xEpK0oDb6F+CrXxZ3drCVDo=; b=EegTL2A9aZyO20X5nV M2s2VB33qzURrJm/HyDd8qTxGWfnQrrl8rRYcGjia4+YD4hUJO64FR1xH1vePUjZ aiyW22J9Q6P4LdxoyTiRwNxtz24xpunU4tHiz68723wBoqxczAD9z48x57rr3oAo NTbjCA/yPpLQxaMKEblpBrM/hJU4BpbsVRcQwG3Ham6tN6/rEJ4yUdjXGy3zMNbJ Sbfyn/f8xTe8Tha3FjtPZAuEFIw5Jq9ScM5p3BIjsKxJiRuAxePqVCscMEu1rsOW jjRu6UYNlNHYu8gXnvlOwIpZblQFDDXwq5gjUM5bDg+bWaOzbqTLbe+2TvWHRynN Hd7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1697853604; x=1697940004; bh=GVnEOX5fxQqz8+r1fww0xEpK0oDb6F+CrXx Z3drCVDo=; b=CIeZLeGs5g1ZEELPB65UKekXcB0Kc/cB8scvQqKocT2RTxMsu5a 10qXCxGEwLCG4y4LiEDRI3LOjohKswhRTChMMyCJrYWGXpT/npNuPMDP4KLhtJ06 KzaiCtGmCaIA+T2XAPDZ6ONrflqsADBrBJGUJZRW0lQlj0nFdQkXptjS3YJbIPWZ xDsictTTLBBx+B+OnJJH57hpMiX+A8eu4GTeSbDDL1F5go0Y0tBACX9RKiaIbeoD ckz2J9v9eKGlGLz8eog9mwBh08v9cHib7xZKn+kfRZ3SRI3coNwvOQRvVGY10kRp ANEGfGzhKn0qHs3ExTJpfJrbvOw9MGe/UDw== X-ME-Sender: <xms:ozAzZXW7VPUon6cRsxsZuoqGNFqO90_z9mViNhLqM5xFerB7YcwtZg> <xme:ozAzZfkKUSNc9D5B7ode9pzpy9OA21mqfhTwhTV38-BQXBAO8JtIepSHNy_nnC75g RCBnHb3oaGQbAFpzrE> X-ME-Received: <xmr:ozAzZTa6SdzbDZOSZ0SVUERaDeRuldNfy_Z19b6IIV0yZ7E7D3SISrXAJrH2mIRfGaL2dsZcLDKDk34vq0cZXvFGSCPXyiPKCSHX-kSUZpex_ji4YHgOuqA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjeelgdehtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfgggtuefgsehtkeertdertdejnecuhfhrohhmpefrhhhi lhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtg homheqnecuggftrfgrthhtvghrnhepiedufffhteejtedvteejgeektdeuheejuefgkeet geefjeevheefhefgtdehfeffnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpghhnuh drohhrghdpvhhiugdrshhhvghllhdplhhisggrshhouhhnuggpmhhoughulhgvpghrrght vggplhgrvhhrrghtvgdrshhopdhlihgsrghsohhunhgupghmohguuhhlvggptghonhhfpg hpuhhlshgvrdhsohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: <xmx:ozAzZSU5XMvZCEkRcN_FSgl3bCh2Pbm3UNNQJpTfpzTKAo9-h9emNA> <xmx:ozAzZRlX-3EadxYnSGb1hCbAmBsphV2vl2Ti1FJ-2biBR8fsCDZNFw> <xmx:ozAzZfcnN9JidyLmS-B1QHCymFvW2ZG0Ff5fAhVjJMN-aMG63ogJkQ> <xmx:pDAzZfbna3AKJ6nvDjdVGIWrQIlUZoZ138SWA425X9JqH3mfnb_8UA> Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 20 Oct 2023 22:00:03 -0400 (EDT) From: Philip McGrath <philip@philipmcgrath.com> Date: Fri, 20 Oct 2023 21:58:29 -0400 Message-ID: <cover.1697849395.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <80cbe78b-921b-4b05-baa6-7216fec01297@app.fastmail.com> References: <80cbe78b-921b-4b05-baa6-7216fec01297@app.fastmail.com> <87zg0rzzqg.fsf@gnu.org> <videolang/video/issues/67@github.com> <e943b0df-28e1-4600-ab4c-f223598db3fd@www.fastmail.com> <87zg0rzzqg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=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 |
Series | gnu: Add racket-with-video. | |
Message
Philip McGrath
Oct. 21, 2023, 1:58 a.m. UTC
Hi Ludo’ and everyone, Here is a patch series adding 'racket-with-video'. (I'm BCC'ing <https://github.com/videolang/video/issues/67> on this cover letter, but not on the patches themselves: they will be at <https://issues.guix.gnu.org/56534>.) The package builds file, but unfortunately, while trying to confirm that it works, I'm getting errors related to ALSA plugins. I'm not familiar with how ALSA finds plugins or how Guix packages should handle them, so I'm hoping someone will have suggestions. I also asked on IRC: see <https://logs.guix.gnu.org/guix/2023-10-20.log#230814>. Here's how to provoke the problem: 1. Launch a shell with the new package, e.g. with `./pre-inst-env guix shell racket-with-video alsa-plugins alsa-plugins:pulseaudio alsa-plugins:jack`. I added all of the `alsa-plugins` to see if they made a difference, but they did not. 2. Start DrRacket, e.g. with: ``` PLTUSERHOME=/tmp/plthome drracket &> green.vid.shell-with-all-plugins.log ``` Setting PLTUSERHOME ensures the experiment is not affected by any preferences you may have configured or packages you may have installed in user scope. 3. As prompted by DrRacket, perform the on-first-run selection of a programming language: select the “Choose Language…” item in the “Language” menu and choose “The Racket Language” in the dialog. 4. Enter the following example program in the definitions window: ```racket #lang video (color "green") ``` 5. Press the “Run” button. The program will compile and run successfully, nearly instantaneously. You will see the language noted at the top of the REPL updated to reflect `#lang video`. 6. Press the “Preview Video” button. DrRacket will freeze. Eventually, DrRacket will crash. Every time I have tried this, it has brought my terminal (Konsole) down with it. I've been doing this in a KDE Wayland session on Debian Bookworm. It would be good to know if the problem also happens in other environments, especially Guix System. I have tried it with both `ffmpeg-4` and `ffmpeg-3.4` with similar results. I will send the full log as an attachment to a follow-up message. Much of it consists of errors like this: ``` ALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_rate_lavrate.so (/gnu/store/adlkhsffrpcpv8mnan13d8y9r3dp1724-profile/lib/alsa-lib/libasound_module_rate_lavrate.so: cannot open shared object file: No such file or directory) ``` The messages are slightly different if you run the build `drracket` without going through `guix shell`, e.g.: ``` ALSA lib conf.c:3725:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so (/gnu/store/l6bi14a5qrbjgb9lqh39wzrbsk50r8np-alsa-lib-1.2.4/lib/alsa-lib/libasound_module_conf_pulse.so: cannot open shared object file: No such file or directory) ``` There is in fact no `lib/alsa-lib` directory in the store item for `alsa-lib`. A file `lib/alsa-lib/libasound_module_conf_pulse.so` does exist in the `alsa-plugins:pulseaudio` output, and, interestingly, that one did not appear in the logs from my latest test: so maybe including it in the shell did make a difference? On the other hand, I haven't managed to locate a `libasound_module_rate_lavrate.so` anywhere in Guix. Hopefully someone will have some idea of what's going on. -Philip Philip McGrath (4): gnu: racket: Fix layered documentation rendering. gnu: Add racket-portaudio-librsoundcallbacks. gnu: Add racket-libvid. gnu: Add racket-with-video. gnu/packages/racket.scm | 254 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 253 insertions(+), 1 deletion(-) base-commit: fed6ac2ae182597a492b17a29ed8b26986498755
Comments
Hi, On Fri, Oct 20, 2023, at 9:58 PM, Philip McGrath wrote: > > I will send the full log as an attachment to a follow-up message. > The log of errors is attached. Note that "invalid memory reference. Some debugging context lost" is the message from the exception Chez Scheme raises under conditions that would otherwise be a segfault. Philip
tags 56534 + moreinfo quit Hi, "Philip McGrath" <philip@philipmcgrath.com> writes: > Hi, > > On Fri, Oct 20, 2023, at 9:58 PM, Philip McGrath wrote: >> >> I will send the full log as an attachment to a follow-up message. >> > > The log of errors is attached. Note that "invalid memory reference. > Some debugging context lost" is the message from the exception Chez > Scheme raises under conditions that would otherwise be a segfault. Does it mean the v2 attached doesn't yet work? Perhaps annotate the topic line with WIP if that's a work in progress not ready for merge. Would it be possible for you to revisit this issue and submit a v3? Perhaps more things have changed for the better since.