From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oFMXHQ5fJmeFzgAA62LTzQ:P1 (envelope-from ) for ; Sat, 02 Nov 2024 17:19:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oFMXHQ5fJmeFzgAA62LTzQ (envelope-from ) for ; Sat, 02 Nov 2024 18:19:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=subvertising.org header.s=stigmate header.b=l3ryE7Di; dmarc=pass (policy=reject) header.from=subvertising.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730567950; a=rsa-sha256; cv=none; b=Jggi+kDTs+/4oZhEu0WVLcz0F472yENZ0II6TOEX2DUz1ptWaM33Oxj7aij/TieRdGjqJj E/FoZsODE3KdQ7ThwMaLunwzpqQOldIQXOr1ADsCilvXnIHXgkgscGm67QlBQbtOjC6sOw PgKY+YkeuOxeyskCybmHoFBmsrPHAJfDeoZ/QCjMG1x2FCpevX3Gc5S2ADDBNl362fw+wF a4fKLtfTi4jVONOVjwI5nija6paTqF23Z1iowz/ZBf+XefIJQRhMwb2hsgTu6dwmADFDjA ZmZqB+LnsVUu6VZmS9xo7jF7PXxOqZVdrRtiUe9l/CRp9iNH/79jiMmbYJFLwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=subvertising.org header.s=stigmate header.b=l3ryE7Di; dmarc=pass (policy=reject) header.from=subvertising.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730567950; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UR3JHlTQmhIdzSMdlCtY/XuEsgXuKKYjy+bpIHzzgmg=; b=NH0PXKQOirq83Od2iVB9ZFNnDkZzKyP0nqqs6aGw6yKBowUevCf5O/VSZgZlcmpAWtpJya 2jPzhXGWLlySgI3KHmrDlvy/8SNAulqgxz70a/Ws6edQeVE1XehFKYpAP7BAdNwdI4Kz+F YgKxyR0MoFbt2PHwy0TQryx+EzIzuOQwdrwPtFmHfZpYnh+uKl7eh/M3bqp4kGthAZRpmY IYFEusaR1jh4rKsDKIH7MU91zO1qD7au3ObSZmM7HkwhIsf3DGdfWumFAPIHUdLBnR+Fys bup1d5NCLV2tX+COqHhytNvz/K5sOv2MfzqU9V5VwckByMtPGC0yCL4QevgILw== 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 2712989DC2 for ; Sat, 02 Nov 2024 18:19:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7Hln-0002gq-Ps; Sat, 02 Nov 2024 13:18:39 -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 1t7Hll-0002gT-UX for guix-devel@gnu.org; Sat, 02 Nov 2024 13:18:37 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7Hlj-0007xn-2w for guix-devel@gnu.org; Sat, 02 Nov 2024 13:18:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1730567903; bh=UR3JHlTQmhIdzSMdlCtY/XuEsgXuKKYjy+bpIHzzgmg=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=l3ryE7DiNjiyuZCXtSFlUgtjhlAXSwUkMEOJh0shzzh3jPyerFU04WvUvP1ai9xAk 8NBw9q8Q05uHDNJYMPG1PlZF2N1XVNBB02yBVBMaARddJO+WdVqjWGO+jKngUwCENV ou32puAYlffeZk2N6Ny7KhvzXH8ruZBwmNeOHxu8= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4Xgkvz2D88zGp2v; Sat, 2 Nov 2024 17:18:23 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4Xgkvw1MGnzGnwT; Sat, 2 Nov 2024 17:18:19 +0000 (UTC) Date: Sat, 02 Nov 2024 17:18:14 +0000 From: Divya To: Kaelyn CC: guix-devel@gnu.org Subject: Re: Using Pipewire for PulseAudio and JACK in Guix User-Agent: K-9 Mail for Android In-Reply-To: References: <8734kgcq7j.fsf@subvertising.org> <87r080bar5.fsf@subvertising.org> <87v7x7l8an.fsf@elephly.net> <87jzdlrc3r.fsf@subvertising.org> Message-ID: <45DA1653-EDFD-4D67-BF67-52802C09474C@subvertising.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----6X6DNMRB7ZO5NYKZFH4VQ15CK0494Z Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=divya@subvertising.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.31 X-Spam-Score: -0.31 X-Migadu-Queue-Id: 2712989DC2 X-Migadu-Scanner: mx12.migadu.com X-TUID: NtqDKAsFWELh ------6X6DNMRB7ZO5NYKZFH4VQ15CK0494Z Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2 November 2024 16:08:32 GMT, Kaelyn w= rote: > > > > > >On Saturday, November 2nd, 2024 at 6:36 AM, Divya Ranjan via "Development= of GNU Guix and the GNU System distribution=2E" wro= te: > >>=20 >>=20 >> Hello Ricardo, >>=20 >> Ricardo Wurmus rekado@elephly=2Enet writes: >>=20 >> > Hi, >> >=20 >> > > Also, I saw that jack_mixer0 is missing from the main guix package >> > > repository, I=E2=80=99d like to have that added=2E Since its the mo= st minimal >> > > and straightforward JACK mixer I=E2=80=99ve been using over the las= t 4-5 >> > > years=2E Since its a Python + C application mostly, so one shouldn= =E2=80=99t >> > > have any major issues packaging it? Any advice would be great=2E >> >=20 >> > have you attempted to package it yet? I can help with review and >> > testing=2E >>=20 >>=20 >> Indeed, I have=2E A package definition can be found at my repository0, = currently most things seem to be working, but I get this error while doing = `guix package --install-from-file=3Daudio=2Escm`: >>=20 >> #+begin_src shell >> $ guix package --install-from-file=3D/home/divya/=2Econfig/guix/package= s/audio=2Escm >> The following package will be installed: >> jack-mixer 19 >>=20 >> substitute: updating substitutes from 'https://bordeaux=2Eguix=2Egnu=2E= org'=2E=2E=2E 100=2E0% >> substitute: updating substitutes from 'https://ci=2Eguix=2Egnu=2Eorg'= =2E=2E=2E 100=2E0% >> The following derivation will be built: >> /gnu/store/1cnsydazihgzs0wv6l6mh4cmm894q2l1-jack-mixer-19=2Edrv >>=20 >> 65=2E4 MB will be downloaded >> python-pygobject-3=2E47=2E0 239KiB 311KiB/s 00:01 =E2=96=95=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=8F 100=2E0% >> gcc-11=2E4=2E0 28=2E2MiB 4=2E2MiB/s 00:07 =E2=96=95=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =8F 100=2E0% >> gcc-toolchain-11=2E4=2E0 6KiB 68KiB/s 00:00 =E2=96=95=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =8F 100=2E0% >> building /gnu/store/1cnsydazihgzs0wv6l6mh4cmm894q2l1-jack-mixer-19=2Edr= v=2E=2E=2E >> 0% 'install' =E2=96=95 =E2=96=8Fbuilder for `/gnu/store/1cnsydazihgzs0w= v6l6mh4cmm894q2l1-jack-mixer-19=2Edrv' failed with exit code 1 build of /gn= u/store/1cnsydazihgzs0wv6l6mh4cmm894q2l1-jack-mixer-19=2Edrv failed View bu= ild log at '/var/log/guix/drvs/1c/nsydazihgzs0wv6l6mh4cmm894q2l1-jack-mixer= -19=2Edrv=2Egz'=2E guix package: error: build of` /gnu/store/1cnsydazihgzs0= wv6l6mh4cmm894q2l1-jack-mixer-19=2Edrv' failed >> #+end_src >>=20 >> I=E2=80=99ve attached the build logs, let me know if you have an idee a= bout what=E2=80=99s failing and maybe test the package definition yourself= =2E > >Hi, > >I just glanced at the build log you attached=2E The first thing I saw was= meson erroring from an unhandled Python error, and scrolling up quickly re= vealed the error=2E It looks like your install phase is failing because it = is trying to write outside of the store: > > PermissionError: [Errno 13] Permission denied: '/etc/xdg' > >It looks like that project's meson=2Ebuild hard-codes a reference to a pa= th under /etc/xdg at https://github=2Ecom/jack-mixer/jack_mixer/blob/main/m= eson=2Ebuild#L49 > >Cheers, >Kaelyn > >>=20 >>=20 >> Also, do I need to take the discussion of this package in a separate th= read? >>=20 >> 0: https://codeberg=2Eorg/divyaranjan/dotfiles/src/branch/master/=2Econ= fig/guix/packages/audio=2Escm >>=20 >> Regards, >>=20 >> -- >> Divya Ranjan, >> Philosophy, Mathematics, Libre Software=2E Hello Kaelyn, Thanks for pointing it out, indeed its trying to write into /etc/xdg=2E How does one handle such a case when packaging in Guix? Regards, Divya Ranjan ------6X6DNMRB7ZO5NYKZFH4VQ15CK0494Z Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 2 = November 2024 16:08:32 GMT, Kaelyn <kaelyn=2Ealexi@protonmail=2Ecom> = wrote:





