GNU bug report logs - #41743
gst123

Previous Next

Package: guix;

Reported by: Kyle Andrews <kyle.c.andrews <at> gmail.com>

Date: Sat, 6 Jun 2020 20:24:02 UTC

Severity: normal

To reply to this bug, email your comments to 41743 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Sat, 06 Jun 2020 20:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kyle Andrews <kyle.c.andrews <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 06 Jun 2020 20:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kyle Andrews <kyle.c.andrews <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: gst123 
Date: Sat, 06 Jun 2020 16:23:18 -0400
When I install gst123 and try to play an mp3 file no sound comes and I
see:

: Error: Your GStreamer installation is missing a plug-in.

This happens both when I use 'guix environment' and from my default
profile. In contrast, mpg123 had no trouble playing the file.




Information forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Sat, 06 Jun 2020 20:57:02 GMT) Full text and rfc822 format available.

Message #8 received at 41743 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Kyle Andrews <kyle.c.andrews <at> gmail.com>
Cc: 41743 <at> debbugs.gnu.org
Subject: Re: bug#41743: gst123
Date: Sat, 06 Jun 2020 22:55:55 +0200
[Message part 1 (text/plain, inline)]
Kyle,

Kyle Andrews 写道:
> When I install gst123 and try to play an mp3 file no sound comes 
> and I
> see:
>
> : Error: Your GStreamer installation is missing a plug-in.

Does adding ‘gst-plugins-bad’ to the profile fix it?  It let me 
play a random .mp3 file[0], but only without --pure.

Kind regards,

T G-R

[0]: 
https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_5MG.mp3
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Sun, 07 Jun 2020 00:41:01 GMT) Full text and rfc822 format available.

Message #11 received at 41743 <at> debbugs.gnu.org (full text, mbox):

From: Kyle Andrews <kyle.c.andrews <at> gmail.com>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 41743 <at> debbugs.gnu.org
Subject: Re: bug#41743: gst123
Date: Sat, 06 Jun 2020 20:40:00 -0400
Tobias Geerinckx-Rice writes:

> Kyle,
>
> Kyle Andrews 写道:
>> When I install gst123 and try to play an mp3 file no sound comes and
>> I
>> see:
>>
>> : Error: Your GStreamer installation is missing a plug-in.
>
> Does adding ‘gst-plugins-bad’ to the profile fix it?  It let me play a
> random .mp3 file[0], but only without --pure.
>
> Kind regards,
>
> T G-R
>
> [0]:
> https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_5MG.mp3

I tried adding all the gst packages I could think of to the environment,
but it still did not work. Here is what I ran:

guix environment gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"

Error: Your GStreamer installation is missing a plug-in.
=> file cannot be played and will be removed from playlist





Information forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Sun, 07 Jun 2020 01:20:02 GMT) Full text and rfc822 format available.

Message #14 received at 41743 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Kyle Andrews <kyle.c.andrews <at> gmail.com>
Cc: 41743 <at> debbugs.gnu.org
Subject: Re: bug#41743: gst123
Date: Sun, 07 Jun 2020 03:19:51 +0200
[Message part 1 (text/plain, inline)]
Kyle,

Kyle Andrews 写道:
> I tried adding all the gst packages I could think of to the 
> environment,
> but it still did not work. Here is what I ran:
>
> guix environment gst-plugins-base gst-plugins-bad 
> gst-plugins-good gst-plugins-ugly gst123 -- gst123 
> "/path/to/music-file.mp3"

Use ‘guix environment --ad-hoc’.  The command above doesn't add 
any of the packages to the environment, only their build 
dependencies.

I forgot about gst-plugins-base, maybe it suffices.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Wed, 10 Jun 2020 00:34:02 GMT) Full text and rfc822 format available.

Message #17 received at 41743 <at> debbugs.gnu.org (full text, mbox):

From: Kyle Andrews <kyle.c.andrews <at> gmail.com>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 41743 <at> debbugs.gnu.org
Subject: Re: bug#41743: gst123
Date: Tue, 09 Jun 2020 20:33:35 -0400
Tobias Geerinckx-Rice writes:

> Kyle,
>
> Kyle Andrews 写道:
>> I tried adding all the gst packages I could think of to the
>> environment,
>> but it still did not work. Here is what I ran:
>>
>> guix environment gst-plugins-base gst-plugins-bad gst-plugins-good
>> gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"
>
> Use ‘guix environment --ad-hoc’.  The command above doesn't add any of
> the packages to the environment, only their build dependencies.
>
> I forgot about gst-plugins-base, maybe it suffices.
>
> Kind regards,
>
> T G-R

Thanks for the tip. Unfortunately, I still see the error:

Error: Your GStreamer installation is missing a plug-in.
=> file cannot be played and will be removed from playlist

after running:

guix environment --ad-hoc gst-plugins-base gst-plugins-good
gst-plugins-bad gst-plugins-ugly gst123 -- gst123
~/path/to/music-file.mp3






