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 sDz3Kisvb1/+fQAA0tVLHw (envelope-from ) for ; Sat, 26 Sep 2020 12:08: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 mp2 with LMTPS id CHLhJisvb1/2EwAAB5/wlQ (envelope-from ) for ; Sat, 26 Sep 2020 12:08: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 E2B32940546 for ; Sat, 26 Sep 2020 12:08:10 +0000 (UTC) Received: from localhost ([::1]:58032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kM8zp-0004qx-Tv for larch@yhetil.org; Sat, 26 Sep 2020 08:08:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kM8zi-0004pT-SC for guix-patches@gnu.org; Sat, 26 Sep 2020 08:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kM8zi-0001Qv-Iw for guix-patches@gnu.org; Sat, 26 Sep 2020 08:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kM8zi-0001rG-ED for guix-patches@gnu.org; Sat, 26 Sep 2020 08:08:02 -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 12:08: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: 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.16011220737121 (code B ref -1); Sat, 26 Sep 2020 12:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Sep 2020 12:07:53 +0000 Received: from localhost ([127.0.0.1]:45992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kM8zY-0001qh-Vl for submit@debbugs.gnu.org; Sat, 26 Sep 2020 08:07:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:52692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kM8zW-0001qZ-Hx for submit@debbugs.gnu.org; Sat, 26 Sep 2020 08:07:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kM8zW-0004oS-D7 for guix-patches@gnu.org; Sat, 26 Sep 2020 08:07:50 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:35080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kM8zU-0001QR-6W for guix-patches@gnu.org; Sat, 26 Sep 2020 08:07:50 -0400 Received: by mail-pg1-x533.google.com with SMTP id g29so4636453pgl.2 for ; Sat, 26 Sep 2020 05:07:47 -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=P5puNd++9EYoARDCSFTPkZZZV46B2B06049wq5zjKrk=; b=uH3rMwKC9kaZgK3yOHy6Ic3ZxQDjtqtyY/F/EjWWWQjNS8LkenRogLRmROAgdzlVWv TtAcR9ZSDTrnythpL83/2EZSHVOHCV2sn0ViSUNnKyek6QDp4rM/8k0rPUF2gE/mLhYc AViV8lBrDn4Oq4GATdmMhf3DUdineegYKaTI/xooLepFEPV0FZJsGtAAUy/VYQwFZeLq a0DsWOIf0pY8Cey8z0rIEZiO59XwqiAXm/puvBhZmvLZGGPQe15p/Ltn+3sRrnlYQhdB 7tsms9hcHXIDoVU6pMXe3FxATJLnaIvSihzRhy2jQa535XmzA1Lg4yoqXO6P1nLh86Gi ffug== 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=P5puNd++9EYoARDCSFTPkZZZV46B2B06049wq5zjKrk=; b=bsTzlmvTRQHdFMtRJ48DZmxfb9L2BMEsNwLjBWi0Iuy1wu6yBo27PI9LXFoc6HBHrg 4zjNWTCJyKFBXP2JO81KoNflmgpMtgqVvpQF2h69cIkN3gR1Ya+hVCGV2/J2E1kfMAIB fc3AywRo2UXF69QENMNnVCrUhU+jqGhllnHQRuhZ6cqy19bJmt6YIK6fglKZSpW9OQqU 2pm4Mkq2hUsSls0thA/rEqXI9Q/8vuL3UbaPbTkj2fNdoTI2u08eNjFCHQnIqalYjwEA 3tgH1ZrUXTQUEwQTqDKD+GOCRCfsWxX58wvszwTfVY7McL/c2JXwUddQ4gQMVlvMbBkM 2tNQ== X-Gm-Message-State: AOAM532h6ZXtLcrLLcPcU6G57G/5OH7ZnQrdrnjmv2hWa7a43AhP1mRO VUwKI7qBshadaMzQ7CAMqbmKcq74joDLl8L2Cpg= X-Google-Smtp-Source: ABdhPJy0zfEXJDUZuZTskkBC5W82LFsrqLk83Fyp9Yuy7JaEH1+73nSOUu4sZ2VFn4Atqggt+RKh0qrmVEqkPuHd/KQ= X-Received: by 2002:a63:d216:: with SMTP id a22mr2555204pgg.339.1601122066400; Sat, 26 Sep 2020 05:07:46 -0700 (PDT) MIME-Version: 1.0 References: <561466E3-006A-4460-9DEA-61A8DC16E7A8@lepiller.eu> In-Reply-To: From: Prafulla Giri Date: Sat, 26 Sep 2020 17:52:34 +0545 Message-ID: Content-Type: multipart/mixed; boundary="00000000000002c14c05b03648a7" Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=pratheblackdiamond@gmail.com; helo=mail-pg1-x533.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 (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=uH3rMwKC; 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.69 X-TUID: 9/kN9ZhI07zk --00000000000002c14c05b03648a7 Content-Type: multipart/alternative; boundary="00000000000002c14905b03648a5" --00000000000002c14905b03648a5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Okay, I think I'm stuck now. lol On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri wrote: > 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. S= o, > 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.s= o" >> } >> >> ctl_type.pulse { >> lib"/home/foo/.guix-profile/lib/alsa-lib/libasound_module_ctl_pulse.so= " >> } >> >> pcm.!default { >> type pulse >> } >> >> ctl.!default { >> type pulse >> } >> > --00000000000002c14905b03648a5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Okay, I think I'm stuck now. lol



On Sat, Sep 26, 2020 at 3:42 PM Prafulla Giri <pratheblackdiamond@gmail.com&= gt; wrote:
Hello Mr. Lepiller,

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

Also, your work on guix-android seems s= o very cool! Please keep up the great work!

On Sat, Sep 26, 2020= 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
}
--00000000000002c14905b03648a5-- --00000000000002c14c05b03648a7 Content-Type: text/x-patch; charset="UTF-8"; name="aegisub_alsa_pulseaudio.diff" Content-Disposition: attachment; filename="aegisub_alsa_pulseaudio.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kfjmq5p00 ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy92aWRlby5zY20gYi9nbnUvcGFja2FnZXMvdmlkZW8u c2NtCmluZGV4IDBmNzI3YTZlOWUuLmM4MjhiZTU0NmIgMTAwNjQ0Ci0tLSBhL2dudS9wYWNrYWdl cy92aWRlby5zY20KKysrIGIvZ251L3BhY2thZ2VzL3ZpZGVvLnNjbQpAQCAtMzgzNiw3ICszODM2 LDUyIEBAIHByb2dyYW1tZXJzIHRvIGFjY2VzcyBhIHN0YW5kYXJkIEFQSSB0byBvcGVuIGFuZCBk ZWNvbXByZXNzIG1lZGlhIGZpbGVzLiIpCiAgICAgICAgKCJodW5zcGVsbCIgLGh1bnNwZWxsKQog ICAgICAgICgibWVzYSIgLG1lc2EpCiAgICAgICAgKCJsaWJhc3MiICxsaWJhc3MpCi0gICAgICAg KCJhbHNhLWxpYiIgLGFsc2EtbGliKQorICAgICAgICgiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlv LXBsdWdpbiIKKyAgICAgICAgLChwYWNrYWdlCisgICAgICAgICAgIChpbmhlcml0IGFsc2EtbGli KQorICAgICAgICAgICAobmFtZSAiYWxzYS1saWItd2l0aC1wdWxzZWF1ZGlvLXBsdWdpbiIpCisg ICAgICAgICAgIChzb3VyY2UgI2YpCisgICAgICAgICAgIChidWlsZC1zeXN0ZW0gdHJpdmlhbC1i dWlsZC1zeXN0ZW0pCisgICAgICAgICAgIChhcmd1bWVudHMKKyAgICAgICAgICAgIGAoIzptb2R1 bGVzICgoZ3VpeCBidWlsZCB1bmlvbikKKyAgICAgICAgICAgICAgICAgICAgICAgICAoZ3VpeCBi dWlsZCB1dGlscykpCisgICAgICAgICAgICAgICM6YnVpbGRlcgorICAgICAgICAgICAgICAoYmVn aW4KKyAgICAgICAgICAgICAgICAodXNlLW1vZHVsZXMgKGljZS05IG1hdGNoKQorICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAoZ3VpeCBidWlsZCB1bmlvbikKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgKGd1aXggYnVpbGQgdXRpbHMpKQorICAgICAgICAgICAgICAgIChsZXQgKChv dXQgKGFzc29jLXJlZiAlb3V0cHV0cyAib3V0IikpCisgICAgICAgICAgICAgICAgICAgICAgKGFs c2EtbGliIChhc3NvYy1yZWYgJWJ1aWxkLWlucHV0cyAiYWxzYS1saWIiKSkpCisgICAgICAgICAg ICAgICAgICAobWF0Y2ggJWJ1aWxkLWlucHV0cworICAgICAgICAgICAgICAgICAgICAoKChuYW1l cyAuIGRpcmVjdG9yaWVzKSAuLi4pCisgICAgICAgICAgICAgICAgICAgICAodW5pb24tYnVpbGQg b3V0CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlyZWN0b3JpZXMKKyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBJbnN0ZWFkIG9mIGEgc3ltbGluayB1bmlv biwgdGhpcyBpcyB3aWxsIGJlIGEKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7 OyBjb3B5IHVuaW9uLCBiZWNhdXNlIHRoaXMgd29uJ3QgIkp1c3QgV29ya+KEoiIKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICA7OyB3aXRoIG1lcmUgc3ltbGlua3MuIFNvbWUgb2Yg dGhlIGZpbGVzIHRoYXQgbWFrZQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDs7 IHVwIHRoZSB1bmlvbiBuZWVkIHRvIHR3ZWFrZWQgdG8gd29yayBwcm9wZXJseS4KKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAjOmNyZWF0ZS1hbGwtZGlyZWN0b3JpZXM/ICN0Cisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIzpzeW1saW5rIGNvcHktZmlsZSkpKQor ICAgICAgICAgICAgICAgICAgOzsgRml4IGFsc2EtbGliIHBrZy1jb25maWcgZmlsZSB0byBwb2lu dCB0byB0aGUgL2dudS9zdG9yZSBvZgorICAgICAgICAgICAgICAgICAgOzsgdGhpcyB1bmlvbiwg cmF0aGVyIHRoYW4gdGhhdCBvZiBhbHNhLWxpYiBpdHNlbGYuCisgICAgICAgICAgICAgICAgICAo c3Vic3RpdHV0ZSogKHN0cmluZy1hcHBlbmQgb3V0ICIvbGliL3BrZ2NvbmZpZy9hbHNhLnBjIikK KyAgICAgICAgICAgICAgICAgICAgKChhbHNhLWxpYikgb3V0KSkKKyAgICAgICAgICAgICAgICAg ICN0KSkpKQorICAgICAgICAgICAoaW5wdXRzCisgICAgICAgICAgICBgKCgiYWxzYS1saWIiCisg ICAgICAgICAgICAgICAsKHBhY2thZ2UKKyAgICAgICAgICAgICAgICAgIChpbmhlcml0IGFsc2Et bGliKQorICAgICAgICAgICAgICAgICAgKGFyZ3VtZW50cyBgKCxAKGNvbnMKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAoY2FyIChwYWNrYWdlLWFyZ3VtZW50cyBhbHNhLWxpYikp CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxpc3QgKGFwcGVuZAorICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2FkcgorICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHBhY2thZ2UtYXJndW1lbnRzIGFsc2EtbGliKSkK KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxpc3QgKHN0cmluZy1h cHBlbmQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIt LXdpdGgtcGx1Z2luLWRpcj0iCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICA7OyBzdHVmZiBnb2VzIGhlcmUKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICkpKSkpKSkpCisgICAgICAgICAgICAgICApCisgICAgICAg ICAgICAgICgiYWxzYS1wbHVnaW5zOnB1bHNlYXVkaW8iICxhbHNhLXBsdWdpbnMgInB1bHNlYXVk aW8iKSkpKSkKICAgICAgICAoInB1bHNlYXVkaW8iICxwdWxzZWF1ZGlvKQogICAgICAgICgibGli eDExIiAsbGlieDExKQogICAgICAgICgiZnJlZXR5cGUiICxmcmVldHlwZSkK --00000000000002c14c05b03648a7--