On Saturday, N= ovember 2nd, 2024 at 6:36 AM, Divya Ranjan via "Development of GNU Guix and= the GNU System distribution=2E" <guix-devel@gnu=2Eorg> wrote:
<= br>
Hello Ricardo,

Ricardo Wurmus rekado@elephly=2Enet writes:
Hi,

Also, I saw that jack_mixer0 is missing from the main guix pack= age
repository, I=E2=80=99d like to have that added=2E Since its the mos= t minimal
and straightforward JACK mixer I=E2=80=99ve been using over th= e last 4-5
years=2E Since its a Python + C application mostly, so one sh= ouldn=E2=80=99t
have any major issues packaging it? Any advice would be = great=2E

have you attempted to = package it yet? I can help with review and
testing=2E


Indeed, I have=2E A package definition can be= found at my repository0, currently most things seem to be working, but I g= et this error while doing `guix package --install-from-file=3Daudio=2Escm`:=

#+begin_src shell
$ guix package --install-from-file=3D/home/div= ya/=2Econfig/guix/packages/audio=2Escm
The following package will be ins= talled:
jack-mixer 19

substitute: updating substitutes from 'http= s://bordeaux=2Eguix=2Egnu=2Eorg'=2E=2E=2E 100=2E0%
substitute: updating = substitutes from 'https://ci=2Eguix=2Egnu=2Eorg'=2E=2E=2E 100=2E0%
The f= ollowing derivation will be built:
/gnu/store/1cnsydazihgzs0wv6l6mh4cmm8= 94q2l1-jack-mixer-19=2Edrv