Information forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Wed, 10 Jun 2020 16:30:02 GMT) Full text and rfc822 format available.

Message #20 received at 41743 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Kyle Andrews <kyle.c.andrews <at> gmail.com>
Cc: 41743 <at> debbugs.gnu.org
Subject: Re: bug#41743: gst123
Date: Wed, 10 Jun 2020 12:28:53 -0400
On Sat, Jun 06, 2020 at 04:23:18PM -0400, Kyle Andrews wrote:
> 
> When I install gst123 and try to play an mp3 file no sound comes and I
> see:
> 
> : Error: Your GStreamer installation is missing a plug-in.
> 
> This happens both when I use 'guix environment' and from my default
> profile. In contrast, mpg123 had no trouble playing the file.

You should run the program with `strace -f` to see exactly what file is
missing.

I wonder if it's a problem with alsa-lib:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40832




Information forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Wed, 10 Jun 2020 16:45:01 GMT) Full text and rfc822 format available.

Message #23 received at 41743 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <marius <at> gnu.org>
To: Kyle Andrews <kyle.c.andrews <at> gmail.com>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 41743 <at> debbugs.gnu.org
Subject: Re: bug#41743: gst123
Date: Wed, 10 Jun 2020 18:43:50 +0200
[Message part 1 (text/plain, inline)]
Kyle Andrews <kyle.c.andrews <at> gmail.com> writes:

> Tobias Geerinckx-Rice writes:
>
>> Kyle,
>>
>> Kyle Andrews 写道:
>>> I tried adding all the gst packages I could think of to the
>>> environment,
>>> but it still did not work. Here is what I ran:
>>>
>>> guix environment gst-plugins-base gst-plugins-bad gst-plugins-good
>>> gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"
>>
>> Use ‘guix environment --ad-hoc’.  The command above doesn't add any of
>> the packages to the environment, only their build dependencies.
>>
>> I forgot about gst-plugins-base, maybe it suffices.
>>
>> Kind regards,
>>
>> T G-R
>
> Thanks for the tip. Unfortunately, I still see the error:
>
> Error: Your GStreamer installation is missing a plug-in.
> => file cannot be played and will be removed from playlist
>
> after running:
>
> guix environment --ad-hoc gst-plugins-base gst-plugins-good
> gst-plugins-bad gst-plugins-ugly gst123 -- gst123
> ~/path/to/music-file.mp3

You also need 'gstreamer' in the environment to get the
GST_PLUGIN_SYSTEM_PATH variable, so that the plugins are actually
found.  A long-standing bug in Guix.  :-/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Mon, 29 Jun 2020 02:35:01 GMT) Full text and rfc822 format available.

Message #26 received at 41743 <at> debbugs.gnu.org (full text, mbox):

From: Kyle Andrews <kyle.c.andrews <at> gmail.com>
To: Marius Bakke <marius <at> gnu.org>
Cc: 41743 <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>
Subject: Re: bug#41743: gst123
Date: Sun, 28 Jun 2020 22:34:24 -0400
Marius Bakke writes:

> Kyle Andrews <kyle.c.andrews <at> gmail.com> writes:
>
>> Tobias Geerinckx-Rice writes:
>>
>>> Kyle,
>>>
>>> Kyle Andrews 写道:
>>>> I tried adding all the gst packages I could think of to the
>>>> environment,
>>>> but it still did not work. Here is what I ran:
>>>>
>>>> guix environment gst-plugins-base gst-plugins-bad gst-plugins-good
>>>> gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"
>>>
>>> Use ‘guix environment --ad-hoc’.  The command above doesn't add any of
>>> the packages to the environment, only their build dependencies.
>>>
>>> I forgot about gst-plugins-base, maybe it suffices.
>>>
>>> Kind regards,
>>>
>>> T G-R
>>
>> Thanks for the tip. Unfortunately, I still see the error:
>>
>> Error: Your GStreamer installation is missing a plug-in.
>> => file cannot be played and will be removed from playlist
>>
>> after running:
>>
>> guix environment --ad-hoc gst-plugins-base gst-plugins-good
>> gst-plugins-bad gst-plugins-ugly gst123 -- gst123
>> ~/path/to/music-file.mp3
>
> You also need 'gstreamer' in the environment to get the
> GST_PLUGIN_SYSTEM_PATH variable, so that the plugins are actually
> found.  A long-standing bug in Guix.  :-/

I still get the error with:

guix environment gstreamer gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst123 -- gst123 '/path/to/file.mp3'

Following Leo's advice, I also ran:

guix environment strace gstreamer gst-plugins-base gst-plugins-bad
gst-plugins-good gst-plugins-ugly gst123 -- strace -f gst123
'/path/to/file.mp3'

There were 3403 lines of output, which seems bigger than the Debian
pastebin will let me show, so I'm not sure how to share the whole
thing.

However, here is a list of references to the store in the output
produced with:

: cat $STRACEF_OUTPUT | grep -i -o '"/gnu/store/.*"' | uniq

https://paste.debian.net/hidden/14fe8b8b/

The last lines of output from strace -f looked like:

ioctl(1, TCGETS, 0x7ffff8747000)        = -1 ENOTTY (Inappropriate ioctl for device)
stat("/home/k/.terminfo", 0x76ac20)     = -1 ENOENT (No such file or directory)
stat("/gnu/store/5lc708bcni55ch6lfq30i8595v1xfchh-profile/share/terminfo", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/home/k/.guix-profile/share/terminfo", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/gnu/store/zzkly5rbfvahwqgcs7crz0ilpi7x5g5p-ncurses-6.2/share/terminfo", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
access("/gnu/store/5lc708bcni55ch6lfq30i8595v1xfchh-profile/share/terminfo/d/dumb", R_OK) = 0
openat(AT_FDCWD, "/gnu/store/5lc708bcni55ch6lfq30i8595v1xfchh-profile/share/terminfo/d/dumb", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0444, st_size=308, ...}) = 0
read(13, "\32\1\30\0\2\0\1\0\202\0\10\0dumb|80-column dumb "..., 32768) = 308
read(13, "", 28672)                     = 0
close(13)                               = 0
ioctl(2, TCGETS, 0x7ffff8747000)        = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(2, TCGETS, 0x7ffff8746f90)        = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig -icanon -echo ...}) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGTTOU {si_signo=SIGTTOU, si_code=SI_KERNEL} ---
--- stopped by SIGTTOU ---

Let me know if there is something else I could be looking for.

For now I'm resigned to just using mpg123 for mp3's instead which works
perfectly fine.




Information forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Mon, 29 Jun 2020 03:18:01 GMT) Full text and rfc822 format available.

Message #29 received at 41743 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Kyle Andrews <kyle.c.andrews <at> gmail.com>
Cc: 41743 <at> debbugs.gnu.org, Marius Bakke <marius <at> gnu.org>
Subject: Re: bug#41743: gst123
Date: Sun, 28 Jun 2020 23:17:05 -0400
On Sun, Jun 28, 2020 at 10:34:24PM -0400, Kyle Andrews wrote:
> There were 3403 lines of output, which seems bigger than the Debian
> pastebin will let me show, so I'm not sure how to share the whole
> thing.

Can you attach the output as a file? If it's too big you can compress it
with gzip or xz.




Information forwarded to bug-guix <at> gnu.org:
bug#41743; Package guix. (Sat, 25 Jul 2020 15:00:02 GMT) Full text and rfc822 format available.

Message #32 received at 41743 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <marius <at> gnu.org>
To: Kyle Andrews <kyle.c.andrews <at> gmail.com>
Cc: 41743 <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>
Subject: Re: bug#41743: gst123
Date: Sat, 25 Jul 2020 16:59:30 +0200
[Message part 1 (text/plain, inline)]
Kyle Andrews <kyle.c.andrews <at> gmail.com> writes:

> Marius Bakke writes:
>
>> Kyle Andrews <kyle.c.andrews <at> gmail.com> writes:
>>
>>> Tobias Geerinckx-Rice writes:
>>>
>>>> Kyle,
>>>>
>>>> Kyle Andrews 写道:
>>>>> I tried adding all the gst packages I could think of to the
>>>>> environment,
>>>>> but it still did not work. Here is what I ran:
>>>>>
>>>>> guix environment gst-plugins-base gst-plugins-bad gst-plugins-good
>>>>> gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"
>>>>
>>>> Use ‘guix environment --ad-hoc’.  The command above doesn't add any of
>>>> the packages to the environment, only their build dependencies.
>>>>
>>>> I forgot about gst-plugins-base, maybe it suffices.
>>>>
>>>> Kind regards,
>>>>
>>>> T G-R
>>>
>>> Thanks for the tip. Unfortunately, I still see the error:
>>>
>>> Error: Your GStreamer installation is missing a plug-in.
>>> => file cannot be played and will be removed from playlist
>>>
>>> after running:
>>>
>>> guix environment --ad-hoc gst-plugins-base gst-plugins-good
>>> gst-plugins-bad gst-plugins-ugly gst123 -- gst123
>>> ~/path/to/music-file.mp3
>>
>> You also need 'gstreamer' in the environment to get the
>> GST_PLUGIN_SYSTEM_PATH variable, so that the plugins are actually
>> found.  A long-standing bug in Guix.  :-/
>

> I still get the error with:
>
> guix environment gstreamer gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst123 -- gst123 '/path/to/file.mp3'
>
> Following Leo's advice, I also ran:
>
> guix environment strace gstreamer gst-plugins-base gst-plugins-bad
> gst-plugins-good gst-plugins-ugly gst123 -- strace -f gst123
> '/path/to/file.mp3'

I think you forgot to add '--ad-hoc' here, unless it was a copy-paste error?
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 324 days ago.

Previous Next


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