From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KLZOI5RIjmOCVAAAbAwnHQ (envelope-from ) for ; Mon, 05 Dec 2022 20:37:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SC5II5RIjmOSegEAauVa8A (envelope-from ) for ; Mon, 05 Dec 2022 20:37:56 +0100 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 4817DA9B8 for ; Mon, 5 Dec 2022 20:37:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2HH9-0002r0-7Y; Mon, 05 Dec 2022 14:37:15 -0500 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 1p2HH6-0002qb-5W for help-guix@gnu.org; Mon, 05 Dec 2022 14:37:13 -0500 Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2HH0-0001t3-PY for help-guix@gnu.org; Mon, 05 Dec 2022 14:37:11 -0500 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 6A83F202490; Mon, 5 Dec 2022 19:37:02 +0000 (UTC) Received: from pdx1-sub0-mail-a221.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 017FA2022C8; Mon, 5 Dec 2022 19:37:01 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1670269022; a=rsa-sha256; cv=none; b=SQQv8f9v+Gr0h+rbZfbv8MIM69WaUI47NiplUazsWv/DlB9AjcJr9BH9EDSrf8H+1qlRNC wuaQ2nIiQZoAf4+UOOrvLoIStASfxCEyKSTH3mZus2N8+IPkWoBLJNyeWX8iGkoedRDDay BzLT4z22IqPe+yCM5O142rZcTFoDKh9fMXAKr8CrO8l5WYU7fSfYN8ASjUOmH2zlZ0ao+M dQX3PBvAMpw39I8+j7guHZhN9XW21d5E+SWtNSvJLPHxiE5pKxt3Es6cWmNEE5zehRLmQp GiLKr64wbG2tYvl9ZHxONDRMgu6H0GuV8ZgBHVPKJOoM7tElcd0viuKcp31DYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1670269022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=evyIK+mtHEF3ZfSWeMUdrt/5otiYwUZXpYt3ti0I0bk=; b=WoXTC5Bf9kLLVS/H4XIn4J5koKBjShiPEYXWd09OtCYUqdNsGBfwHI3YSqgrMrCKw/c214 SMXTkEoERy/a+23Ri0OhMlrz1m8MSCMZ31W29OhsgfqI1XxMg2WOFoyMbmXnGpRpxw3pw6 A5Tkr2fWpPwNsheAWJeGz+LPtuS61rYb0G3cDyZ1UWvEwNNQuyH7E9z5ccd9BwE+/IklqG toTTBzTfGjG1IN/5c4CG7SOrgoYn1cBhBUjxfJ6fF7S71bQuhGtkXMt3B3ZQsMglKdcXwa IZf2/x3jQPqtXEJ9HmwM3iDDJyZHQO84gG2DcdYwHTmSTOKY+mjiVfZJUQ8juA== ARC-Authentication-Results: i=1; rspamd-84789cff4b-lr5nh; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Illegal-Belong: 424cd1ee39f74c7e_1670269022254_2797729601 X-MC-Loop-Signature: 1670269022254:2003351991 X-MC-Ingress-Time: 1670269022254 Received: from pdx1-sub0-mail-a221.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.48.119 (trex/6.7.1); Mon, 05 Dec 2022 19:37:02 +0000 Received: from minotaur (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a221.dreamhost.com (Postfix) with ESMTPSA id 4NQv252dSSz2h; Mon, 5 Dec 2022 11:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1670269021; bh=evyIK+mtHEF3ZfSWeMUdrt/5otiYwUZXpYt3ti0I0bk=; h=From:To:Cc:Subject:Date:Content-Type; b=su4P1Wa0HhzDxZhB6ELvbY2SeXHDWys0LZFwtwXn8dhOD7ELi3f9BrMgOInfRiZFj CPlM9F59adMIKzN09lV/uOSeEWOa3yVGPNUunmbwlrEp7b2aXAlutvxY7YDsYM6rEl RWTnYIQ9vcFxPVVoMwNQ/wz05aHOCLVe/QlTx1dLrkrySaYuPvIJO9BgLe72ciEJTP qJRd3s+cgs5fSi+OuECL4pq5wM4302HiBHG3i/xHcAiu1mmUCf4EWdJaAnEhSG2eFf Cq2fX7iQeKrLHjHao+xH87BPttrP/igQFYRUtwAJayC1DoSYx2OS5lvvNbuyDvN2+H kKEPyifQyf0+Q== References: <87eduo2afd.fsf@polidoro.io> <87leouaesd.fsf@polidoro.io> User-agent: mu4e 1.8.11; emacs 28.2 From: Peter Polidoro To: Luis Felipe Cc: help-guix@gnu.org Subject: Re: Errors running kicad GUI package in container Date: Mon, 05 Dec 2022 14:22:30 -0500 In-reply-to: Message-ID: <878rjlfxri.fsf@polidoro.io> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=23.83.209.62; envelope-from=peter@polidoro.io; helo=fossa.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670269076; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=evyIK+mtHEF3ZfSWeMUdrt/5otiYwUZXpYt3ti0I0bk=; b=WPZ0tr15yApDWoSpIVY1ePk1ZTZLMqwBWzZyU9YhdJlpuylkf5p2VplZxA3+LzI34x3PFy wqqKEynZMTChKOJ63lOIjwuI6Sgkq2Bak6McDXYQZTAgcpQavq4Xet4uHSa6fpmdGn7AaY UO9hhIzmDlC+n0GkPFmSONeaOuaMnE78Z0edtJgg5V5hYfaG3OtSLtlDN3a9JGjwVZAwfj deLUmfeG5CI251/EPTpxc40UIt3rwEEAt3lmMKm+lNG/R1TjvzdqQ0gsr+1+JowvbKouFG 00qXE5yXJ+qswHjD6NfFPC/S9FhhfW868zXD3DHmOolzlI7YXIinQV9IIqc6Dw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1670269076; a=rsa-sha256; cv=pass; b=a84gPZ/tQrQHSP6rxka/tC8SOv9CZVjZdfEsAnBrw7mmjh/QlKjb/WGKzNuU6fHKncsujp mzzZabpbAaeIIT/KiOGPWwYYXEAh8Lv1IS3ClyVGwdOZrATY7TgLFGeSsCZ+HCmeALuCe1 r869d69wc4oWVZ7WwtfaNm576uNZvqKe/s8SaNd9q+FgqwyOAn0gI2k6wJcAHpLRVh9Qu4 j6wVihtSL+1X+A44A60RUgi/HRcbOo/PlpC8YkpG46SxXJjwhBjgIpJE+nRVY/8fibOVMG h1D7gPkb9r7BoEHcTllMesoSc379y5FaSF9l1HMMnY5ve9g/ZWNRnz1lXNa5AA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=su4P1Wa0; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=su4P1Wa0; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4817DA9B8 X-Spam-Score: -5.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7u8a+LgKRvPI Luis Felipe writes: >> > For what it's worth, kicad seems to work for me in a >> > container. >> > I'm using Guix System with GNOME (guix 4716cea): >> > > >> > __________ >> > guix shell kicad -E "^DISPLAY$" -E "^XAUTHORITY$" >> > --expose="$XAUTHORITY" >> > --expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority >> > --expose=/etc/machine-id >> > --expose=$HOME/Descargas --expose=/tmp/dbus-fnAz1hb4to When I submitted a patch to upgrade kicad to 6.0.9 I went ahead and added gdk-pixbuf as an input. Now it seems to work well, except in at least one strange case. I noticed that kicad crashes when I run it in a pure shell with both kicad and python-ipython: guix shell --pure kicad python-ipython -- kicad # crashes when you click on GUI open project icon guix shell kicad python-ipython -- kicad # does not crash guix shell --pure kicad -- kicad # does not crash I do not know if this is a bug in kicad or in the guix package or something else. I assume this means that one or more environment variables need to be set in the pure shell, but I do not know which. guix shell --pure --check kicad python-ipython -- kicad guix shell: checking the environment variables visible from shell '/bin/bash'... guix shell: All is good! The shell gets correct environment variables. guix describe --format=channels (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "48329575c87bbee7166eedf10b1699599e67c49d") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))