From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WLMhGQp+ml+CDgAA0tVLHw (envelope-from ) for ; Thu, 29 Oct 2020 08:32:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OAThFAp+ml+IBgAAB5/wlQ (envelope-from ) for ; Thu, 29 Oct 2020 08:32:10 +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 aspmx1.migadu.com (Postfix) with ESMTPS id E0A7F9402A0 for ; Thu, 29 Oct 2020 08:32:09 +0000 (UTC) Received: from localhost ([::1]:54596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kY3Ls-0000eC-SC for larch@yhetil.org; Thu, 29 Oct 2020 04:32:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kY3Lm-0000e1-Ff for guix-patches@gnu.org; Thu, 29 Oct 2020 04:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kY3Lm-0008TR-5y for guix-patches@gnu.org; Thu, 29 Oct 2020 04:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kY3Lm-0004u5-3r for guix-patches@gnu.org; Thu, 29 Oct 2020 04:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44276] [PATCH] gnu: Add python-simpleaudio. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Oct 2020 08:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44276 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 44276@debbugs.gnu.org Received: via spool by 44276-submit@debbugs.gnu.org id=B44276.160396026618783 (code B ref 44276); Thu, 29 Oct 2020 08:32:02 +0000 Received: (at 44276) by debbugs.gnu.org; 29 Oct 2020 08:31:06 +0000 Received: from localhost ([127.0.0.1]:51689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY3Ks-0004st-MF for submit@debbugs.gnu.org; Thu, 29 Oct 2020 04:31:06 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:34625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY3Kq-0004sB-I9 for 44276@debbugs.gnu.org; Thu, 29 Oct 2020 04:31:05 -0400 X-Originating-IP: 176.159.32.89 Received: from localhost (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 9F1D61BF208; Thu, 29 Oct 2020 08:30:52 +0000 (UTC) Date: Thu, 29 Oct 2020 09:30:51 +0100 From: Tanguy Le Carrour Message-ID: <20201029083051.o7o6agdoqraoq2ya@rafflesia> References: <20201028090810.21543-1-tanguy@bioneland.org> <20201028164357.GA13269@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201028164357.GA13269@jasmine.lan> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: 2PEQI4N6sTYf Hi Leo, Le 10/28, Leo Famulari a écrit : > On Wed, Oct 28, 2020 at 10:08:10AM +0100, Tanguy Le Carrour wrote: > > * gnu/packages/python-xyz.scm (python-simpleaudio): New variable. > > > + (native-inputs > > + `(("alsa-lib" ,alsa-lib))) > > After taking a closer look at the inputs in the pydub package, I noticed > that alsa-lib is a native-input; native-inputs are typically used only > while building the package. > > The built package keeps a reference to alsa-lib: > > ------ > $ guix gc --references $(./pre-inst-env guix build --no-grafts python-simpleaudio) | grep alsa-lib > /gnu/store/zcjdb23gbhl0pcnvvm8rnlprkfl43cv5-alsa-lib-1.2.2 > $ grep -r alsa-lib $(./pre-inst-env guix build --no-grafts python-simpleaudio) > Binary file /gnu/store/kaiww0wf6a7kqzrn9la681lmwmp2k26w-python-simpleaudio-1.0.4/lib/python3.8/site-packages/simpleaudio/_simpleaudio.cpython-38-x86_64-linux-gnu.so matches > ------ > > Either the reference is used and should not be the "native alsa-lib" (in > terms of cross-compiling), or it's not used and we can remove the > reference after building. I think the first option is more likely. > Should I change it from a 'native-input' to an 'input'? Way out of my comfort zone! ^_^' Even if I think I get your point! `alsa-lib` is indeed used at run time. So… do as you think is best! :-) Thank again for your time and advice. -- Tanguy