From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uBVdDO8Qb18DWQAA0tVLHw (envelope-from ) for ; Sat, 26 Sep 2020 09:59:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2IUcCO8Qb18TPgAAbx9fmQ (envelope-from ) for ; Sat, 26 Sep 2020 09:59:11 +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 DF1FB9403C6 for ; Sat, 26 Sep 2020 09:59:09 +0000 (UTC) Received: from localhost ([::1]:51566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kM6yy-0007Zb-FC for larch@yhetil.org; Sat, 26 Sep 2020 05:59:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kM6ys-0007ZL-7Z for guix-patches@gnu.org; Sat, 26 Sep 2020 05:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kM6yr-0004rD-Up for guix-patches@gnu.org; Sat, 26 Sep 2020 05:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kM6yr-0004rp-TW for guix-patches@gnu.org; Sat, 26 Sep 2020 05:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43628] Further Info Resent-From: Prafulla Giri Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Sep 2020 09:59: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: Julien Lepiller Cc: 43628@debbugs.gnu.org X-Debbugs-Original-Cc: 43628@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160111429418621 (code B ref -1); Sat, 26 Sep 2020 09:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Sep 2020 09:58:14 +0000 Received: from localhost ([127.0.0.1]:45841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kM6y6-0004qG-FV for submit@debbugs.gnu.org; Sat, 26 Sep 2020 05:58:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:46220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kM6y5-0004q9-21 for submit@debbugs.gnu.org; Sat, 26 Sep 2020 05:58:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kM6y4-0007X5-Ox for guix-patches@gnu.org; Sat, 26 Sep 2020 05:58:12 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:55630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kM6y2-0004pk-RK for guix-patches@gnu.org; Sat, 26 Sep 2020 05:58:12 -0400 Received: by mail-pj1-x1034.google.com with SMTP id q4so767640pjh.5 for ; Sat, 26 Sep 2020 02:58:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=erRVBfPGOV3fV7pGQ0+YmbFBu4wquwFy2Kcc1YrvosY=; b=HiAz05+YigD7VVSMD0p3qkCc5qp4yUXZAT83yrgduZ3Ah8DTEV+1/6uTA1IXtzNUyG cHObHaJznKRhODlE7TidNi6uUTURce2Lq6IBtuWnnA/I6HYdknucTA/U/H5xA7ya379Y JxF2gGUSC/MeA84mJOQRauiFU8SVzMYA2qsGh1NfF80OpKBncB9DKGQ2EuR+0htFQEgi 8J8g1dfKRuJ6Umahg/F5fyf67ytIkik7boYfBHs9oVUGE1BR/aSnjW3Fkv5X2ugHKFW/ g9ycJJTwIiKxZNCIQUTH3cWhpTioz2jXQbXLZ9Izg86RzqELPJ9D+YLfeLCHWUqSmDYk v0rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=erRVBfPGOV3fV7pGQ0+YmbFBu4wquwFy2Kcc1YrvosY=; b=EGme9kh2T1xwx9V7wrq7T8p4RcEGEv1q8KO+X9hnMFF9oaj9G6eLaqIBRCmR8JDYQQ TBAG+LVXLXkF7vXGhrnQMyWVAaEssDbGuwGt5uKuaxQhNfQ0TnphdJ3wo5lTMTI5OWuM GCcKgBF9YCm8NZcRFt3gVu1w6LivZVrBbJM81NBx6os/SXjARynXXest1SwmK/yeYvxw FblUU9zIyuIYTZGdX0wtulQkU/JPRqW1hy1q1HRODlKLl5PDhTe9UoRqHXRsD/Xhrmj3 TvpSd0I/bCbMuiGAFaaJSDYQu5Xf4LoiAwTiFHEl7/3C5yQF2d2A2Hovdv5t+b0I0kK8 J32A== X-Gm-Message-State: AOAM53396BRJGJkeUt2iRkGxBdPa8K4kCJbKgmEFOrOsOM+h4i6wsYxw G23viOqWC+uqVIqQMIJALYVpaPNaFptRYLUr4TiVC/4EPDE= X-Google-Smtp-Source: ABdhPJxUnL8BAQMudaWZT4AxCNJY8dMTAHptC+s/6vgEqqmZVtMjsL6IFQ7hHzF0ERZOX7GPtlYdhc12bqH5MREkadc= X-Received: by 2002:a17:902:208:b029:d2:562d:fcc with SMTP id 8-20020a1709020208b02900d2562d0fccmr3397569plc.15.1601114289152; Sat, 26 Sep 2020 02:58:09 -0700 (PDT) MIME-Version: 1.0 References: <561466E3-006A-4460-9DEA-61A8DC16E7A8@lepiller.eu> In-Reply-To: <561466E3-006A-4460-9DEA-61A8DC16E7A8@lepiller.eu> From: Prafulla Giri Date: Sat, 26 Sep 2020 15:42:58 +0545 Message-ID: Content-Type: multipart/alternative; boundary="00000000000073284205b0347821" Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=pratheblackdiamond@gmail.com; helo=mail-pj1-x1034.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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=gmail.com header.s=20161025 header.b=HiAz05+Y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: b6INwYxPGoLA --00000000000073284205b0347821 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Mr. Lepiller, Thank you for the tip. For the moment, I want to poke around this issue. Perhaps I get absolutely tired of it (or find a good hack - and an ugly patch). I did manage to learn a bit more about union-builds in general. So, that's a silver lining. 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.com> a =C3=A9crit : > >Another information: > > > >I have other programs on my foreign system (installed via guix) that > >produce sound well, without any issues. They include: > >espeak and kdenlive. > > > >Also, I did try making the union-build use copies instead of symlinks > >using > >(union-build ... #:symlink copy-recursively) but that didn't work out > >either. > > > >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. > > > >On Sat, Sep 26, 2020 at 12:21 PM Prafulla Giri > > > >wrote: > > > >> I forgot to mention, but the union-build works. If one `guix build`s > >the > >> union package, and cd into the /gnu/store/...-union-build, one will > >see > >> that things are there as it should be (lib/normal-alsa-*.so and > >> lib/alsa-lib/*pulse*.so). > >> > >> It's just that aegisub seems to be looking from the > >> /gnu/store/normal-alsa-lib-dir instead of > >/gnu/store/union-alsa-package. > >> > > 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. > > On the Guix System, there is a service that creates a /etc/asound.conf, > which references alsa-plugins:pulseaudio. Maybe you actually want to > configure that? Maybe try to copy this to a new file .asoundrc: > > pcm_type.pule { > lib "/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_pulse.so= " > } > > ctl_type.pulse { > lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_pulse.so" > } > > pcm.!default { > type pulse > } > > ctl.!default { > type pulse > } > --00000000000073284205b0347821 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Mr. Lepiller,

Thank yo= u for the tip. For the moment, I want to poke around this issue. Perhaps I = get absolutely tired of it (or find a good hack - and an ugly patch). I did= manage to learn a bit more about union-builds in general. So, that's a= silver lining.

Also, your work on guix-android se= ems so very cool! Please keep up the great work!

On Sat, Sep 26, 2= 020 at 3:28 PM Julien Lepiller <julien@lepiller.eu> wrote:


Hi Prafulla,

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

I think the issue with the union-build is that it is completely ignored: al= sa doesn't look in it's current directory for plugins, but in the d= irectory where it's been configured (at build time) to look for.

On the Guix System, there is a service that creates a /etc/asound.conf, whi= ch references alsa-plugins:pulseaudio. Maybe you actually want to configure= that? Maybe try to copy this to a new file .asoundrc:

pcm_type.pule {
=C2=A0 lib "/home/foo/.guix-profile/lib/alsa-lib/libasound_module_pcm_= pulse.so"
}

ctl_type.pulse {
=C2=A0 lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_p= ulse.so"
}

pcm.!default {
=C2=A0 type pulse
}

ctl.!default {
=C2=A0 type pulse
}
--00000000000073284205b0347821--