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 qQCjIRAAcl+YBgAA0tVLHw (envelope-from ) for ; Mon, 28 Sep 2020 15:24:00 +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 4PwAHRAAcl8XZAAAB5/wlQ (envelope-from ) for ; Mon, 28 Sep 2020 15:24:00 +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 9A98994023C for ; Mon, 28 Sep 2020 15:23:59 +0000 (UTC) Received: from localhost ([::1]:43232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMv0Q-0003jO-D1 for larch@yhetil.org; Mon, 28 Sep 2020 11:23:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMuxa-0000lq-33 for guix-patches@gnu.org; Mon, 28 Sep 2020 11:21:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMuxZ-0004sR-QD for guix-patches@gnu.org; Mon, 28 Sep 2020 11:21:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMuxZ-0000NJ-Mk for guix-patches@gnu.org; Mon, 28 Sep 2020 11:21:01 -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: Mon, 28 Sep 2020 15:21:01 +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.16013064251376 (code B ref 43628); Mon, 28 Sep 2020 15:21:01 +0000 Received: (at 43628) by debbugs.gnu.org; 28 Sep 2020 15:20:25 +0000 Received: from localhost ([127.0.0.1]:53760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMuwv-0000M4-VZ for submit@debbugs.gnu.org; Mon, 28 Sep 2020 11:20:25 -0400 Received: from lepiller.eu ([89.234.186.109]:50394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMuws-0000Lm-TM for 43628@debbugs.gnu.org; Mon, 28 Sep 2020 11:20:20 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id f7a097ea; Mon, 28 Sep 2020 15:20:16 +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=qaVFA2SSksivFk3cUOpVabNaDp1cVEvsv1SdIzB2Yjk=; b=Ppzvmoa Q81jLmMgXeLl3QQ6EBpSa/UqBkHc0lbbADgJfRHrWAh/L7Bq9CKu6c+XYpT3CKU9 GOLMEoFKvOCzIrvAaKXirFzry0/LRmX3kkKvK16dzY19h5O/bExfr9OmpOlAJJk4 LN4gtslZ++fP2DsPoHn7YnS4eL51w5yNHLkLbVyFQzpSdwng2YpBvaFtaN7O4ky8 SHheQgraRteOfVdPTIeULWLZ5szE7u3PbPP4lN6J+SBWHB+BdXin3kjIS2TeMEG8 3wvIUNRj6SBFpnKUv6Qav+evQe5eoEfxjfMjoD+fkB5K5zbCJNgj2oQQXyIdTM7a 8oBTaNl4nkfnnFQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 932460ca (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 28 Sep 2020 15:20:15 +0000 (UTC) Date: Mon, 28 Sep 2020 11:20:03 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: <561466E3-006A-4460-9DEA-61A8DC16E7A8@lepiller.eu> <5B02C136-670D-4930-A461-731DA3D5221F@lepiller.eu> <580CE2CF-2CAD-49E4-AFAB-A28DD11585E9@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----CN10WQ6EC6HP85XOSN8EFT93AIZHA2" Content-Transfer-Encoding: 7bit From: Julien Lepiller Message-ID: 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=Ppzvmoa ; 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: 0.09 X-TUID: qiLjOgwOFcTJ ------CN10WQ6EC6HP85XOSN8EFT93AIZHA2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ok, I tgink that means alsa-lib looks for plugins in its rpach, fails to do= so, tgen fallls back to its hard-coded path, and fails again=2E So if we s= et the rpath correctly (which we cannot do in a package because it would in= troduce a cyclic dependency), it can load its plugin=2E Could you try to set LD_LIBRARY_PATH like so: LD_LIBRARY_PATH=3D/lib aegisub Le 28 septembre 2020 10:43:02 GMT-04:00, Prafulla Giri a =C3=A9crit : >I see=2E=2E=2E > >Hmm=2E=2E=2E=2E I didn't know they were just 11 people=2E > >Anyways, here is something that an ALSA developer told me=2E=2E=2E I coul= dn't >make much of it=2E But Perhaps you could? > >The current alsa-lib code uses the RTLD_DI_ORIGIN glibc extension to >> determine the libasound=2Eso path at runtime=2E The hardcoded path is >used only >> if this mechanism does not work >> > >Perhaps you'd like to see our conversation over at GitHub: >https://github=2Ecom/alsa-project/alsa-lib/issues/82 > >You're far more qualified to do this than I am=2E > >On Sun, Sep 27, 2020 at 4:55 PM Julien Lepiller >wrote: > >> >> >> Le 27 septembre 2020 01:56:31 GMT-04:00, Prafulla Giri < >> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit : >> >First and foremost: wow=2E A post-doc at just three years older than >me=2E >> >*cries in high-school drop-out* Super awesome! >> > >> >I have cleaned up my package definition as per your review: >> > >> >https://github=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/ae= gisub=2Escm >> > >> >I will look into the matter then=2E Might take me a while, but I'll >try=2E >> > >> >It's sad that framagit is closing=2E I think they were doing a great >job >> >with >> >peertube and all=2E=2E=2E >> >> Well, it's framasoft, they started so many services that they can't >handle >> the load anymore=2E So they've started closing them little by little >last >> year=2E Some of them will stay, and others will disappear=2E They never >wanted >> to centralize the web around them, so it's understandable=2E Instead, >they >> propose other alternatives, they've started the chaton initiative >(where >> other structures propose the same kind of services, at a smaller >scale), >> etc=2E >> >> They're still developping peertube, don't worry about that=2E But >they're >> not going to host a public instance=2E Remember they're about 10 >volunteers >> and one employee :) >> >> > >> >On Sun, Sep 27, 2020 at 3:00 AM Julien Lepiller >> >wrote: >> > >> >> Thanks! On the guix system, aegisub already works properly (at >least >> >it >> >> did when I last used it), because the alsa config allows it to >find >> >> pulseaudio=2E >> >> >> >> There are three issues with your proposed change: >> >> >> >> First using derivation-outputs is a bad idea, and it probably only >> >works >> >> because alsa-plugin doesn't depend on your modified alsa-lib >(you'd >> >get an >> >> infinite loop I think)=2E Since alsa-plugin doesn't depend on this >> >modified >> >> alsa-lib, you don't need such a convoluted work around=2E When >defining >> >the >> >> conhigure flags, you can simply use (assoc-ref %build-inputs >> >"alsa-plugin") >> >> when "alsa-plugin" is defined as an input to the package=2E >> >> >> >> Second, setting plugindir at build-time is just asking for the >same >> >kind >> >> of issues you are trying to fix, only for finding another plugin >that >> >might >> >> be needed=2E >> >> >> >> Third, the way you modify the arguments is=E2=80=A6 unconventional := ) try >> >using >> >> substitute-keyword-arguments instead=2E There are plenty of examples >in >> >the >> >> repo=2E >> >> >> >> I remember having dealt with this issue before, and pushed a patch >> >some 3 >> >> years ago: http://issues=2Eguix=2Egnu=2Eorg/31239 >> >> >> >> Could you look at what happened in the meantime? I think it was >> >reverted >> >> in favor of the asound=2Econf file we have in the guix system now=2E >You >> >might >> >> learn something if you find the reason why it was changed=2E >> >> >> >> Re my other projects, framagit is going to close next year, so >I'll >> >be >> >> migrating to my own hosting, currently at git=2Elepiller=2Eeu=2E >> >> >> >> Ok for the cultural difference=2E It's probably too soon to call me >a >> >> "senior" though, I'm still pretty young: only 3 years older than >you >> >:p >> >> >> >> Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri < >> >> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit : >> >>> >> >>> Oh, I come from a culture that does not call seniors by their >first >> >>> names=2E (: >> >>> Yes! guix-android looks super awesome! I'm glad that you are >working >> >on >> >>> that=2E You're awesome=2E >> >>> (Also, I just realized that you've also got guix-home-manager and >so >> >many >> >>> more cool repositories! I need to check those out, and soon!) >> >>> >> >>> I did manage to resolve this issue=2E Kinda'=2E Here: >> >>> >> > >> >https://github=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/ae= gisub=2Escm >> >>> >> >>> All I had to do was re-define 'alsa-lib' to point to the >/gnu/store >> >path >> >>> of alsa-plugins=2E The /gnu/store path had to be figured out during >> >runtime=2E >> >>> >> >>> Could you please check how this fares in a GuixSD system? If it >goes >> >>> well, perhaps I should send a patch in for aegisub=2E But then >again, >> >I >> >>> wonder if I should make the changes in alsa-lib itself, but I am >not >> >very >> >>> sure about that=2E >> >>> >> >>> On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller > >> >>> wrote: >> >>> >> >>>> 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 >> >>>> internet 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 >> >>>> You may have to take a look at alsa's sources to find out how it >> >looks for >> >>>> its plugins exactly (maybe try to grep for PLUGIN or PLUGINDIR)? >> >>>> >> >>>> Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri < >> >>>> pratheblackdiamond@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 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 di= dn't >> >work 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-bu= ild, >> >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: 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=2Es= o" >> >>>>>>> } >> >>>>>>> >> >>>>>>> ctl_type=2Epulse { >> >>>>>>> >> >>>>>>> >> >>lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse=2E= so" >> >>>>>>> } >> >>>>>>> >> >>>>>>> pcm=2E!default { >> >>>>>>> type pulse >> >>>>>>> } >> >>>>>>> >> >>>>>>> ctl=2E!default { >> >>>>>>> type pulse >> >>>>>>> } >> >>>>>>> >> >>>>>> >> ------CN10WQ6EC6HP85XOSN8EFT93AIZHA2 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ok, I tgink that means alsa-lib looks for plugins = in its rpach, fails to do so, tgen fallls back to its hard-coded path, and = fails again=2E So if we set the rpath correctly (which we cannot do in a pa= ckage because it would introduce a cyclic dependency), it can load its plug= in=2E

Could you try to set LD_LIBRARY_PATH like so:

LD_LIBRAR= Y_PATH=3D<alsa-plugin's pulseaudio output>/lib aegisub

Le 28 septembre 2020 10:43:02 GMT-04:00, Prafulla Giri = <pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
I see=2E=2E=2E

Hmm=2E=2E=2E= =2E I didn't know they were just 11 people=2E

Anyw= ays, here is something that an ALSA developer told me=2E=2E=2E I couldn't m= ake much of it=2E But Perhaps you could?

The current alsa-lib code uses t= he RTLD_DI_ORIGIN glibc extension to=20 determine the libasound=2Eso path at runtime=2E The hardcoded path is used= =20 only if this mechanism does not work

Perhaps you'd like to see our conversation over at GitHub: https://github=2Ecom/alsa= -project/alsa-lib/issues/82

You're far more qu= alified to do this than I am=2E

On Sun, Sep 27, 2020 at 4:55 PM Ju= lien Lepiller <julien@lepiller= =2Eeu> wrote:


Le 27 septembre 2020 01:56:31 GMT-04:00, Prafulla Giri <pratheblackdiamond@gma= il=2Ecom> a =C3=A9crit :
>First and foremost: wow=2E A post-doc at just three years older than m= e=2E
>*cries in high-school drop-out* Super awesome!
>
>I have cleaned up my package definition as per your review:
>https://git= hub=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/aegisub=2Escm
>
>I will look into the matter then=2E Might take me a while, but I'll tr= y=2E
>
>It's sad that framagit is closing=2E I think they were doing a great j= ob
>with
>peertube and all=2E=2E=2E

Well, it's framasoft, they started so many services that they can't handle= the load anymore=2E So they've started closing them little by little last = year=2E Some of them will stay, and others will disappear=2E They never wan= ted to centralize the web around them, so it's understandable=2E Instead, t= hey propose other alternatives, they've started the chaton initiative (wher= e other structures propose the same kind of services, at a smaller scale), = etc=2E

They're still developping peertube, don't worry about that=2E But they're = not going to host a public instance=2E Remember they're about 10 volunteers= and one employee :)

>
>On Sun, Sep 27, 2020 at 3:00 AM Julien Lepiller <
julien@lepiller=2Eeu>
>wrote:
>
>> Thanks! On the guix system, aegisub already works properly (at le= ast
>it
>> did when I last used it), because the alsa config allows it to fi= nd
>> pulseaudio=2E
>>
>> There are three issues with your proposed change:
>>
>> First using derivation-outputs is a bad idea, and it probably onl= y
>works
>> because alsa-plugin doesn't depend on your modified alsa-lib (you= 'd
>get an
>> infinite loop I think)=2E Since alsa-plugin doesn't depend on thi= s
>modified
>> alsa-lib, you don't need such a convoluted work around=2E When de= fining
>the
>> conhigure flags, you can simply use (assoc-ref %build-inputs
>"alsa-plugin")
>> when "alsa-plugin" is defined as an input to the package=2E
>>
>> Second, setting plugindir at build-time is just asking for the sa= me
>kind
>> of issues you are trying to fix, only for finding another plugin = that
>might
>> be needed=2E
>>
>> Third, the way you modify the arguments is=E2=80=A6 unconventiona= l :) try
>using
>> substitute-keyword-arguments instead=2E There are plenty of examp= les in
>the
>> repo=2E
>>
>> I remember having dealt with this issue before, and pushed a patc= h
>some 3
>> years ago: http://issues=2Eguix=2Egnu=2Eorg/31239
>>
>> Could you look at what happened in the meantime? I think it was >reverted
>> in favor of the asound=2Econf file we have in the guix system now= =2E You
>might
>> learn something if you find the reason why it was changed=2E
>>
>> Re my other projects, framagit is going to close next year, so I'= ll
>be
>> migrating to my own hosting, currently at
git=2Elepiller=2Eeu<= /a>=2E
>>
>> Ok for the cultural difference=2E It's probably too soon to call = me a
>> "senior" though, I'm still pretty young: only 3 years older than = you
>:p
>>
>> Le 26 septembre 2020 16:46:50 GMT-04:00, Prafulla Giri <
>>
pratheblackdiamond@gmail=2Ecom> a =C3=A9crit :
>>>
>>> Oh, I come from a culture that does not call seniors by their= first
>>> names=2E (:
>>> Yes! guix-android looks super awesome! I'm glad that you are = working
>on
>>> that=2E You're awesome=2E
>>> (Also, I just realized that you've also got guix-home-manager= and so
>many
>>> more cool repositories! I need to check those out, and soon!)=
>>>
>>> I did manage to resolve this issue=2E Kinda'=2E Here:
>>>
>https://git= hub=2Ecom/peanutbutterandcrackers/guix-packages/blob/master/aegisub=2Escm
>>>
>>> All I had to do was re-define 'alsa-lib' to point to the /gnu= /store
>path
>>> of alsa-plugins=2E The /gnu/store path had to be figured out = during
>runtime=2E
>>>
>>> Could you please check how this fares in a GuixSD system? If = it goes
>>> well, perhaps I should send a patch in for aegisub=2E But the= n again,
>I
>>> wonder if I should make the changes in alsa-lib itself, but I= am not
>very
>>> sure about that=2E
>>>
>>> On Sat, Sep 26, 2020 at 8:20 PM Julien Lepiller <
julien@lepiller=2Eeu= >
>>> wrote:
>>>
>>>> Hehe, thanks for your interest in guix-android=2E It's no= t really
>done
>>>> yet, but I'm very motivated :)=2E It always feels weird w= hen someone
>on the
>>>> internet calls you Mr ^^=2E No need to be so stiff, you c= an call me
>"Julien"
>>>> (and I suppose it's the norm to call people by their firs= t name in
>this
>>>> kind of internet community)=2E
>>>>
>>>> Maybe try to run aegisub with strace -f, you might find o= ut
>something=2E
>>>> You may have to take a look at alsa's sources to find out= how it
>looks for
>>>> its plugins exactly (maybe try to grep for PLUGIN or PLUG= INDIR)?
>>>>
>>>> Le 26 septembre 2020 08:07:34 GMT-04:00, Prafulla Giri &l= t;
>>>> pratheblackdiamond@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 t= o 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 a= bout union-builds
>in
>>>>>> general=2E So, that's a silver lining=2E
>>>>>>
>>>>>> Also, your work on guix-android seems so very coo= l! Please keep
>up the
>>>>>> great work!
>>>>>>
>>>>>> On Sat, Sep 26, 2020 at 3:28 PM Julien Lepiller ><julien@l= epiller=2Eeu>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Hi Prafulla,
>>>>>>>
>>>>>>> Le 26 septembre 2020 03:31:38 GMT-04:00, Praf= ulla Giri <
>>>>>>> pratheblackdiamond@gmail=2Ecom> a =C3=A9crit = :
>>>>>>> >Another information:
>>>>>>> >
>>>>>>> >I have other programs on my foreign syste= m (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 us= e copies instead of
>symlinks
>>>>>>> >using
>>>>>>> >(union-build =2E=2E=2E #:symlink copy-rec= ursively) but that didn't
>work out
>>>>>>> >either=2E
>>>>>>> >
>>>>>>> >Now, I'm going to take a look at fixing t= he 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-b= uild works=2E If one `guix
>>>>>>> build`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 b= e (lib/normal-alsa-*=2Eso
>and
>>>>>>> >> lib/alsa-lib/*pulse*=2Eso)=2E
>>>>>>> >>
>>>>>>> >> It's just that aegisub seems to be l= ooking from the
>>>>>>> >> /gnu/store/normal-alsa-lib-dir inste= ad of
>>>>>>> >/gnu/store/union-alsa-package=2E
>>>>>>> >>
>>>>>>>
>>>>>>> I think the issue with the union-build is tha= t it is completely
>>>>>>> ignored: alsa doesn't look in it's current di= rectory 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 c= reates a
>>>>>>> /etc/asound=2Econf, which references alsa-plu= gins: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=2Es= o"
>>>>>>> }
>>>>>>>
>>>>>>> ctl_type=2Epulse {
>>>>>>>
>>>>>>>
>lib"/home/foo/=2Eguix-profile/lib/alsa-lib/libasound_module_ctl_pulse= =2Eso"
>>>>>>> }
>>>>>>>
>>>>>>> pcm=2E!default {
>>>>>>>   type pulse
>>>>>>> }
>>>>>>>
>>>>>>> ctl=2E!default {
>>>>>>>   type pulse
>>>>>>> }
>>>>>>>
>>>>>>
------CN10WQ6EC6HP85XOSN8EFT93AIZHA2--