GNU bug report logs - #37933
gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Pierre Neidhardt <mail@HIDDEN>; dated Sat, 26 Oct 2019 10:49:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 37933 <at> debbugs.gnu.org:


Received: (at 37933) by debbugs.gnu.org; 29 Oct 2019 12:13:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 29 08:13:24 2019
Received: from localhost ([127.0.0.1]:46997 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iPQNI-0007Hn-8V
	for submit <at> debbugs.gnu.org; Tue, 29 Oct 2019 08:13:24 -0400
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:50761)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iPQNF-0007Hc-Mn
 for 37933 <at> debbugs.gnu.org; Tue, 29 Oct 2019 08:13:22 -0400
X-Originating-IP: 92.169.151.76
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id B6B61FF810;
 Tue, 29 Oct 2019 12:13:17 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: Marius Bakke <mbakke@HIDDEN>, 37933 <at> debbugs.gnu.org
Subject: Re: bug#37933: gst* plugins in non-default profile not found by
 webkitgtk browsers (e.g. epiphany)
In-Reply-To: <87ftjctrce.fsf@HIDDEN>
References: <87mudnaike.fsf@HIDDEN> <87ftjctrce.fsf@HIDDEN>
Date: Tue, 29 Oct 2019 13:13:16 +0100
Message-ID: <874kzru4v7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 37933
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Marius!

> This only works when you already have 'gstreamer' in the profile, right?