65=2E4 MB will be downloaded
python-py= gobject-3=2E47=2E0 239KiB 311KiB/s 00:01 =E2=96=95=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 10= 0=2E0%
gcc-11=2E4=2E0 28=2E2MiB 4=2E2MiB/s 00:07 =E2=96=95=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=8F 100=2E0%
gcc-toolchain-11=2E4=2E0 6KiB 68KiB/s 00:00 =E2=96=95= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=8F 100=2E0%
building /gnu/store/1cnsydazihgzs0wv6l6mh= 4cmm894q2l1-jack-mixer-19=2Edrv=2E=2E=2E
0% 'install' =E2=96=95 =E2=96= =8Fbuilder for `/gnu/store/1cnsydazihgzs0wv6l6mh4cmm894q2l1-jack-mixer-19= =2Edrv' failed with exit code 1 build of /gnu/store/1cnsydazihgzs0wv6l6mh4c= mm894q2l1-jack-mixer-19=2Edrv failed View build log at '/var/log/guix/drvs/= 1c/nsydazihgzs0wv6l6mh4cmm894q2l1-jack-mixer-19=2Edrv=2Egz'=2E guix package= : error: build of` /gnu/store/1cnsydazihgzs0wv6l6mh4cmm894q2l1-jack-mixer-1= 9=2Edrv' failed
#+end_src

I=E2=80=99ve attached the build logs, l= et me know if you have an idee about what=E2=80=99s failing and maybe test = the package definition yourself=2E
=
Hi,

I just glanced at the build log you attached=2E The first th= ing I saw was meson erroring from an unhandled Python error, and scrolling = up quickly revealed the error=2E It looks like your install phase is failin= g because it is trying to write outside of the store:

Permission= Error: [Errno 13] Permission denied: '/etc/xdg'

It looks like that p= roject's meson=2Ebuild hard-codes a reference to a path under /etc/xdg at <= a href=3D"https://github=2Ecom/jack-mixer/jack_mixer/blob/main/meson=2Ebuil= d#L49">https://github=2Ecom/jack-mixer/jack_mixer/blob/main/meson=2Ebuild#L= 49

Cheers,
Kaelyn



Also, do I need to take the di= scussion of this package in a separate thread?

0: https://codeberg=2Eorg/divyaranjan/dotfiles/src/branch/mas= ter/=2Econfig/guix/packages/audio=2Escm

Regards,

--
Di= vya Ranjan,
Philosophy, Mathematics, Libre Software=2E

Hello Kae= lyn,

Thanks for pointing it out, indeed its trying to write into /et= c/xdg=2E

How does one handle such a case when packaging in Guix?
=
Regards,

Divya Ranjan
------6X6DNMRB7ZO5NYKZFH4VQ15CK0494Z--