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 wf84Nt1Rb19gMwAA0tVLHw (envelope-from ) for ; Sat, 26 Sep 2020 14:36:13 +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 aMy3Md1Rb19WegAAB5/wlQ (envelope-from ) for ; Sat, 26 Sep 2020 14:36:13 +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 031AE940274 for ; Sat, 26 Sep 2020 14:36:12 +0000 (UTC) Received: from localhost ([::1]:37950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMBJ3-0002to-Bb for larch@yhetil.org; Sat, 26 Sep 2020 10:36:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMBIw-0002sU-J9 for guix-patches@gnu.org; Sat, 26 Sep 2020 10:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMBIw-00013m-AK for guix-patches@gnu.org; Sat, 26 Sep 2020 10:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMBIw-0001c5-4n for guix-patches@gnu.org; Sat, 26 Sep 2020 10:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43628] Further Info Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Sep 2020 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43628 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Prafulla Giri Cc: 43628@debbugs.gnu.org Received: via spool by 43628-submit@debbugs.gnu.org id=B43628.16011309406166 (code B ref 43628); Sat, 26 Sep 2020 14:36:02 +0000 Received: (at 43628) by debbugs.gnu.org; 26 Sep 2020 14:35:40 +0000 Received: from localhost ([127.0.0.1]:47514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMBIa-0001bO-B5 for submit@debbugs.gnu.org; Sat, 26 Sep 2020 10:35:40 -0400 Received: from lepiller.eu ([89.234.186.109]:49294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMBIW-0001bD-FC for 43628@debbugs.gnu.org; Sat, 26 Sep 2020 10:35:38 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 19322f07; Sat, 26 Sep 2020 14:35:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:cc:from:message-id; s= dkim; bh=xQ6I8JbDnoIbYaHDc8XDYxSqKK8feZEKMUkPl/8rIsw=; b=hS00M+a xk6LrZIaG9IullzFHU+kh/PtrQpNm/BWoJUjle3/AUiXo2/8rXNl4xqtO4L6qrOX a/fR2u+V8RtH3RsNNTYys7EeTxfwQl7nTX1C7ElFncrStHLuqCE0cdeULPwl3IJL eewJwxXKLnoHPSVucAau8WAyChWQx+XydIaOQcMsefH1zPPakFfPHouU8PdTmBTr /65XWD7+LE7R38vsNWECnumUKYdmXWxOY4tuTttOUHPKcfA6471ct0bhaRwSCmX3 OBDUp70DmlyFO6W6pkQxcSscoC7jVcdnebFyUvGvkakUuEGVsTNZD3l3FuYwi+nn Y9kfoECVH89oiww== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 58c31093 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 26 Sep 2020 14:35:33 +0000 (UTC) Date: Sat, 26 Sep 2020 10:35:26 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: <561466E3-006A-4460-9DEA-61A8DC16E7A8@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----488Z6ERY4ZQYOS1IB5J3A9ZDA0SJGC" Content-Transfer-Encoding: 7bit From: Julien Lepiller Message-ID: <5B02C136-670D-4930-A461-731DA3D5221F@lepiller.eu> 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=fail (rsa verify failed) header.d=lepiller.eu header.s=dkim header.b=hS00M+a ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=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: 1.59 X-TUID: w7/BtPyfE6kB ------488Z6ERY4ZQYOS1IB5J3A9ZDA0SJGC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hehe, thanks for your interest in guix-android=2E It's not really done yet,= but I'm very motivated :)=2E It always feels weird when someone on the int= ernet calls you Mr ^^=2E No need to be so stiff, you can call me "Julien" (= and I suppose it's the norm to call people by their first name in this kind= of internet community)=2E Maybe try to run aegisub with strace -f, you might find out something=2E Y= ou may have to take a look at alsa's sources to find out how it looks for i= ts plugins exactly (maybe try to grep for PLUGIN or PLUGINDIR)? Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri a =C3=A9crit : >Okay, I think I'm stuck now=2E lol > > > >On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri > >wrote: > >> Hello Mr=2E Lepiller, >> >> Thank you for the tip=2E For the moment, I want to poke around this >issue=2E >> Perhaps I get absolutely tired of it (or find a good hack - and an >ugly >> patch)=2E I did manage to learn a bit more about union-builds in >general=2E So, >> that's a silver lining=2E >> >> Also, your work on guix-android seems so very cool! Please keep up >the >> great work! >> >> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller >> wrote: >> >>> >>> >>> Hi Prafulla, >>> >>> Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri < >>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit : >>> >Another information: >>> > >>> >I have other programs on my foreign system (installed via guix) >that >>> >produce sound well, without any issues=2E They include: >>> >espeak and kdenlive=2E >>> > >>> >Also, I did try making the union-build use copies instead of >symlinks >>> >using >>> >(union-build =2E=2E=2E #:symlink copy-recursively) but that didn't wo= rk >out >>> >either=2E >>> > >>> >Now, I'm going to take a look at fixing the pkg-config rules, and >will >>> >be >>> >updating this thread should that resolve this issue=2E >>> > >>> >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri >>> > >>> >wrote: >>> > >>> >> I forgot to mention, but the union-build works=2E If one `guix >build`s >>> >the >>> >> union package, and cd into the /gnu/store/=2E=2E=2E-union-build, on= e >will >>> >see >>> >> that things are there as it should be (lib/normal-alsa-*=2Eso and >>> >> lib/alsa-lib/*pulse*=2Eso)=2E >>> >> >>> >> It's just that aegisub seems to be looking from the >>> >> /gnu/store/normal-alsa-lib-dir instead of >>> >/gnu/store/union-alsa-package=2E >>> >> >>> >>> I think the issue with the union-build is that it is completely >ignored: >>> alsa doesn't look in it's current directory for plugins, but in the >>> directory where it's been configured (at build time) to look for=2E >>> >>> On the Guix System, there is a service that creates a >/etc/asound=2Econf, >>> which references alsa-plugins:pulseaudio=2E Maybe you actually want to >>> configure that? Maybe try to copy this to a new file =2Easoundrc: >>> >>> pcm_type=2Epule { >>> lib >"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pulse=2Eso" >>> } >>> >>> ctl_type=2Epulse { >>> =20 >lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse=2Es= o" >>> } >>> >>> pcm=2E!default { >>> type pulse >>> } >>> >>> ctl=2E!default { >>> type pulse >>> } >>> >> ------488Z6ERY4ZQYOS1IB5J3A9ZDA0SJGC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hehe, thanks for your interest in guix-android=2E = It's not really done yet, but I'm very motivated :)=2E It always feels weir= d when someone on the internet calls you Mr ^^=2E No need to be so stiff, y= ou can call me "Julien" (and I suppose it's the norm to call people by thei= r first name in this kind of internet community)=2E

Maybe try to run= aegisub with strace -f, you might find out something=2E You may have to ta= ke a look at alsa's sources to find out how it looks for its plugins exactl= y (maybe try to grep for PLUGIN or PLUGINDIR)?

Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri <pratheblac= kdiamond@gmail=2Ecom> a =C3=A9crit :
Okay, I think I'm stuck now=2E lol



On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <pratheblackdiamond@gmail=2Ecom> wrote:
=
Hello Mr=2E Lepiller,

Thank = you for the tip=2E For the moment, I want to poke around this issue=2E Perh= aps I get absolutely tired of it (or find a good hack - and an ugly patch)= =2E I did manage to learn a bit more about union-builds in general=2E So, t= hat's a silver lining=2E

Also, your work on guix-a= ndroid seems so very cool! Please keep up the great work!


Hi Prafulla,

Le 26 septembre 2020 03:31:38 GMT-04:00, Prafulla Giri <pratheblackdiamond@gma= il=2Ecom> a =C3=A9crit :
>Another information:
>
>I have other programs on my foreign system (installed via guix) that >produce sound well, without any issues=2E They include:
>espeak and kdenlive=2E
>
>Also, I did try making the union-build use copies instead of symlinks<= br> >using
>(union-build =2E=2E=2E #:symlink copy-recursively) but that didn't wor= k out
>either=2E
>
>Now, I'm going to take a look at fixing the pkg-config rules, and will=
>be
>updating this thread should that resolve this issue=2E
>
>On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri
><pratheblackdiamond@gmail=2Ecom>
>wrote:
>
>> I forgot to mention, but the union-build works=2E If one `guix bu= ild`s
>the
>> union package, and cd into the /gnu/store/=2E=2E=2E-union-build, = one will
>see
>> that things are there as it should be (lib/normal-alsa-*=2Eso and=
>> lib/alsa-lib/*pulse*=2Eso)=2E
>>
>> It's just that aegisub seems to be looking from the
>> /gnu/store/normal-alsa-lib-dir instead of
>/gnu/store/union-alsa-package=2E
>>

I think the issue with the union-build is that it is completely ignored: a= lsa doesn't look in it's current directory for plugins, but in the director= y where it's been configured (at build time) to look for=2E

On the Guix System, there is a service that creates a /etc/asound=2Econf, = which references alsa-plugins:pulseaudio=2E Maybe you actually want to conf= igure that? Maybe try to copy this to a new file =2Easoundrc:

pcm_type=2Epule {
  lib "/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_pcm_pu= lse=2Eso"
}

ctl_type=2Epulse {
  lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pul= se=2Eso"
}

pcm=2E!default {
  type pulse
}

ctl=2E!default {
  type pulse
}
------488Z6ERY4ZQYOS1IB5J3A9ZDA0SJGC--