`gstreamer' is propagated by the gst plugins.

> I don't think the first example can ever work short of wrapping the
> executable?

WebKitGTK-based browsers look for the plugins in the GST_PLUGIN_PATH
and the GST_PLUGIN_SYSTEM_PATH environment variables.



I retested today: actually I realized that it works if I clear
~/.cache/gstreamer-1.0 :p

The problem is that the cache goes stale when the path to the plugins
changes.
It's a rather general problem with Guix, I think it's been discussed
before.

If we had a way to test for the cache staleness, we could add some code
to the Epiphany wrapper that clears the cache if stale.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl24LNwACgkQm9z0l6S7
zH9HFQf+P+YHpKwYFPPFt1VwXZvClb5Le7kudmOAL0nz+rzmw29nyO+43M/96W+3
SMe3RRhWWqs6Ppy1RO4bOCG+xV8ovDsy7nvv8E47nJrprobUpOJjFua3+BbhYyUm
QdG/JwhYCoEobaeQt8oYDj7ln7kG7FoNH1Hrs4ZrG+XyAtquV965bf4ecI5LR9wj
Bix+bycgOsjeg9aqP8/qAXqqMHPE0+pGohjZTmdOEovcsLoj0jWoixF5tZB0xC1i
HBolpA2aglf5Z5TYBSLVP9S+0LIjJaRssmeZwkcMp9XgB1hxfIBYT2BDuzp0s6Li
IZ0nbJa+MJn+BmQLaeOTO21hYR+2uw==
=uoKV
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37933; Package guix. Full text available.

Message received at 37933 <at> debbugs.gnu.org:


Received: (at 37933) by debbugs.gnu.org; 28 Oct 2019 22:53:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 18:53:15 2019
Received: from localhost ([127.0.0.1]:46549 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iPDsx-0003tk-I2
	for submit <at> debbugs.gnu.org; Mon, 28 Oct 2019 18:53:15 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:35927)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1iPDsw-0003tX-8A
 for 37933 <at> debbugs.gnu.org; Mon, 28 Oct 2019 18:53:14 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.west.internal (Postfix) with ESMTP id 7A2D34A1;
 Mon, 28 Oct 2019 18:53:08 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Mon, 28 Oct 2019 18:53:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 from:to:subject:in-reply-to:references:date:message-id
 :mime-version:content-type; s=fm1; bh=Q7R/x3cbnjiVsBwsvUB2cLVqWW
 /ayoqhPKCiF118kjQ=; b=jcKV+pfwnBBqc52P83TClSOjD5pYqbvy2SobNsADwd
 8cpaeRHLNjUE4oUStUkYV1oZKmDkSic6gqh8H5maU2Ms67j+JHLqb2ykhP611w9V
 s3RTcwmZC+Qokts87ng7sJ7VKxCHdKJI69j1SA/gtzC+AU4sWD5qtuxYaeo+dcT4
 1ArZIm9n0x+X8NcG2eMjp9F6FafrXJj3v2+IhGXA18qdfqN2zapUkkeS6wo4Ux1h
 wELumhKqkVQ9vGZqsud/0WHU3JIjflfwj1NiYJzmmpYaoD+jl3e5Z16IZuClUNyh
 EJwTjPMXEmGF633gJ+Q2KPbIbs/bOj+RJgB/f5ReZtZQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Q7R/x3
 cbnjiVsBwsvUB2cLVqWW/ayoqhPKCiF118kjQ=; b=qF2s7G17CzgsqIm51E5S3s
 q3gPKB014mASTwI2lsglCzcHnWSTuhKlTqPYhdYir34RHR95VSWK8Bexrfa2upTr
 vsZnSK2l8FwjNHChZMtG1RCL2lyLlLBblH6EL28XGEZCkvxiXB2QkGLgi4+n5Yau
 TN9o8K+HleGj39QvUuJzgf8+AU+8ku6aC07In7IVcXIYCsbAp4lQ4g5HhKPzuAal
 LFqPTA8HbFoWxL2wUhPYT3t44/DSAAlKqc9ANXrpbaYiMtlQQOcQgKpFSfoH6dIc
 qChXffsJLri94OBjkw5cA3iJdM6UWgrEhYKI1SI+ANZ1Aow7XI/EiHz9ntxPxD6A
 ==
X-ME-Sender: <xms:U3G3XRAp_Td5WhZXCgpYM4r6uZ9-klN1IjO6LBUAp4cDyIhkC5cq6Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddttddgtddvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdludejmdenucfjughrpefhvf
 fujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgv
 uceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuffhomhgrihhnpegrrhgthh
 hivhgvrdhorhhgnecukfhppeeivddrudeirdduledvrdduhedtnecurfgrrhgrmhepmhgr
 ihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrh
 fuihiivgeptd
X-ME-Proxy: <xmx:U3G3XWcruygW4peDxytddgbvAwkuURYyT9RmhTXWWxFWz0RKPFCCcg>
 <xmx:U3G3XRsha5d_LJkVkdQfP2iEePY1oy7tal7PDbqOBqB7hrg-S4NVFA>
 <xmx:U3G3XQLpV1y5zL2WdNfD8xvUwfhH4uO-uC361wmcRa-2BsyBH79VdA>
 <xmx:VHG3Xdf8vxghTOmv4QOKj8b_CSCEpvIDSXiDA63G3HdrhjskvyK-eQ>
Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150])
 by mail.messagingengine.com (Postfix) with ESMTPA id 4A85B8005B;
 Mon, 28 Oct 2019 18:53:07 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>, 37933 <at> debbugs.gnu.org
Subject: Re: bug#37933: gst* plugins in non-default profile not found by
 webkitgtk browsers (e.g. epiphany)
In-Reply-To: <87mudnaike.fsf@HIDDEN>
References: <87mudnaike.fsf@HIDDEN>
User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2
 (x86_64-pc-linux-gnu)
Date: Mon, 28 Oct 2019 23:53:05 +0100
Message-ID: <87ftjctrce.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 37933
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Pierre Neidhardt <mail@HIDDEN> writes:

> Recipe that fails:
>
> --8<---------------cut here---------------start------------->8---
> guix remove gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good g=
st-plugins-ugly
> guix package -p foo -i gst-libav gst-plugins-bad gst-plugins-base gst-plu=
gins-good gst-plugins-ugly epiphany
> foo/bin/epiphany https://archive.org/details/guix-videos=20
> --8<---------------cut here---------------end--------------->8---
>
> Recipe that works
>
> --8<---------------cut here---------------start------------->8---
> guix package -i gst-libav gst-plugins-bad gst-plugins-base gst-plugins-go=
od gst-plugins-ugly epiphany
> foo/bin/epiphany https://archive.org/details/guix-videos=20
> --8<---------------cut here---------------end--------------->8---

This only works when you already have 'gstreamer' in the profile, right?

I don't think the first example can ever work short of wrapping the
executable?

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl23cVEACgkQoqBt8qM6
VPorAQf8CdnFBwnrUDa71lnvCijN2jDHL9H02WELi65/JRE7V/NpbLYqZFMA7Tu/
MAKEvxz3YHsO6mue+16d+cLK2DLFMkP69l0m7ZUi3+HmKr1DiWr3mdC+aFK7+RQs
0930lIaiMPLSTFrP35JX4Za5ZSkScr1WRvZQBTrMcODuJO/MRIQV026j7kRzUyNY
dQ/i2aCs735FT07qm5x3bHsSZMK7PE2xb1RKL3GY8ojc/ptg/j4zrlqEK5w3Eb1c
ZbS9uvE4FZBibVG9xsgoZAeOKqY9C0mJhrHIRqMVchTC+LY/RlKNdtn+OPqHD+p/
4cdgGLqqhxT94+Eknp9AXAMXMYQTiw==
=XnRQ
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37933; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Oct 2019 10:48:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 26 06:48:43 2019
Received: from localhost ([127.0.0.1]:39734 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iOJch-00083m-1t
	for submit <at> debbugs.gnu.org; Sat, 26 Oct 2019 06:48:43 -0400
Received: from lists.gnu.org ([209.51.188.17]:56857)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iOJcf-00083d-G4
 for submit <at> debbugs.gnu.org; Sat, 26 Oct 2019 06:48:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60697)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mail@HIDDEN>) id 1iOJce-0001h0-9h
 for bug-guix@HIDDEN; Sat, 26 Oct 2019 06:48:41 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1iOJcc-0006WU-KC
 for bug-guix@HIDDEN; Sat, 26 Oct 2019 06:48:39 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:34837)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1iOJcc-0006VM-E3
 for bug-guix@HIDDEN; Sat, 26 Oct 2019 06:48:38 -0400
X-Originating-IP: 92.169.151.76
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 95F1D1C0004
 for <bug-guix@HIDDEN>; Sat, 26 Oct 2019 10:48:34 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: bug-guix@HIDDEN
Subject: gst* plugins in non-default profile not found by webkitgtk browsers
 (e.g. epiphany)
Date: Sat, 26 Oct 2019 12:48:33 +0200
Message-ID: <87mudnaike.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 217.70.183.197
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Recipe that fails:

=2D-8<---------------cut here---------------start------------->8---
guix remove gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst=
-plugins-ugly
guix package -p foo -i gst-libav gst-plugins-bad gst-plugins-base gst-plugi=
ns-good gst-plugins-ugly epiphany
foo/bin/epiphany https://archive.org/details/guix-videos=20
=2D-8<---------------cut here---------------end--------------->8---

Recipe that works

=2D-8<---------------cut here---------------start------------->8---
guix package -i gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good=
 gst-plugins-ugly epiphany
foo/bin/epiphany https://archive.org/details/guix-videos=20
=2D-8<---------------cut here---------------end--------------->8---

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl20JIEACgkQm9z0l6S7
zH82Ywf+LY5fpN+Tn7xjyb9g7mYgjJo7dWsELsL4ylg0nDxztiyS5/J6rINhCswd
KRQX3q7kn4F6SPi6E4KfVhTpvADgEJmZGnYgDk1Zr8iXU9kp98YnZQ5q0Qk5UuOa
9Z0qynutr9GBe7+yEf31ufkdgqAH/6VWcCtUiZbDsIDgNN/wpFkxWLkbQi2KrdOj
B2PrluKxRqoZniRMvysf9iWK3fWWzpRMrfMKO0UQl5W+8tl/J+ok6yfp9NtuIL8J
irIv/BBU0lRob0Tgqt4Il2hBXe0qnlxNvzWtnZnXFsMPjn40ZxbeQstccR1c7zK8
ayb4riSRifUehyIbj2WI4uJWnzG++w==
=Im+5
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Pierre Neidhardt <mail@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#37933; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.