From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id fkokDeOPRmB6LQAA0tVLHw (envelope-from ) for ; Mon, 08 Mar 2021 20:58:11 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qF93COOPRmC2GgAAB5/wlQ (envelope-from ) for ; Mon, 08 Mar 2021 20:58:11 +0000 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 aspmx2.migadu.com (Postfix) with ESMTPS id 587EC167D8 for ; Mon, 8 Mar 2021 21:58:10 +0100 (CET) Received: from localhost ([::1]:48028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJMx7-0005vH-Hs for larch@yhetil.org; Mon, 08 Mar 2021 15:58:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJMwz-0005up-Tp for bug-guix@gnu.org; Mon, 08 Mar 2021 15:58:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJMwz-00041z-MI for bug-guix@gnu.org; Mon, 08 Mar 2021 15:58:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJMwz-0002pH-Lm for bug-guix@gnu.org; Mon, 08 Mar 2021 15:58:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46998: wish: package xvfb-run Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 08 Mar 2021 20:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46998 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Dr. Arne Babenhauserheide" , 46998@debbugs.gnu.org Received: via spool by 46998-submit@debbugs.gnu.org id=B46998.161523706510836 (code B ref 46998); Mon, 08 Mar 2021 20:58:01 +0000 Received: (at 46998) by debbugs.gnu.org; 8 Mar 2021 20:57:45 +0000 Received: from localhost ([127.0.0.1]:45019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJMwj-0002oi-9c for submit@debbugs.gnu.org; Mon, 08 Mar 2021 15:57:45 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:55128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJMwg-0002oY-NH for 46998@debbugs.gnu.org; Mon, 08 Mar 2021 15:57:44 -0500 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id dwxg2400z0mfAB401wxhkk; Mon, 08 Mar 2021 21:57:41 +0100 Message-ID: <2d0c2c60f9b60034d35bac18e581bfc1f79aa5cd.camel@telenet.be> From: Maxime Devos Date: Mon, 08 Mar 2021 21:57:35 +0100 In-Reply-To: <87h7lmfon6.fsf@web.de> References: <87h7lmfon6.fsf@web.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-Wq4fp7nDTpRrruxAx2Ez" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1615237061; bh=jdd+286+7A0wANhtLbB9tKRkhmfbXHRrcanTfXGkjiA=; h=Subject:From:To:Date:In-Reply-To:References; b=lx28e4gOhChOxgfchere6963DDeDZ4ZdmDpVst6y2zrZDcw5Trbn5ETUrrP09NmcN Y0U7jrQjtW/7loRB+VTwm+s7dl6QCBajVYID+sUPszromCSqKUtJuHazTGH16zjwjw P3qmKaBNRCEuAAU+9qALblLJ19ptWB6hMWT7U5uZfsmDZATlSyuWWfgbQWlMiXwL0P GIVFGNsATVfyho1ij/K5eBQhFa86pGp5dq7/t3S8E3Dk55QZ0xL6pWHmWhn9Qk/gdm Z5qcCQWuiAVtoVds+jeh3cnoDQW3ElY+nnQ9eNs5ZVskRGVUFhbos3Gkp8x+TlEE/v nq4kGkYptY+kQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615237090; 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: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=jdd+286+7A0wANhtLbB9tKRkhmfbXHRrcanTfXGkjiA=; b=uHlJHb8DJH94zuSXr51fXZpuzmRDewJV9U5Dw39LeC6f46HH0scvP2JFFnNWJE+o18HuXy eJCSuiw18T3D2Fz0PcZwdGrg33bYYydZPUcx9kp8giAp/STFkrcbqhYWsBn0BbBis4MO1f rnprqN3JJ5ELrclPgWN8L9lGb56Kgm0EKruc5GTuAsuj6kBKzrB8Tq49weTxUY7WvoCfMh SbsdBH3F5Ug7XwzHZdPSNCh6ZVP4pz3l7sbtAySTUNKLce68qC1fGoMddfx9nrc8TmUvTU 17rlO/UetJ2vYzwyWhTtOKXsQeh7bFQL9oTNdLG8yNQRCRyjwWS+mTrmIGjpcw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615237090; a=rsa-sha256; cv=none; b=mFN3APTwmQHnyB1bkeYxYP3KNyFYsAxzpN2k61eTPBfTe/vq/Wtz4yM9mORP+jURcvQptZ bUnYmD3D78JpclTaseeYW9w8af2F8ggGwlPpif1aEUXwptiunAOl96/Iolux/sEDfZEdgJ TTAFJUsr9Ffqx5GSXKGcIIBxpKaV7FO6LmypcGNjN3K0JMn4zWW2gSIDw4vMeckyWebCAM CK0+kBb4yd+ntR8MZQt/RA8YJ69zlW5pLKYLnW1F25FJZnojrQKvQRYp7EXeHvow+zTKB1 wyOxtaenLSdSV+OGl/9gIryhIeaYiCnibLGKzQ+M4Ub/TdO+800qC5dSCva7dw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=lx28e4gO; spf=pass (aspmx2.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.38 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=lx28e4gO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx2.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 587EC167D8 X-Spam-Score: -3.38 X-Migadu-Scanner: scn1.migadu.com X-TUID: Js0YJtgr+mrq --=-Wq4fp7nDTpRrruxAx2Ez Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2021-03-08 at 01:57 +0100, Dr. Arne Babenhauserheide wrote: > User-agent: mu4e 1.4.15; emacs 27.1 > (emacs:30177): dbind-WARNING **: 01:46:31.849: Could not open X display >=20 > http://deb.debian.org/debian/pool/main/x/xorg-server/xorg-server_1.20.10-= 3.diff.gz >=20 > +Usage: $PROGNAME [OPTION ...] COMMAND > +Options: > +DISPLAY=3D:$SERVERNUM XAUTHORITY=3D$AUTHFILE "$@" > Dear Guix hackers, >=20 > One of my main tools for running graphical programs as part of my build > pipelines is xvfb-run. Since it is not packaged in Guix, I=E2=80=99ve res= orted > to manual workarounds, but these have annoying drawbacks: >=20 > Xvfb :3 -screen 0 1024x768x16 & time DISPLAY=3D:3 HOME=3D/path/to/project= /.emacs.d emacs =E2=80=A6 build pipelines =3D (a) something for in guix package definitions, to be run in the build container, or (b) as part of the Makefile or similar for software, that you are compiling *outside* guix' build containter? I'm assuming the latter as I read you're starting the editor "emacs". > I now get errors about the maximum number of clients reached, because > the Xvfb does not get reaped after the build: If (a) is the case, and "after the build" here means "after guix build PACKAGE" completes, then this seems a bug in how the guix daemon sets up it build containers. > Maximum number of clients reached > Therefore I would ask whether it would be possible to package xvfb-run. > It is provided as part of the patches of the xorg-package in Debian: I'm no guix maintainer, but I don't see why not. Myself I would prefer this as a separate package "xvfb-run" that only has Debian's "xvfb-run" script and its man page though. In any case, the references to "stty", "awk", "cat", "xauth", "mktemp", "xvfb", "touch", "rm", "fmt" would need to be replaced with the full store path (using substitute* I presume). The alternative would be defining a wrapper script adjusting the $PATH, which doesn't seem ideal for xvfb-run. Are you planning to write a patch to guix yourself with (i) the adjusted xorg-server, or (ii) a new xvfb-run package? Greetings, Maxime > Best wishes, > Arne --=-Wq4fp7nDTpRrruxAx2Ez Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYEaPvxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kCaAQCfxBnd4lMf/P/75TFutdhAJfcf B3z/mnlaKnHoVmWRqgEA6caQMfJP6Tf+rIKrMx+xHKnPIRRcbJ34MsqkcP1bcAQ= =t7U1 -----END PGP SIGNATURE----- --=-Wq4fp7nDTpRrruxAx2Ez--