From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kIy5KdowM2U+TgAA9RJhRA:P1 (envelope-from ) for ; Sat, 21 Oct 2023 04:00:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kIy5KdowM2U+TgAA9RJhRA (envelope-from ) for ; Sat, 21 Oct 2023 04:00:58 +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 474AF764A7 for ; Sat, 21 Oct 2023 04:00:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm3 header.b=EegTL2A9; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=CIeZLeGs; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697853658; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GVnEOX5fxQqz8+r1fww0xEpK0oDb6F+CrXxZ3drCVDo=; b=BxmiMpARd61EpGlq0Osle0ZXeGpBbBDlwqfsbeisp8oxqZ2xxXrX+EHY2SxmgaAxGnSDPh T+Ux0obWCRNgj2I1e75V+T4ZynXJjDOP51q6DjOcNY/uFMIlyfobA8rgwg/9B+iFMrUOti 7jGn7kqZ3Eam/V7WFoopAeDsuT09oCfC8vtF2Zyl5HKunPs2t4bPBjbRDGXdajMvqAEobx 3bK1CY9jaKe6h5f6Qzl9tLfbLiFmL1Dtfk/g5y1EDWwDdg0Yje2YHHxWKdlAXbFiY8I3ZH k4ffecnFE/AO+cVmKSlHMXjsfyO8rU7J9AwVMHXhlcfDJkKvpnV46KNMJerBVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697853658; a=rsa-sha256; cv=none; b=jj2ZS2RoWWXCxoXBaYhMhnjon89PIzvEGpW5AATtqFSygaeqBoNtSVa1qc+9sKMnl9rO0M 2ldI3nZi4oLJ2+pVyIrcC5D1mtFZxphlld5L+uL1Q914uwXZiIVw9+5PvxHYBNXA7vLpgF Dc9ZRPRxojZ3qYPdTk8UF7cIWJQv//g2E6uZV6l+INTs3ZNt2r0SGtb7CeDM+u9yTatRrR o/PT0cG89Ohh5CA0RnuKziE5l1gH1rigSLJHiLMYSK1CJ1fOdZR9LQKM+i1hL7hEclR01W Ocz6+7cTVa0f/0/rzsMkEN+KyO0xRy8QoNJ8SWYSpGNwx9WpvOpW2a6MqomfpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm3 header.b=EegTL2A9; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=CIeZLeGs; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) 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 ) 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 ) 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 ) 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 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Oct 2023 02:01:02 +0000 Resent-Message-ID: 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?= , Philip McGrath , Rostislav Svoboda 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 ) 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 ) 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjeelgdehtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfgggtuefgsehtkeertdertdejnecuhfhrohhmpefrhhhi lhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtg homheqnecuggftrfgrthhtvghrnhepiedufffhteejtedvteejgeektdeuheejuefgkeet geefjeevheefhefgtdehfeffnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpghhnuh drohhrghdpvhhiugdrshhhvghllhdplhhisggrshhouhhnuggpmhhoughulhgvpghrrght vggplhgrvhhrrghtvgdrshhopdhlihgsrghsohhunhgupghmohguuhhlvggptghonhhfpg hpuhhlshgvrdhsohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 20 Oct 2023 22:00:03 -0400 (EDT) From: Philip McGrath Date: Fri, 20 Oct 2023 21:58:29 -0400 Message-ID: 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> <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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 0.26 X-Migadu-Queue-Id: 474AF764A7 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 0.26 X-TUID: /7i1hMli/7JE Hi Ludo’ and everyone, Here is a patch series adding 'racket-with-video'. (I'm BCC'ing on this cover letter, but not on the patches themselves: they will be at .) 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 . 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 -- 2.41.0